|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.sunrise.api.Port
public abstract class Port
A port is a Data-Flow-Element (DFE) in a SPR. Ports belong to parents and can be connected with Assignments.
| Constructor Summary | |
|---|---|
Port(String name)
Creates a new port with the given name. |
|
| Method Summary | |
|---|---|
String |
getExpressionSegmentString(String tag)
Gets the runtime value of an expression segment. |
String |
getFullName()
Gets a full name of the port 'parent_name.port_name'. |
String |
getName()
Gets the name of the port. |
protected ISerializableType |
getSerializableType(Object value)
Gets the serializable type of the port. |
SPRComponent |
getSPRComponent()
Gets the parent to which this port belongs. |
protected ISerializableType |
getWrappedValue()
Gets the wrapped serializable value of the port. |
boolean |
hasSameDataAs(Object obj)
|
boolean |
hasValue()
Returns true if the value of the port is not null. |
protected void |
setInternalValue(Object value)
Sets the port value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Port(String name)
name - The name of the port. Must be unique in it's parent.| Method Detail |
|---|
public String getName()
public boolean hasValue()
true if the value of the port is not null.
true if the value of the port is not null.public SPRComponent getSPRComponent()
public String getFullName()
protected ISerializableType getSerializableType(Object value)
value - The value to wrap. Has to be convertible to an ISerializableType.
protected void setInternalValue(Object value)
value - The new value. Can be null. But if the value is not null, it has to be convertible to an
ISerializableType.protected ISerializableType getWrappedValue()
public boolean hasSameDataAs(Object obj)
hasSameDataAs in interface com.kuka.common.IDataEquatablepublic String getExpressionSegmentString(String tag)
getExpressionSegmentString in interface IExpressionSegmenttag - An identifier which specifies the requested value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||