|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.primordion.xholon.base.PortInterface
A port interface is either a provided or a required interface for one or more ports.
| Field Summary |
| Fields inherited from interface org.primordion.xholon.base.IPortInterface |
SIGNAL_ID_NOT_FOUND, SIGNAL_NAME_NOT_FOUND |
| Constructor Summary | |
PortInterface()
|
|
| Method Summary | |
int[] |
getInterface()
Get the provided or required interface of this port. |
java.lang.String[] |
getInterfaceNames()
Get the names of the signals in the provided or required interface of this port. |
int |
getSignalId(java.lang.String name)
Get the ID of an interface signal, given its name. |
java.lang.String |
getSignalName(int id)
Get the name of an interface signal, given its ID. |
int |
getSize()
Get number of signals in this provided or required interface. |
void |
setInterface(int[] nterface)
Set the provided or required interface of this port. |
void |
setInterfaceNames(java.lang.String[] nterfaceNames)
Set the names of the signals in the provided or required interface of this port. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PortInterface()
| Method Detail |
public int[] getInterface()
IPortInterface
getInterface in interface IPortInterfacepublic void setInterface(int[] nterface)
IPortInterface
setInterface in interface IPortInterfacenterface - An array of zero or more signal IDs.public java.lang.String[] getInterfaceNames()
IPortInterface
getInterfaceNames in interface IPortInterfacepublic void setInterfaceNames(java.lang.String[] nterfaceNames)
IPortInterface
setInterfaceNames in interface IPortInterfacenterfaceNames - An array of zero or more signal names.
These should be in the same order as the corresponding signal IDs used in setInterface().public int getSignalId(java.lang.String name)
IPortInterface
getSignalId in interface IPortInterfacename - The name of a signal.
public java.lang.String getSignalName(int id)
IPortInterface
getSignalName in interface IPortInterfaceid - A signal ID.
public int getSize()
IPortInterface
getSize in interface IPortInterface
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||