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, subsumesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmake, release, store, subsumessetHyperGraphpublic void addProjection(HGAbstractCompositeType.Projection p)
public void removeProjection(String name)
public Iterator<String> getDimensionNames()
HGCompositeTypeReturn 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 HGCompositeTypepublic HGProjection getProjection(String dimensionName)
HGCompositeTypeGet the projection function for a particular dimension.
getProjection in interface HGCompositeTypedimensionName - The name of the dimension.HGProjection instance.Copyright © 2015. All rights reserved.