public class NodeImpl extends java.lang.Object implements Node
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name |
Constructor and Description |
---|
NodeImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
MyOriginalCell |
getCorrespondingCell() |
java.lang.String |
getID()
returns the id of a node
|
java.lang.String |
getNodeName()
returns the name of a node
|
static void |
main(java.lang.String[] str) |
void |
setCorrespondingCell(MyOriginalCell correspondingCell) |
void |
setID(java.lang.String ID)
sets the id of a node
|
void |
setNodeName(java.lang.String name)
sets the name of a node
|
public java.lang.String getNodeName()
Node
getNodeName
in interface Node
public void setNodeName(java.lang.String name)
Node
setNodeName
in interface Node
public java.lang.String getID()
Node
public void setID(java.lang.String ID)
Node
public MyOriginalCell getCorrespondingCell()
getCorrespondingCell
in interface MyOriginalElement
public void setCorrespondingCell(MyOriginalCell correspondingCell)
setCorrespondingCell
in interface MyOriginalElement
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public static void main(java.lang.String[] str) throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException