public class BasicLWPort extends Object implements LWPort, PropertyContainer
| Constructor and Description |
|---|
BasicLWPort()
Create a new port
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPortId()
Return the integer id of this port
|
Object |
getProperty(String key)
Return the property corresponding to
the given key, or null if no such property
exists.
|
Iterator |
propertyNames()
Return an iteration of the names of the properties
|
void |
setPortId(int id)
Set the integer id of this port.
|
void |
setProperty(String key,
Object value)
Set the property corresponding to
the given key.
|
public int getPortId()
public Object getProperty(String key)
getProperty in interface PropertyContainerpublic void setPortId(int id)
public Iterator propertyNames()
propertyNames in interface PropertyContainerpublic void setProperty(String key, Object value)
setProperty in interface PropertyContainerCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.