|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RelationEnd
The RelationEnd
interface represents the end of a n-ary relation
which is connected to a particular graph element.
Method Summary | |
---|---|
Relation |
getRelation()
Returns the relation the relation end belongs to. |
RelationEndClass |
getRelationEndClass()
Returns the relation end's type. |
GraphEntity |
relatesTo()
Returns the graph element the relation end is connected to. |
void |
relateTo(GraphEntity g)
Sets the graph element the relation end is connected to. |
Methods inherited from interface i3.dragos.gm.core.GraphEntity |
---|
equals, getAdjacentGraphEntities, getAdjacentRelations, getAdjacentRelations, getAllValidAttributeValues, getAttributeValue, getDataSourceURL, getEdges, getEdges, getGraphEntityClass, getInternalIdentifier, getParent, getRelationEnds, getRelationEnds, getRelationEnds, getWrappedGraphEntity, hashCode, isAttributeValid, isIncident, isIncident, putAttributeValue, setAttributeInvalid |
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 |
Method Detail |
---|
RelationEndClass getRelationEndClass() throws DragosException
DragosException
- if something went wrong.GraphEntity relatesTo() throws DragosException
null
)
DragosException
- if something went wrong.void relateTo(GraphEntity g) throws EntityNotFoundException, DragosException
g
- The graphelement to connect to (may be null
).
EntityNotFoundException
- if the target was not
null
and could not be found.
DragosException
- if something went wrong.Relation getRelation() throws DragosException
DragosException
- if something went wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |