org.hypergraphdb.type
Interface HGCompositeType

All Superinterfaces:
HGAtomType, HGGraphHolder
All Known Implementing Classes:
HGAbstractCompositeType, JavaAbstractBinding, JavaBeanBinding, JavaObjectBinding, RecordType, SlotType

public interface HGCompositeType
extends HGAtomType

A HGCompositeType represents a HyperGraph type with several dimensions. Each dimension has a name and is represented by a HGProjection.

Author:
Borislav Iordanov

Method Summary
 java.util.Iterator<java.lang.String> getDimensionNames()
          Return an Iterator listing the names of all dimensions of this composite type.
 HGProjection getProjection(java.lang.String dimensionName)
          Get the projection function for a particular dimension.
 
Methods inherited from interface org.hypergraphdb.type.HGAtomType
make, release, store, subsumes
 
Methods inherited from interface org.hypergraphdb.HGGraphHolder
setHyperGraph
 

Method Detail

getDimensionNames

java.util.Iterator<java.lang.String> getDimensionNames()

Return an Iterator listing the names of all dimensions of this composite type. A projection function can be obtained through the getProjection method.


getProjection

HGProjection getProjection(java.lang.String dimensionName)

Get the projection function for a particular dimension.

Parameters:
dimensionName - The name of the dimension.
Returns:
The HGProjection instance.