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()
NodegetNodeName in interface Nodepublic void setNodeName(java.lang.String name)
NodesetNodeName in interface Nodepublic java.lang.String getID()
Nodepublic void setID(java.lang.String ID)
Nodepublic MyOriginalCell getCorrespondingCell()
getCorrespondingCell in interface MyOriginalElementpublic void setCorrespondingCell(MyOriginalCell correspondingCell)
setCorrespondingCell in interface MyOriginalElementpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic static void main(java.lang.String[] str)
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException