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

java.lang.Object
  extended by MinimalEObjectImpl.Container
      extended by org.eclipse.etrice.core.room.impl.AttributeImpl
All Implemented Interfaces:
Attribute

public class AttributeImpl
extends MinimalEObjectImpl.Container
implements Attribute

An implementation of the model object 'Attribute'.

The following features are implemented:

EMF generated code

Field Summary
protected static java.lang.String DEFAULT_VALUE_LITERAL_EDEFAULT
          The default value of the 'Default Value Literal' attribute.
protected  java.lang.String defaultValueLiteral
          The cached value of the 'Default Value Literal' attribute.
protected  Documentation docu
          The cached value of the 'Docu' containment reference.
protected  java.lang.String name
          The cached value of the 'Name' attribute.
protected static java.lang.String NAME_EDEFAULT
          The default value of the 'Name' attribute.
protected  RefableType refType
          The cached value of the 'Ref Type' containment reference.
protected  int size
          The cached value of the 'Size' attribute.
protected static int SIZE_EDEFAULT
          The default value of the 'Size' attribute.
 
Constructor Summary
protected AttributeImpl()
           
 
Method Summary
 NotificationChain basicSetDocu(Documentation newDocu, NotificationChain msgs)
           
 NotificationChain basicSetRefType(RefableType newRefType, 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)
           
 java.lang.String getDefaultValueLiteral()
           
 Documentation getDocu()
           
 java.lang.String getName()
           
 RefableType getRefType()
           
 int getSize()
           
 void setDefaultValueLiteral(java.lang.String newDefaultValueLiteral)
           
 void setDocu(Documentation newDocu)
           
 void setName(java.lang.String newName)
           
 void setRefType(RefableType newRefType)
           
 void setSize(int newSize)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME_EDEFAULT

protected static final java.lang.String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()
EMF generated code
EMF ordered

name

protected java.lang.String name
The cached value of the 'Name' attribute.

See Also:
getName()
EMF generated code
EMF ordered

SIZE_EDEFAULT

protected static final int SIZE_EDEFAULT
The default value of the 'Size' attribute.

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

size

protected int size
The cached value of the 'Size' attribute.

See Also:
getSize()
EMF generated code
EMF ordered

refType

protected RefableType refType
The cached value of the 'Ref Type' containment reference.

See Also:
getRefType()
EMF generated code
EMF ordered

DEFAULT_VALUE_LITERAL_EDEFAULT

protected static final java.lang.String DEFAULT_VALUE_LITERAL_EDEFAULT
The default value of the 'Default Value Literal' attribute.

See Also:
getDefaultValueLiteral()
EMF generated code
EMF ordered

defaultValueLiteral

protected java.lang.String defaultValueLiteral
The cached value of the 'Default Value Literal' attribute.

See Also:
getDefaultValueLiteral()
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

AttributeImpl

protected AttributeImpl()

EMF generated code
Method Detail

eStaticClass

protected EClass eStaticClass()

EMF generated code

getName

public java.lang.String getName()

Specified by:
getName in interface Attribute
Returns:
the value of the 'Name' attribute.
See Also:
Attribute.setName(String), RoomPackage.getAttribute_Name()
EMF generated code

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface Attribute
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
Attribute.getName()
EMF generated code

getSize

public int getSize()

Specified by:
getSize in interface Attribute
Returns:
the value of the 'Size' attribute.
See Also:
Attribute.setSize(int), RoomPackage.getAttribute_Size()
EMF generated code

setSize

public void setSize(int newSize)

Specified by:
setSize in interface Attribute
Parameters:
newSize - the new value of the 'Size' attribute.
See Also:
Attribute.getSize()
EMF generated code

getRefType

public RefableType getRefType()

Specified by:
getRefType in interface Attribute
Returns:
the value of the 'Ref Type' containment reference.
See Also:
Attribute.setRefType(RefableType), RoomPackage.getAttribute_RefType()
EMF generated code

basicSetRefType

public NotificationChain basicSetRefType(RefableType newRefType,
                                         NotificationChain msgs)

EMF generated code

setRefType

public void setRefType(RefableType newRefType)

Specified by:
setRefType in interface Attribute
Parameters:
newRefType - the new value of the 'Ref Type' containment reference.
See Also:
Attribute.getRefType()
EMF generated code

getDefaultValueLiteral

public java.lang.String getDefaultValueLiteral()

Specified by:
getDefaultValueLiteral in interface Attribute
Returns:
the value of the 'Default Value Literal' attribute.
See Also:
Attribute.setDefaultValueLiteral(String), RoomPackage.getAttribute_DefaultValueLiteral()
EMF generated code

setDefaultValueLiteral

public void setDefaultValueLiteral(java.lang.String newDefaultValueLiteral)

Specified by:
setDefaultValueLiteral in interface Attribute
Parameters:
newDefaultValueLiteral - the new value of the 'Default Value Literal' attribute.
See Also:
Attribute.getDefaultValueLiteral()
EMF generated code

getDocu

public Documentation getDocu()

Specified by:
getDocu in interface Attribute
Returns:
the value of the 'Docu' containment reference.
See Also:
Attribute.setDocu(Documentation), RoomPackage.getAttribute_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 Attribute
Parameters:
newDocu - the new value of the 'Docu' containment reference.
See Also:
Attribute.getDocu()
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)

EMF generated code

eSet

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

EMF generated code

eUnset

public void eUnset(int featureID)

EMF generated code

eIsSet

public boolean eIsSet(int featureID)

EMF generated code

toString

public java.lang.String toString()

EMF generated code