public class HGAbstractCompositeType extends HGAbstractType implements HGCompositeType
Represents an abstract type (can't be instantiated) that has some properties - modeled after and mainly used to represent an abstract Java bean.
Modifier and Type | Class and Description |
---|---|
static class |
HGAbstractCompositeType.Projection |
Constructor and Description |
---|
HGAbstractCompositeType() |
Modifier and Type | Method and Description |
---|---|
void |
addProjection(HGAbstractCompositeType.Projection p) |
Iterator<String> |
getDimensionNames()
Return an
Iterator listing the names of all
dimensions of this composite type. |
HGProjection |
getProjection(String dimensionName)
Get the projection function for a particular dimension.
|
void |
removeProjection(String name) |
make, release, setHyperGraph, store, subsumes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
make, release, store, subsumes
setHyperGraph
public void addProjection(HGAbstractCompositeType.Projection p)
public void removeProjection(String name)
public Iterator<String> getDimensionNames()
HGCompositeType
Return an Iterator
listing the names of all
dimensions of this composite type. A projection function can be obtained
through the getProjection
method.
getDimensionNames
in interface HGCompositeType
public HGProjection getProjection(String dimensionName)
HGCompositeType
Get the projection function for a particular dimension.
getProjection
in interface HGCompositeType
dimensionName
- The name of the dimension.HGProjection
instance.Copyright © 2015. All rights reserved.