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

java.lang.Object
  extended by MinimalEObjectImpl.Container
      extended by org.eclipse.etrice.core.room.impl.RoomClassImpl
          extended by org.eclipse.etrice.core.room.impl.DataTypeImpl
              extended by org.eclipse.etrice.core.room.impl.PrimitiveTypeImpl
All Implemented Interfaces:
DataType, PrimitiveType, RoomClass

public class PrimitiveTypeImpl
extends DataTypeImpl
implements PrimitiveType

An implementation of the model object 'Primitive Type'.

The following features are implemented:

EMF generated code

Field Summary
protected static java.lang.String CAST_NAME_EDEFAULT
          The default value of the 'Cast Name' attribute.
protected  java.lang.String castName
          The cached value of the 'Cast Name' attribute.
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 static java.lang.String TARGET_NAME_EDEFAULT
          The default value of the 'Target Name' attribute.
protected  java.lang.String targetName
          The cached value of the 'Target Name' attribute.
 
Fields inherited from class org.eclipse.etrice.core.room.impl.RoomClassImpl
docu, name, NAME_EDEFAULT
 
Constructor Summary
protected PrimitiveTypeImpl()
           
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 java.lang.String getCastName()
           
 java.lang.String getDefaultValueLiteral()
           
 java.lang.String getTargetName()
           
 void setCastName(java.lang.String newCastName)
           
 void setDefaultValueLiteral(java.lang.String newDefaultValueLiteral)
           
 void setTargetName(java.lang.String newTargetName)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.etrice.core.room.impl.RoomClassImpl
basicSetDocu, eInverseRemove, 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

TARGET_NAME_EDEFAULT

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

See Also:
getTargetName()
EMF generated code
EMF ordered

targetName

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

See Also:
getTargetName()
EMF generated code
EMF ordered

CAST_NAME_EDEFAULT

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

See Also:
getCastName()
EMF generated code
EMF ordered

castName

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

See Also:
getCastName()
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
Constructor Detail

PrimitiveTypeImpl

protected PrimitiveTypeImpl()

EMF generated code
Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class DataTypeImpl
EMF generated code

getTargetName

public java.lang.String getTargetName()

Specified by:
getTargetName in interface PrimitiveType
Returns:
the value of the 'Target Name' attribute.
See Also:
PrimitiveType.setTargetName(String), RoomPackage.getPrimitiveType_TargetName()
EMF generated code

setTargetName

public void setTargetName(java.lang.String newTargetName)

Specified by:
setTargetName in interface PrimitiveType
Parameters:
newTargetName - the new value of the 'Target Name' attribute.
See Also:
PrimitiveType.getTargetName()
EMF generated code

getCastName

public java.lang.String getCastName()

Specified by:
getCastName in interface PrimitiveType
Returns:
the value of the 'Cast Name' attribute.
See Also:
PrimitiveType.setCastName(String), RoomPackage.getPrimitiveType_CastName()
EMF generated code

setCastName

public void setCastName(java.lang.String newCastName)

Specified by:
setCastName in interface PrimitiveType
Parameters:
newCastName - the new value of the 'Cast Name' attribute.
See Also:
PrimitiveType.getCastName()
EMF generated code

getDefaultValueLiteral

public java.lang.String getDefaultValueLiteral()

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

setDefaultValueLiteral

public void setDefaultValueLiteral(java.lang.String newDefaultValueLiteral)

Specified by:
setDefaultValueLiteral in interface PrimitiveType
Parameters:
newDefaultValueLiteral - the new value of the 'Default Value Literal' attribute.
See Also:
PrimitiveType.getDefaultValueLiteral()
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