Class DirectedEdgeImpl1
java.lang.Object
info.oais.implementation.infomodel.poss1RepInfo.possRepInfoNetwork.DirectedEdgeImpl1
- All Implemented Interfaces:
 DirectedEdge,Serializable
public class DirectedEdgeImpl1 extends Object implements DirectedEdge, Serializable
Each edge has exactly one Source Vertex and one Target Vertex.
- Since:
 - 06-Sep-2021 15:59:45
 - Version:
 - 1.0
 - Author:
 - David
 - See Also:
 - Serialized Form
 
- 
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUIDTo be used when object is serializedVertexsourceVertexInternal value of the sourceVertex.VertextargetVertexInternal value of the targeteVertex.StringtypeInternal value of the type. - 
Constructor Summary
Constructors Constructor Description DirectedEdgeImpl1() - 
Method Summary
Modifier and Type Method Description VertexgetSourceVertex()Returns the Vertex from which the Edge starts.VertexgetTargetVertex()Returns the Vertex at which the Edge ends.StringgetType()Returns the type associated with the Edge.voidsetSourceVertex(Vertex ver)Set the source Vertex for this Edge.voidsetTargetVertex(Vertex ver)Set the target Vertex for this Edge.voidsetType(String type)Set the type associated with this Edge. 
- 
Field Details
- 
serialVersionUID
private static final long serialVersionUIDTo be used when object is serialized- See Also:
 - Constant Field Values
 
 - 
sourceVertex
Internal value of the sourceVertex. - 
targetVertex
Internal value of the targeteVertex. - 
type
Internal value of the type. 
 - 
 - 
Constructor Details
- 
DirectedEdgeImpl1
public DirectedEdgeImpl1() 
 - 
 - 
Method Details
- 
getSourceVertex
Returns the Vertex from which the Edge starts.- Specified by:
 getSourceVertexin interfaceDirectedEdge- Returns:
 - sourceVertex The originating end of the Edge i.e. the Edge goes from the source to the target.
 
 - 
setSourceVertex
Set the source Vertex for this Edge.- Specified by:
 setSourceVertexin interfaceDirectedEdge- Parameters:
 ver- The source Vertex for this edge.
 - 
getTargetVertex
Returns the Vertex at which the Edge ends.- Specified by:
 getTargetVertexin interfaceDirectedEdge- Returns:
 - tergetVertex The target end of the Edge i.e. the Edge goes from the source to the target.
 
 - 
setTargetVertex
Set the target Vertex for this Edge.- Specified by:
 setTargetVertexin interfaceDirectedEdge- Parameters:
 ver- The target Vertex for this edge.
 - 
getType
Returns the type associated with the Edge.- Specified by:
 getTypein interfaceDirectedEdge- Returns:
 - String The type of association the Edge represents.
 
 - 
setType
Set the type associated with this Edge.- Specified by:
 setTypein interfaceDirectedEdge- Parameters:
 type- The type for this Edge.
 
 -