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

java.lang.Object
  extended by MinimalEObjectImpl.Container
      extended by org.eclipse.etrice.core.room.impl.RoomClassImpl
          extended by org.eclipse.etrice.core.room.impl.ProtocolClassImpl
All Implemented Interfaces:
ProtocolClass, RoomClass

public class ProtocolClassImpl
extends RoomClassImpl
implements ProtocolClass

An implementation of the model object 'Protocol Class'.

The following features are implemented:

EMF generated code

Field Summary
protected  ProtocolClass base
          The cached value of the 'Base' reference.
protected static CommunicationType COMM_TYPE_EDEFAULT
          The default value of the 'Comm Type' attribute.
protected  CommunicationType commType
          The cached value of the 'Comm Type' attribute.
protected  PortClass conjugate
          The cached value of the 'Conjugate' containment reference.
protected   incomingMessages
          The cached value of the 'Incoming Messages' containment reference list.
protected   outgoingMessages
          The cached value of the 'Outgoing Messages' containment reference list.
protected  PortClass regular
          The cached value of the 'Regular' containment reference.
protected  ProtocolSemantics semantics
          The cached value of the 'Semantics' containment reference.
protected  DetailCode userCode1
          The cached value of the 'User Code1' containment reference.
protected  DetailCode userCode2
          The cached value of the 'User Code2' containment reference.
protected  DetailCode userCode3
          The cached value of the 'User Code3' containment reference.
 
Fields inherited from class org.eclipse.etrice.core.room.impl.RoomClassImpl
docu, name, NAME_EDEFAULT
 
Constructor Summary
protected ProtocolClassImpl()
           
 
Method Summary
 ProtocolClass basicGetBase()
           
 NotificationChain basicSetConjugate(PortClass newConjugate, NotificationChain msgs)
           
 NotificationChain basicSetRegular(PortClass newRegular, NotificationChain msgs)
           
 NotificationChain basicSetSemantics(ProtocolSemantics newSemantics, NotificationChain msgs)
           
 NotificationChain basicSetUserCode1(DetailCode newUserCode1, NotificationChain msgs)
           
 NotificationChain basicSetUserCode2(DetailCode newUserCode2, NotificationChain msgs)
           
 NotificationChain basicSetUserCode3(DetailCode newUserCode3, 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)
           
 ProtocolClass getBase()
           
 CommunicationType getCommType()
           
 PortClass getConjugate()
           
  getIncomingMessages()
           
  getOutgoingMessages()
           
 PortClass getRegular()
           
 ProtocolSemantics getSemantics()
           
 DetailCode getUserCode1()
           
 DetailCode getUserCode2()
           
 DetailCode getUserCode3()
           
 void setBase(ProtocolClass newBase)
           
 void setCommType(CommunicationType newCommType)
           
 void setConjugate(PortClass newConjugate)
           
 void setRegular(PortClass newRegular)
           
 void setSemantics(ProtocolSemantics newSemantics)
           
 void setUserCode1(DetailCode newUserCode1)
           
 void setUserCode2(DetailCode newUserCode2)
           
 void setUserCode3(DetailCode newUserCode3)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.etrice.core.room.impl.RoomClassImpl
basicSetDocu, getDocu, getName, setDocu, setName
 
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.RoomClass
getDocu, getName, setDocu, setName
 

Field Detail

COMM_TYPE_EDEFAULT

protected static final CommunicationType COMM_TYPE_EDEFAULT
The default value of the 'Comm Type' attribute.

See Also:
getCommType()
EMF generated code
EMF ordered

commType

protected CommunicationType commType
The cached value of the 'Comm Type' attribute.

See Also:
getCommType()
EMF generated code
EMF ordered

base

protected ProtocolClass base
The cached value of the 'Base' reference.

See Also:
getBase()
EMF generated code
EMF ordered

userCode1

protected DetailCode userCode1
The cached value of the 'User Code1' containment reference.

See Also:
getUserCode1()
EMF generated code
EMF ordered

userCode2

protected DetailCode userCode2
The cached value of the 'User Code2' containment reference.

See Also:
getUserCode2()
EMF generated code
EMF ordered

userCode3

protected DetailCode userCode3
The cached value of the 'User Code3' containment reference.

See Also:
getUserCode3()
EMF generated code
EMF ordered

incomingMessages

protected  incomingMessages
The cached value of the 'Incoming Messages' containment reference list.

See Also:
getIncomingMessages()
EMF generated code
EMF ordered

outgoingMessages

protected  outgoingMessages
The cached value of the 'Outgoing Messages' containment reference list.

See Also:
getOutgoingMessages()
EMF generated code
EMF ordered

regular

protected PortClass regular
The cached value of the 'Regular' containment reference.

See Also:
getRegular()
EMF generated code
EMF ordered

conjugate

protected PortClass conjugate
The cached value of the 'Conjugate' containment reference.

See Also:
getConjugate()
EMF generated code
EMF ordered

semantics

protected ProtocolSemantics semantics
The cached value of the 'Semantics' containment reference.

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

ProtocolClassImpl

protected ProtocolClassImpl()

EMF generated code
Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class RoomClassImpl
EMF generated code

getCommType

public CommunicationType getCommType()

Specified by:
getCommType in interface ProtocolClass
Returns:
the value of the 'Comm Type' attribute.
See Also:
CommunicationType, ProtocolClass.setCommType(CommunicationType), RoomPackage.getProtocolClass_CommType()
EMF generated code

setCommType

public void setCommType(CommunicationType newCommType)

Specified by:
setCommType in interface ProtocolClass
Parameters:
newCommType - the new value of the 'Comm Type' attribute.
See Also:
CommunicationType, ProtocolClass.getCommType()
EMF generated code

getBase

public ProtocolClass getBase()

Specified by:
getBase in interface ProtocolClass
Returns:
the value of the 'Base' reference.
See Also:
ProtocolClass.setBase(ProtocolClass), RoomPackage.getProtocolClass_Base()
EMF generated code

basicGetBase

public ProtocolClass basicGetBase()

EMF generated code

setBase

public void setBase(ProtocolClass newBase)

Specified by:
setBase in interface ProtocolClass
Parameters:
newBase - the new value of the 'Base' reference.
See Also:
ProtocolClass.getBase()
EMF generated code

getUserCode1

public DetailCode getUserCode1()

Specified by:
getUserCode1 in interface ProtocolClass
Returns:
the value of the 'User Code1' containment reference.
See Also:
ProtocolClass.setUserCode1(DetailCode), RoomPackage.getProtocolClass_UserCode1()
EMF generated code

basicSetUserCode1

public NotificationChain basicSetUserCode1(DetailCode newUserCode1,
                                           NotificationChain msgs)

EMF generated code

setUserCode1

public void setUserCode1(DetailCode newUserCode1)

Specified by:
setUserCode1 in interface ProtocolClass
Parameters:
newUserCode1 - the new value of the 'User Code1' containment reference.
See Also:
ProtocolClass.getUserCode1()
EMF generated code

getUserCode2

public DetailCode getUserCode2()

Specified by:
getUserCode2 in interface ProtocolClass
Returns:
the value of the 'User Code2' containment reference.
See Also:
ProtocolClass.setUserCode2(DetailCode), RoomPackage.getProtocolClass_UserCode2()
EMF generated code

basicSetUserCode2

public NotificationChain basicSetUserCode2(DetailCode newUserCode2,
                                           NotificationChain msgs)

EMF generated code

setUserCode2

public void setUserCode2(DetailCode newUserCode2)

Specified by:
setUserCode2 in interface ProtocolClass
Parameters:
newUserCode2 - the new value of the 'User Code2' containment reference.
See Also:
ProtocolClass.getUserCode2()
EMF generated code

getUserCode3

public DetailCode getUserCode3()

Specified by:
getUserCode3 in interface ProtocolClass
Returns:
the value of the 'User Code3' containment reference.
See Also:
ProtocolClass.setUserCode3(DetailCode), RoomPackage.getProtocolClass_UserCode3()
EMF generated code

basicSetUserCode3

public NotificationChain basicSetUserCode3(DetailCode newUserCode3,
                                           NotificationChain msgs)

EMF generated code

setUserCode3

public void setUserCode3(DetailCode newUserCode3)

Specified by:
setUserCode3 in interface ProtocolClass
Parameters:
newUserCode3 - the new value of the 'User Code3' containment reference.
See Also:
ProtocolClass.getUserCode3()
EMF generated code

getIncomingMessages

public  getIncomingMessages()

Specified by:
getIncomingMessages in interface ProtocolClass
Returns:
the value of the 'Incoming Messages' containment reference list.
See Also:
RoomPackage.getProtocolClass_IncomingMessages()
EMF generated code

getOutgoingMessages

public  getOutgoingMessages()

Specified by:
getOutgoingMessages in interface ProtocolClass
Returns:
the value of the 'Outgoing Messages' containment reference list.
See Also:
RoomPackage.getProtocolClass_OutgoingMessages()
EMF generated code

getRegular

public PortClass getRegular()

Specified by:
getRegular in interface ProtocolClass
Returns:
the value of the 'Regular' containment reference.
See Also:
ProtocolClass.setRegular(PortClass), RoomPackage.getProtocolClass_Regular()
EMF generated code

basicSetRegular

public NotificationChain basicSetRegular(PortClass newRegular,
                                         NotificationChain msgs)

EMF generated code

setRegular

public void setRegular(PortClass newRegular)

Specified by:
setRegular in interface ProtocolClass
Parameters:
newRegular - the new value of the 'Regular' containment reference.
See Also:
ProtocolClass.getRegular()
EMF generated code

getConjugate

public PortClass getConjugate()

Specified by:
getConjugate in interface ProtocolClass
Returns:
the value of the 'Conjugate' containment reference.
See Also:
ProtocolClass.setConjugate(PortClass), RoomPackage.getProtocolClass_Conjugate()
EMF generated code

basicSetConjugate

public NotificationChain basicSetConjugate(PortClass newConjugate,
                                           NotificationChain msgs)

EMF generated code

setConjugate

public void setConjugate(PortClass newConjugate)

Specified by:
setConjugate in interface ProtocolClass
Parameters:
newConjugate - the new value of the 'Conjugate' containment reference.
See Also:
ProtocolClass.getConjugate()
EMF generated code

getSemantics

public ProtocolSemantics getSemantics()

Specified by:
getSemantics in interface ProtocolClass
Returns:
the value of the 'Semantics' containment reference.
See Also:
ProtocolClass.setSemantics(ProtocolSemantics), RoomPackage.getProtocolClass_Semantics()
EMF generated code

basicSetSemantics

public NotificationChain basicSetSemantics(ProtocolSemantics newSemantics,
                                           NotificationChain msgs)

EMF generated code

setSemantics

public void setSemantics(ProtocolSemantics newSemantics)

Specified by:
setSemantics in interface ProtocolClass
Parameters:
newSemantics - the new value of the 'Semantics' containment reference.
See Also:
ProtocolClass.getSemantics()
EMF generated code

eInverseRemove

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

Overrides:
eInverseRemove in class RoomClassImpl
EMF generated code

eGet

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

Overrides:
eGet in class RoomClassImpl
EMF generated code

eSet

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

Overrides:
eSet in class RoomClassImpl
EMF generated code

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class RoomClassImpl
EMF generated code

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class RoomClassImpl
EMF generated code

toString

public java.lang.String toString()

Overrides:
toString in class RoomClassImpl
EMF generated code