org.eclipse.etrice.generator.etricegen
Interface PortInstance

All Superinterfaces:
InstanceBase, InterfaceItemInstance
All Known Implementing Classes:
PortInstanceImpl

public interface PortInstance
extends InterfaceItemInstance

A representation of the model object 'Port Instance'.

The following features are supported:

See Also:
ETriceGenPackage.getPortInstance()
EMF generated code
EMF model element

Field Summary
 
Fields inherited from interface org.eclipse.etrice.generator.etricegen.InstanceBase
pathDelim
 
Method Summary
  getBindings()
          Returns the value of the 'Bindings' reference list.
 PortKind getKind()
          Returns the value of the 'Kind' attribute.
 Port getPort()
          Returns the value of the 'Port' reference.
 void setKind(PortKind value)
          Sets the value of the 'Kind' attribute.
 void setPort(Port value)
          Sets the value of the 'Port' reference.
 
Methods inherited from interface org.eclipse.etrice.generator.etricegen.InterfaceItemInstance
getInterfaceItem, getPeers, isRelay, isReplicated, isSimple
 
Methods inherited from interface org.eclipse.etrice.generator.etricegen.InstanceBase
getName, getNObjIDs, getObjId, getPath, getThreadId, setName, setObjId
 

Method Detail

getPort

Port getPort()
Returns the value of the 'Port' reference.

If the meaning of the 'Port' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Port' reference.
See Also:
setPort(Port), ETriceGenPackage.getPortInstance_Port()
EMF generated code
EMF model element

setPort

void setPort(Port value)
Sets the value of the 'Port' reference.

Parameters:
value - the new value of the 'Port' reference.
See Also:
getPort()
EMF generated code

getKind

PortKind getKind()
Returns the value of the 'Kind' attribute. The literals are from the enumeration PortKind.

If the meaning of the 'Kind' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Kind' attribute.
See Also:
PortKind, setKind(PortKind), ETriceGenPackage.getPortInstance_Kind()
EMF generated code
EMF model element

setKind

void setKind(PortKind value)
Sets the value of the 'Kind' attribute.

Parameters:
value - the new value of the 'Kind' attribute.
See Also:
PortKind, getKind()
EMF generated code

getBindings

 getBindings()
Returns the value of the 'Bindings' reference list. The list contents are of type BindingInstance. It is bidirectional and its opposite is 'Ports'.

If the meaning of the 'Bindings' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Bindings' reference list.
See Also:
ETriceGenPackage.getPortInstance_Bindings(), BindingInstance.getPorts()
EMF generated code
EMF model element
opposite="ports"