|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides a top-level abstraction of an edge in an object graph. Each edge represents an object in the graph where it is either a type of link or object reference.
When an edge represents an instance of a type of link it can take on the form of any of the types of predefined (bidirectional) binary links. When an edge represents a type of object reference it can take on the form of any of the types of predefined (unidirectional) object references.
The way in which this versitility is realized is each edge can hold at least one, and up to two, edge references. An edge reference can in turn hold either an object identifier or version foreign key as the query key. However, no one edge reference can hold zero or two keys.
Field Summary | |
static String |
EXCLUDED
Label for the attribute; The flag that indicates whether or not an edge is to be excluded from the object graph, and if so all nodes playing the role of neighbor to the origin. |
static String |
GRAPH
Label for the attribute. |
static String |
ID
Label for the attribute. |
static String |
INFO
Label for the attribute. |
static String |
NEIGHBOR_ROLE
Label for the attribute. |
static String |
ORIGIN_ROLE
Label for the attribute. |
static String |
ROLE_AOBJECT_REF
Label for the attribute. |
static String |
ROLE_BOBJECT_REF
Label for the attribute. |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.fc.Link |
ALL_ROLES, BOTH_ROLES, ROLE_AOBJECT_ROLE, ROLE_BOBJECT_ROLE |
Method Summary | |
ObjectReference |
getGraph()
Gets the object for the association that plays role: GRAPH. |
String |
getId()
Gets the value of the attribute: ID. |
ObjectInfo |
getInfo()
Gets the object for the association that plays role: INFO. |
GraphNodeModel |
getNeighbor()
Gets the object for the association that plays role: NEIGHBOR_ROLE. |
GraphNodeModel |
getOrigin()
Gets the object for the association that plays role: ORIGIN_ROLE. |
WTReference |
getRoleAObjectRef()
Supported API: false |
WTReference |
getRoleBObjectRef()
Supported API: false |
boolean |
isExcluded()
Supported API: false |
void |
setExcluded(Boolean value)
Supported API: false |
void |
setGraph(ObjectReference a_Graph)
Sets the object for the association that plays role: GRAPH. |
void |
setId(String a_Id)
Sets the value of the attribute: ID. |
void |
setInfo(ObjectInfo a_Info)
Sets the object for the association that plays role: INFO. |
void |
setNeighbor(GraphNodeModel neighbor)
Sets the object for the association that plays role: NEIGHBOR_ROLE. |
void |
setOrigin(GraphNodeModel origin)
Sets the object for the association that plays role: ORIGIN_ROLE. |
void |
setRoleAObjectRef(WTReference a_RoleAObjectRef)
Supported API: false |
void |
setRoleBObjectRef(WTReference a_RoleBObjectRef)
Supported API: false |
Methods inherited from interface wt.fc.Persistable |
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo |
Methods inherited from interface wt.fc.ObjectMappable |
readExternal, writeExternal |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo, getConceptualClassname |
Methods inherited from interface wt.fc.Link |
appendJoinCriteria, appendRoleCriteria, getAllObjects, getJoinValues, getLinkInfo, getObject, getOtherObject, getRole, getRoleAObject, getRoleAObjectId, getRoleBObject, getRoleBObjectId, getRoleIdName, getRoleObject, setRoleAObject, setRoleBObject, setRoleObject |
Methods inherited from interface wt.util.graph.GraphEdgeModel |
clone, equals |
Field Detail |
public static final String ORIGIN_ROLE
public static final String NEIGHBOR_ROLE
public static final String ID
public static final String EXCLUDED
public static final String ROLE_AOBJECT_REF
public static final String ROLE_BOBJECT_REF
public static final String INFO
public static final String GRAPH
Method Detail |
public GraphNodeModel getOrigin()
public void setOrigin(GraphNodeModel origin)
origin
- public GraphNodeModel getNeighbor()
public void setNeighbor(GraphNodeModel neighbor)
neighbor
- public String getId()
public void setId(String a_Id) throws WTPropertyVetoException
a_Id
-
WTPropertyVetoException
public ObjectInfo getInfo()
public void setInfo(ObjectInfo a_Info)
a_Info
- public ObjectReference getGraph()
public void setGraph(ObjectReference a_Graph) throws WTPropertyVetoException
a_Graph
-
WTPropertyVetoException
public WTReference getRoleAObjectRef()
getRoleAObjectRef
in interface Link
public void setRoleAObjectRef(WTReference a_RoleAObjectRef)
setRoleAObjectRef
in interface Link
a_RoleAObjectRef
- The role A object for this Link.public WTReference getRoleBObjectRef()
getRoleBObjectRef
in interface Link
public void setRoleBObjectRef(WTReference a_RoleBObjectRef)
setRoleBObjectRef
in interface Link
a_RoleBObjectRef
- The role A object for this Link.public void setExcluded(Boolean value)
value
- public boolean isExcluded()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |