org.eclipse.etrice.generator.etricegen.impl
Class PortInstanceImpl

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.etrice.generator.etricegen.impl.InstanceBaseImpl
          extended by org.eclipse.etrice.generator.etricegen.impl.InterfaceItemInstanceImpl
              extended by org.eclipse.etrice.generator.etricegen.impl.PortInstanceImpl
All Implemented Interfaces:
InstanceBase, InterfaceItemInstance, PortInstance

public class PortInstanceImpl
extends InterfaceItemInstanceImpl
implements PortInstance

An implementation of the model object 'Port Instance'.

The following features are implemented:

EMF generated code

Field Summary
protected   bindings
          The cached value of the 'Bindings' reference list.
protected  PortKind kind
          The cached value of the 'Kind' attribute.
protected static PortKind KIND_EDEFAULT
          The default value of the 'Kind' attribute.
protected  Port port
          The cached value of the 'Port' reference.
 
Fields inherited from class org.eclipse.etrice.generator.etricegen.impl.InterfaceItemInstanceImpl
peers
 
Fields inherited from class org.eclipse.etrice.generator.etricegen.impl.InstanceBaseImpl
name, NAME_EDEFAULT, NOBJ_IDS_EDEFAULT, OBJ_ID_EDEFAULT, objId, PATH_EDEFAULT, THREAD_ID_EDEFAULT, threadId
 
Fields inherited from interface org.eclipse.etrice.generator.etricegen.InstanceBase
pathDelim
 
Constructor Summary
protected PortInstanceImpl()
           
 
Method Summary
 Port basicGetPort()
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
  getBindings()
           
 PortKind getKind()
           
 Port getPort()
           
 void setKind(PortKind newKind)
           
 void setPort(Port newPort)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.etrice.generator.etricegen.impl.InterfaceItemInstanceImpl
getInterfaceItem, getNObjIDs, getPeers, isRelay, isReplicated, isSimple
 
Methods inherited from class org.eclipse.etrice.generator.etricegen.impl.InstanceBaseImpl
getName, getObjId, getPath, getThreadId, setName, setObjId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 

Field Detail

port

protected Port port
The cached value of the 'Port' reference.

See Also:
getPort()
EMF generated code
EMF ordered

KIND_EDEFAULT

protected static final PortKind KIND_EDEFAULT
The default value of the 'Kind' attribute.

See Also:
getKind()
EMF generated code
EMF ordered

kind

protected PortKind kind
The cached value of the 'Kind' attribute.

See Also:
getKind()
EMF generated code
EMF ordered

bindings

protected  bindings
The cached value of the 'Bindings' reference list.

See Also:
getBindings()
EMF generated code
EMF ordered
Constructor Detail

PortInstanceImpl

protected PortInstanceImpl()

EMF generated code
Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class InterfaceItemInstanceImpl
EMF generated code

getPort

public Port getPort()

Specified by:
getPort in interface PortInstance
Returns:
the value of the 'Port' reference.
See Also:
PortInstance.setPort(Port), ETriceGenPackage.getPortInstance_Port()
EMF generated code

basicGetPort

public Port basicGetPort()

EMF generated code

setPort

public void setPort(Port newPort)

Specified by:
setPort in interface PortInstance
Parameters:
newPort - the new value of the 'Port' reference.
See Also:
PortInstance.getPort()
EMF generated code

getKind

public PortKind getKind()

Specified by:
getKind in interface PortInstance
Returns:
the value of the 'Kind' attribute.
See Also:
PortKind, PortInstance.setKind(PortKind), ETriceGenPackage.getPortInstance_Kind()
EMF generated code

setKind

public void setKind(PortKind newKind)

Specified by:
setKind in interface PortInstance
Parameters:
newKind - the new value of the 'Kind' attribute.
See Also:
PortKind, PortInstance.getKind()
EMF generated code

getBindings

public  getBindings()

Specified by:
getBindings in interface PortInstance
Returns:
the value of the 'Bindings' reference list.
See Also:
ETriceGenPackage.getPortInstance_Bindings(), BindingInstance.getPorts()
EMF generated code

eInverseAdd

public NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     NotificationChain msgs)

EMF generated code

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

EMF generated code

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Overrides:
eGet in class InterfaceItemInstanceImpl
EMF generated code

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Overrides:
eSet in class InterfaceItemInstanceImpl
EMF generated code

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class InterfaceItemInstanceImpl
EMF generated code

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class InterfaceItemInstanceImpl
EMF generated code

toString

public java.lang.String toString()

Overrides:
toString in class InstanceBaseImpl
EMF generated code