org.hypergraphdb.type
Class HGAbstractCompositeType
java.lang.Object
org.hypergraphdb.type.HGAbstractType
org.hypergraphdb.type.HGAbstractCompositeType
- All Implemented Interfaces:
- HGGraphHolder, HGAtomType, HGCompositeType
public class HGAbstractCompositeType
- extends HGAbstractType
- implements HGCompositeType
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HGAbstractCompositeType
public HGAbstractCompositeType()
addProjection
public void addProjection(HGAbstractCompositeType.Projection p)
removeProjection
public void removeProjection(java.lang.String name)
getDimensionNames
public java.util.Iterator<java.lang.String> getDimensionNames()
- Description copied from interface:
HGCompositeType
Return an Iterator listing the names of all
dimensions of this composite type. A projection function can be obtained
through the getProjection method.
- Specified by:
getDimensionNames in interface HGCompositeType
getProjection
public HGProjection getProjection(java.lang.String dimensionName)
- Description copied from interface:
HGCompositeType
Get the projection function for a particular dimension.
- Specified by:
getProjection in interface HGCompositeType
- Parameters:
dimensionName - The name of the dimension.
- Returns:
- The
HGProjection instance.