org.eclipse.etrice.core.room.impl
Class PortImpl

java.lang.Object
  extended by MinimalEObjectImpl.Container
      extended by org.eclipse.etrice.core.room.impl.InterfaceItemImpl
          extended by org.eclipse.etrice.core.room.impl.PortImpl
All Implemented Interfaces:
InterfaceItem, Port

public class PortImpl
extends InterfaceItemImpl
implements Port

An implementation of the model object 'Port'.

The following features are implemented:

EMF generated code

Field Summary
protected  boolean conjugated
          The cached value of the 'Conjugated' attribute.
protected static boolean CONJUGATED_EDEFAULT
          The default value of the 'Conjugated' attribute.
protected  Documentation docu
          The cached value of the 'Docu' containment reference.
protected  int multiplicity
          The cached value of the 'Multiplicity' attribute.
protected static int MULTIPLICITY_EDEFAULT
          The default value of the 'Multiplicity' attribute.
 
Fields inherited from class org.eclipse.etrice.core.room.impl.InterfaceItemImpl
name, NAME_EDEFAULT, protocol
 
Constructor Summary
protected PortImpl()
           
 
Method Summary
 NotificationChain basicSetDocu(Documentation newDocu, NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 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)
           
 Documentation getDocu()
           
 int getMultiplicity()
           
 boolean isConjugated()
           
 boolean isReplicated()
           
 void setConjugated(boolean newConjugated)
           
 void setDocu(Documentation newDocu)
           
 void setMultiplicity(int newMultiplicity)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.etrice.core.room.impl.InterfaceItemImpl
basicGetProtocol, getName, getProtocol, setName, setProtocol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.etrice.core.room.InterfaceItem
getName, getProtocol, setName, setProtocol
 

Field Detail

CONJUGATED_EDEFAULT

protected static final boolean CONJUGATED_EDEFAULT
The default value of the 'Conjugated' attribute.

See Also:
isConjugated(), Constant Field Values
EMF generated code
EMF ordered

conjugated

protected boolean conjugated
The cached value of the 'Conjugated' attribute.

See Also:
isConjugated()
EMF generated code
EMF ordered

MULTIPLICITY_EDEFAULT

protected static final int MULTIPLICITY_EDEFAULT
The default value of the 'Multiplicity' attribute.

See Also:
getMultiplicity(), Constant Field Values
EMF generated code
EMF ordered

multiplicity

protected int multiplicity
The cached value of the 'Multiplicity' attribute.

See Also:
getMultiplicity()
EMF generated code
EMF ordered

docu

protected Documentation docu
The cached value of the 'Docu' containment reference.

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

PortImpl

protected PortImpl()

EMF generated code
Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class InterfaceItemImpl
EMF generated code

isConjugated

public boolean isConjugated()

Specified by:
isConjugated in interface Port
Returns:
the value of the 'Conjugated' attribute.
See Also:
Port.setConjugated(boolean), RoomPackage.getPort_Conjugated()
EMF generated code

setConjugated

public void setConjugated(boolean newConjugated)

Specified by:
setConjugated in interface Port
Parameters:
newConjugated - the new value of the 'Conjugated' attribute.
See Also:
Port.isConjugated()
EMF generated code

getMultiplicity

public int getMultiplicity()

Specified by:
getMultiplicity in interface Port
Returns:
the value of the 'Multiplicity' attribute.
See Also:
Port.setMultiplicity(int), RoomPackage.getPort_Multiplicity()
EMF generated code

setMultiplicity

public void setMultiplicity(int newMultiplicity)

Specified by:
setMultiplicity in interface Port
Parameters:
newMultiplicity - the new value of the 'Multiplicity' attribute.
See Also:
Port.getMultiplicity()
EMF generated code

getDocu

public Documentation getDocu()

Specified by:
getDocu in interface Port
Returns:
the value of the 'Docu' containment reference.
See Also:
Port.setDocu(Documentation), RoomPackage.getPort_Docu()
EMF generated code

basicSetDocu

public NotificationChain basicSetDocu(Documentation newDocu,
                                      NotificationChain msgs)

EMF generated code

setDocu

public void setDocu(Documentation newDocu)

Specified by:
setDocu in interface Port
Parameters:
newDocu - the new value of the 'Docu' containment reference.
See Also:
Port.getDocu()
EMF generated code

isReplicated

public boolean isReplicated()

Specified by:
isReplicated in interface Port
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 InterfaceItemImpl
EMF generated code

eSet

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

Overrides:
eSet in class InterfaceItemImpl
EMF generated code

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class InterfaceItemImpl
EMF generated code

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class InterfaceItemImpl
EMF generated code

toString

public java.lang.String toString()

Overrides:
toString in class InterfaceItemImpl
EMF generated code