public class NodeProxy
extends java.lang.Object
| Constructor and Description |
|---|
NodeProxy(Node node,
org.shiwa.fgi.iwir.AbstractPort abstractPort)
Instantiates a new node proxy.
|
NodeProxy(java.lang.String name,
int nodeNumber,
boolean attached,
int type,
java.lang.String externalNode)
Instantiates a new node proxy.
|
| Modifier and Type | Method and Description |
|---|---|
org.shiwa.fgi.iwir.AbstractPort |
getAbstractPort()
Gets the abstract port.
|
java.lang.String |
getFrom()
Gets the from.
|
java.lang.String |
getName()
Gets the name.
|
Node |
getNode()
Gets the node.
|
int |
getNodeNumber()
Gets the node number.
|
java.lang.String |
getTo()
Gets the to.
|
int |
getType()
Gets the type.
|
boolean |
isAttached()
Checks if is attached.
|
void |
setAttached(boolean attached)
Sets the attached.
|
void |
setFrom(java.lang.String from)
Sets the from.
|
void |
setName(java.lang.String name)
Sets the name.
|
void |
setNodeNumber(int nodeNumber)
Sets the node number.
|
void |
setTo(java.lang.String to)
Sets the to.
|
void |
setType(int type)
Sets the type.
|
public NodeProxy(java.lang.String name,
int nodeNumber,
boolean attached,
int type,
java.lang.String externalNode)
name - the namenodeNumber - the node numberattached - the attachedtype - the typeexternalNode - the external nodepublic NodeProxy(Node node, org.shiwa.fgi.iwir.AbstractPort abstractPort)
node - the nodeabstractPort - the abstract portpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the new namepublic int getNodeNumber()
public void setNodeNumber(int nodeNumber)
nodeNumber - the new node numberpublic boolean isAttached()
public void setAttached(boolean attached)
attached - the new attachedpublic java.lang.String getFrom()
public void setFrom(java.lang.String from)
from - the new frompublic java.lang.String getTo()
public void setTo(java.lang.String to)
to - the new topublic int getType()
public void setType(int type)
type - the new typepublic Node getNode()
public org.shiwa.fgi.iwir.AbstractPort getAbstractPort()