|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object i3.dragos.gm.core.proxy.GraphEntityClassProxy i3.dragos.gm.core.proxy.EdgeClassProxy
public class EdgeClassProxy
An EdgeClassProxy
delegates all method calls to the underlying
edge class except for those that access fields which are used after an edge
class has been deleted.
Field Summary |
---|
Fields inherited from class i3.dragos.gm.core.proxy.GraphEntityClassProxy |
---|
proxiedEntityClass |
Constructor Summary | |
---|---|
EdgeClassProxy(EdgeClass e)
Constructs a new wrapper for an edge class. |
Method Summary | |
---|---|
Cardinality |
getSourceCardinality()
Returns the cardinality for the source of the edge. |
GraphEntityClass |
getSourceClass()
Returns the graph element class for the source of the edge. |
Cardinality |
getTargetCardinality()
Returns the cardinality for the target of the edge. |
GraphEntityClass |
getTargetClass()
Returns the graph element class for the target of the edge. |
boolean |
isDirected()
Returns true if the edge is directed or false
if the direction of the edge does not matter. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface i3.dragos.gm.core.schema.GraphEntityClass |
---|
addSubClass, declareAttribute, equals, getAllDeclaredAttributes, getAllSubClasses, getAllSuperClasses, getAttribute, getDataSourceURL, getDeclaredAttributes, getDirectSubClasses, getDirectSuperClasses, getInternalIdentifier, getName, getWrappedGraphEntityClass, hasAttribute, hashCode, isAbstract, isSubClassOf, isSuperClassOf, removeSubClass, undeclareAllAttributes, undeclareAttribute, undeclareAttribute |
Methods inherited from interface i3.dragos.gm.core.schema.MetaAttributable |
---|
getAllMetaAttributes, getMetaAttribute, isMetaAttributeKeyReserved, isMetaAttributeSet, setMetaAttribute, unsetMetaAttribute |
Methods inherited from interface i3.dragos.gm.core.schema.ExistenceCheckable |
---|
checkExistence, checkExistenceOptional |
Constructor Detail |
---|
public EdgeClassProxy(EdgeClass e)
e
- The edge class to wrap.Method Detail |
---|
public Cardinality getSourceCardinality() throws DragosException
getSourceCardinality
in interface EdgeClass
DragosException
- if something goes wrong.public GraphEntityClass getSourceClass() throws DragosException
getSourceClass
in interface EdgeClass
DragosException
- if something goes wrong.public Cardinality getTargetCardinality() throws DragosException
getTargetCardinality
in interface EdgeClass
DragosException
- if something goes wrong.public GraphEntityClass getTargetClass() throws DragosException
getTargetClass
in interface EdgeClass
DragosException
- if something goes wrong.public boolean isDirected() throws DragosException
true
if the edge is directed or false
if the direction of the edge does not matter.
isDirected
in interface EdgeClass
true
if the edge is directed or false
if the direction of the edge does not matter.
DragosException
- if something goes wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |