|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object i3.dragos.gm.core.id.IdentifierTool
public class IdentifierTool
Utility class for creating IDs for instances of GraphEntity
,
GraphEntityClass
and Attribute
.
Constructor Summary | |
---|---|
IdentifierTool()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IdentifierTool()
Method Detail |
---|
public static GraphEntityID createGraphEntityID(GraphEntity ge) throws DragosException
GraphEntityClassID
for the given
GraphEntityClass
instance.
ge
- the graph entity class the ID is needed for.
DragosException
- if something went wrong.public static GraphID createGraphID(Graph ge) throws DragosException
GraphID
for the given Graph
instance.
ge
- the graph the ID is needed for.
DragosException
- if something went wrong.public static NodeID createNodeID(Node ge) throws DragosException
NodeID
for the given Node
instance.
ge
- the node the ID is needed for.
DragosException
- if something went wrong.public static EdgeID createEdgeID(Edge ge) throws DragosException
EdgeID
for the given Edge
instance.
ge
- the edge the ID is needed for.
DragosException
- if something went wrong.public static RelationID createRelationID(Relation ge) throws DragosException
RelationID
for the given Relation
instance.
ge
- the relation the ID is needed for.
DragosException
- if something went wrong.public static RelationEndID createRelationEndID(RelationEnd ge) throws DragosException
RelationEndID
for the given RelationEnd
instance.
ge
- the relation end the ID is needed for.
DragosException
- if something went wrong.public static GraphEntityClassID createGraphEntityClassID(GraphEntityClass gec) throws DragosException
GraphEntityClassID
for the given
GraphEntityClass
instance.
gec
- the graph entity class the ID is needed for.
DragosException
- if something went wrong.public static GraphClassID createGraphClassID(GraphClass gec) throws DragosException
GraphClassID
for the given GraphClass
instance.
gec
- the graph class the ID is needed for.
DragosException
- if something went wrong.public static NodeClassID createNodeClassID(NodeClass gec) throws DragosException
NodeClassID
for the given NodeClass
instance.
gec
- the node class the ID is needed for.
DragosException
- if something went wrong.public static EdgeClassID createEdgeClassID(EdgeClass gec) throws DragosException
EdgeClassID
for the given EdgeClass
instance.
gec
- the edge class the ID is needed for.
DragosException
- if something went wrong.public static RelationClassID createRelationClassID(RelationClass gec) throws DragosException
RelationClassID
for the given RelationClass
instance.
gec
- the relation class the ID is needed for.
DragosException
- if something went wrong.public static RelationEndClassID createRelationEndClassID(RelationEndClass gec) throws DragosException
RelationEndClassID
for the given
RelationEndClass
instance.
gec
- the relation end class the ID is needed for.
DragosException
- if something went wrong.public static AttributeID createAttributeID(Attribute att) throws DragosException
AttributeID
for the given Attribute
instance.
att
- the attribute the ID is needed for.
DragosException
- if something went wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |