Package org.goplanit.utils.graph
Interface GraphEntity
-
- All Superinterfaces:
Comparable<IdAble>
,ExternalIdAble
,IdAble
,ManagedId
- All Known Subinterfaces:
CentroidVertex
,ConjugateConnectoidEdge
,ConjugateConnectoidNode
,ConjugateConnectoidSegment
,ConjugateDirectedEdge
,ConjugateDirectedVertex
,ConjugateEdge
,ConjugateEdgeSegment
,ConjugateLink
,ConjugateLinkSegment
,ConjugateNode
,ConjugateVertex
,ConnectoidEdge
,ConnectoidSegment
,DirectedEdge
,DirectedVertex
,Edge
,EdgeSegment
,Link
,LinkSegment
,MacroscopicLink
,MacroscopicLinkSegment
,Node
,ServiceLeg
,ServiceLegSegment
,ServiceNode
,Vertex
- All Known Implementing Classes:
CentroidVertexImpl
,ConjugateConnectoidEdgeImpl
,ConjugateConnectoidNodeImpl
,ConjugateConnectoidSegmentImpl
,ConjugateDirectedEdgeImpl
,ConjugateDirectedVertexImpl
,ConjugateEdgeImpl
,ConjugateEdgeSegmentImpl
,ConjugateLinkImpl
,ConjugateLinkSegmentImpl
,ConjugateNodeImpl
,ConjugateVertexImpl
,ConnectoidEdgeImpl
,ConnectoidSegmentImpl
,DirectedEdgeImpl
,DirectedVertexImpl
,EdgeImpl
,EdgeSegmentImpl
,GraphEntityImpl
,LinkImpl
,LinkSegmentBase
,MacroscopicLinkImpl
,MacroscopicLinkSegmentImpl
,NodeImpl
,ServiceLegImpl
,ServiceLegSegmentImpl
,ServiceNodeImpl
,VertexImpl
public interface GraphEntity extends ExternalIdAble, ManagedId
Placeholder interface for all graph entities. Each graph entity's internal id cannot be directly set but it can be recreated if this is required.- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GraphEntity
deepClone()
An id entity should always support a deep copy, i.e., all "owned" members will be deep copied when a clone of this instance is created via this call.GraphEntity
shallowClone()
Create a shallow copy of this entity-
Methods inherited from interface org.goplanit.utils.id.ExternalIdAble
appendExternalId, appendExternalId, getExternalId, getIdsAsString, getSplitExternalId, getSplitExternalId, getXmlId, hasExternalId, hasXmlId, setExternalId, setXmlId, setXmlId
-
Methods inherited from interface org.goplanit.utils.id.IdAble
compareTo, getId, idEquals, idHashCode
-
Methods inherited from interface org.goplanit.utils.id.ManagedId
getIdClass, recreateManagedIds, resetChildManagedIdEntities
-
-
-
-
Method Detail
-
shallowClone
GraphEntity shallowClone()
Create a shallow copy of this entity- Specified by:
shallowClone
in interfaceIdAble
- Returns:
- shallow copy of entity
-
deepClone
GraphEntity deepClone()
An id entity should always support a deep copy, i.e., all "owned" members will be deep copied when a clone of this instance is created via this call. To be used with caution if not called by managed id container related code
-
-