Interface Vertex
- All Superinterfaces:
RootVertex
- All Known Implementing Classes:
VertexImpl1
public interface Vertex extends RootVertex
A Vertex points to zero or more other Vertexs (sic), and it is pointed to by at
least one other Vertex, unless it is the RootVertex. The VertexType tells one
whether the the Vertexs pointed to should be taken together or are alternatives.
A Vertex may have an associated RepresentationInformationObject.
- Since:
- 06-Sep-2021 15:59:47
- Version:
- 1.0
- Author:
- David
-
Field Summary
Fields Modifier and Type Field Description static BaseGroup
m_vertexType
The VertexType is RepInfoGroup or one of its sub-types. -
Method Summary
Modifier and Type Method Description ArrayList<DirectedEdge>
getInwardEdges()
Returns an ArrayList of Edges which end at this VertexArrayList<DirectedEdge>
getOutwardEdges()
Returns an ArrayList of Edges which start at this VertexRepInfoId
getRepInfoId()
Return the RepInfoId for the Vertex - or null.BaseGroup
getVertexType()
Get the VertexType - a subtype of RepInfoGroup.void
setRepInfoId(RepInfoId riid)
Set the RepInfoId for the Vertex.void
setVertexType(BaseGroup rig)
Set the VertexType - a subtype of RepInfoGroup..Methods inherited from interface info.oais.interfaces.infomodel.poss1RepInfo.possRepInfoNetwork.RootVertex
isAcyclic
-
Field Details
-
m_vertexType
The VertexType is RepInfoGroup or one of its sub-types. If it is an OrGroup then any of the available Edges may be followed, but if it is an AndGroup then all the associated Edges must be followed.
-
-
Method Details
-
getInwardEdges
ArrayList<DirectedEdge> getInwardEdges()Returns an ArrayList of Edges which end at this Vertex- Returns:
- inwardEdges The ArrayList of Edges which end at this Vertex
-
getOutwardEdges
ArrayList<DirectedEdge> getOutwardEdges()Returns an ArrayList of Edges which start at this Vertex- Returns:
- outwardEdges The ArrayList of Edges which start at this vertex.
-
getRepInfoId
RepInfoId getRepInfoId()Return the RepInfoId for the Vertex - or null.- Returns:
- The RepInfoId for the Vertex - or null.
-
setRepInfoId
Set the RepInfoId for the Vertex.- Parameters:
riid
- The RepInfoId for the Vertex
-
getVertexType
BaseGroup getVertexType()Get the VertexType - a subtype of RepInfoGroup.- Returns:
- The VertexType - a subtype of RepInfoGroup.
-
setVertexType
Set the VertexType - a subtype of RepInfoGroup..- Parameters:
rig
- The VertexType - a subtype of RepInfoGroup.
-