public class TopoVertex
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
ID |
protected TopoVertexType |
type |
Constructor and Description |
---|
TopoVertex(TopoVertexType type) |
TopoVertex(TopoVertexType type,
java.lang.String ID) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getID()
Return topo vertex ID.
|
TopoVertexType |
getType()
Return topo vertex type.
|
int |
hashCode() |
void |
setID(java.lang.String ID)
Set topo vertex ID.
|
void |
setType(TopoVertexType type)
Set topo vertex type.
|
protected java.lang.String ID
protected TopoVertexType type
public TopoVertex(TopoVertexType type)
public TopoVertex(TopoVertexType type, java.lang.String ID)
public java.lang.String getID()
public void setID(java.lang.String ID)
ID
- topo vertex ID.public TopoVertexType getType()
public void setType(TopoVertexType type)
type
- topo vertex type.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object