public class PortDescriptor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
canInput |
protected boolean |
canOutput |
protected PortType |
type |
Constructor and Description |
---|
PortDescriptor() |
PortDescriptor(int id) |
Modifier and Type | Method and Description |
---|---|
boolean |
canInput() |
boolean |
canOutput() |
int |
getData() |
PortType |
getType() |
void |
setCanInput(boolean canInput) |
void |
setCanOutput(boolean canOutput) |
void |
setType(PortType type) |
java.lang.String |
toString() |
protected boolean canOutput
protected boolean canInput
protected PortType type
public PortDescriptor()
public PortDescriptor(int id)
public boolean canInput()
public boolean canOutput()
public PortType getType()
public int getData()
public java.lang.String toString()
toString
in class java.lang.Object
public void setCanOutput(boolean canOutput)
public void setCanInput(boolean canInput)
public void setType(PortType type)