|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A PortDenotation is a meta-level class which encapusates
the rules about incoming and outgoing connections to a Port.
While a Port maintains an identifier unique to its
Node owner, a PortDenotation maintains and returns
a name which describes its connection role.
Port| Field Summary | |
static int |
PORTDENOTATION_FLAG_INPUT
Flags that define properties of this port. |
static int |
PORTDENOTATION_FLAG_OUTPUT
Flags that define properties of this port. |
| Fields inherited from interface com.tensegrity.generic.attribute.AttributableOnSet |
TREE_SUBSET_POSTFIX |
| Method Summary | |
PortDenotation |
deepCopy()
Returns a deep independent copy of this PortDenoation
object. |
int |
getInputAcceptanceLevel()
|
int |
getInputCardinality()
Returns the input cardinality of the port. 0 means unlimited. |
java.lang.String |
getName()
Returns the name for the PortDenotation. |
int |
getOutputAcceptanceLevel()
|
int |
getOutputCardinality()
Returns the output cardinality of the port. 0 means unlimited. |
boolean |
isHierarchicalPort()
Returns a boolean that indicates whether the
Port is visible within a hierarchy of Graph
and Subgraph objects or if it is only visible in the
context of a single Graph or Subgraph. |
boolean |
isInputPort()
Returns true if the port can be used as an input port. |
boolean |
isOutputPort()
Returns true if the port can be used as an output port. |
| Methods inherited from interface com.tensegrity.generic.attribute.AttributableOnSet |
addAttributableOnSetListener, areAttributableEventsEnabled, disableAttributableEvents, enableAttributableEvents, getAttributes, getAttributesTree, removeAttributableOnSetListener, setAttributes, setAttributesTree |
| Methods inherited from interface com.tensegrity.generic.attribute.Attributable |
getAttribute, getAttributeType, getAttributeValue, setAttribute, setAttributeValue |
| Field Detail |
public static final int PORTDENOTATION_FLAG_INPUT
public static final int PORTDENOTATION_FLAG_OUTPUT
| Method Detail |
public java.lang.String getName()
PortDenotation. This name is also
taken as name for the Port the PortDenotation
is assigned to.
PortDenoationpublic boolean isHierarchicalPort()
boolean that indicates whether the
Port is visible within a hierarchy of Graph
and Subgraph objects or if it is only visible in the
context of a single Graph or Subgraph.
Port is
visible in the complete hierarchy of Graph and
Subgraph objects or not.public boolean isInputPort()
true if the port can be used as an input port.
true if the port can be used as an input port.public boolean isOutputPort()
true if the port can be used as an output port.
true if the port can be used as an output port.public int getInputCardinality()
public int getOutputCardinality()
public int getInputAcceptanceLevel()
public int getOutputAcceptanceLevel()
public PortDenotation deepCopy()
PortDenoation
object.
PortDenoation
object.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||