org.mod4j.dsl.datacontract.mm.DataContractDsl.impl
Class DtoEnumerationPropertyImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.mod4j.dsl.datacontract.mm.DataContractDsl.impl.ModelElementImpl
                  extended by org.mod4j.dsl.datacontract.mm.DataContractDsl.impl.DtoPropertyImpl
                      extended by org.mod4j.dsl.datacontract.mm.DataContractDsl.impl.DtoDataPropertyImpl
                          extended by org.mod4j.dsl.datacontract.mm.DataContractDsl.impl.DtoEnumerationPropertyImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, DtoDataProperty, DtoEnumerationProperty, DtoProperty, ModelElement

public class DtoEnumerationPropertyImpl
extends DtoDataPropertyImpl
implements DtoEnumerationProperty

An implementation of the model object 'Dto Enumeration Property'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected static java.lang.String DEFAULT_VALUE_AS_STRING_EDEFAULT
          The default value of the 'Default Value As String' attribute.
protected  java.lang.String defaultValueAsString
          The cached value of the 'Default Value As String' attribute.
protected  EnumerationDto type
          The cached value of the 'Type' reference.
 
Fields inherited from class org.mod4j.dsl.datacontract.mm.DataContractDsl.impl.DtoDataPropertyImpl
HAS_DEFAULT_EDEFAULT, hasDefault
 
Fields inherited from class org.mod4j.dsl.datacontract.mm.DataContractDsl.impl.DtoPropertyImpl
DATA_TYPE_EDEFAULT, dataType, MANDATORY_FOR_CREATION_EDEFAULT, mandatoryForCreation, nullable, NULLABLE_EDEFAULT, writable, WRITABLE_EDEFAULT
 
Fields inherited from class org.mod4j.dsl.datacontract.mm.DataContractDsl.impl.ModelElementImpl
description, DESCRIPTION_EDEFAULT, name, NAME_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected DtoEnumerationPropertyImpl()
           
 
Method Summary
 EnumerationDto basicGetType()
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 java.lang.String getDefaultValueAsString()
           
 EnumerationDto getType()
           
 void setDefaultValueAsString(java.lang.String newDefaultValueAsString)
           
 void setType(EnumerationDto newType)
           
 java.lang.String toString()
           
 
Methods inherited from class org.mod4j.dsl.datacontract.mm.DataContractDsl.impl.DtoDataPropertyImpl
isHasDefault, setHasDefault
 
Methods inherited from class org.mod4j.dsl.datacontract.mm.DataContractDsl.impl.DtoPropertyImpl
basicSetBusinessClassDto, basicSetCustomDto, eBasicRemoveFromContainerFeature, eInverseAdd, eInverseRemove, getBusinessClassDto, getCustomDto, getDataType, isMandatoryForCreation, isNullable, isWritable, setBusinessClassDto, setCustomDto, setDataType, setMandatoryForCreation, setNullable, setWritable
 
Methods inherited from class org.mod4j.dsl.datacontract.mm.DataContractDsl.impl.ModelElementImpl
getDescription, getName, setDescription, setName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoDataProperty
isHasDefault, setHasDefault
 
Methods inherited from interface org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoProperty
getBusinessClassDto, getCustomDto, getDataType, isMandatoryForCreation, isNullable, isWritable, setBusinessClassDto, setCustomDto, setDataType, setMandatoryForCreation, setNullable, setWritable
 
Methods inherited from interface org.mod4j.dsl.datacontract.mm.DataContractDsl.ModelElement
getDescription, getName, setDescription, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

type

protected EnumerationDto type
The cached value of the 'Type' reference.

See Also:
getType()

DEFAULT_VALUE_AS_STRING_EDEFAULT

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

See Also:
getDefaultValueAsString()

defaultValueAsString

protected java.lang.String defaultValueAsString
The cached value of the 'Default Value As String' attribute.

See Also:
getDefaultValueAsString()
Constructor Detail

DtoEnumerationPropertyImpl

protected DtoEnumerationPropertyImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class DtoDataPropertyImpl

getType

public EnumerationDto getType()

Specified by:
getType in interface DtoEnumerationProperty
Returns:
the value of the 'Type' reference.
See Also:
DtoEnumerationProperty.setType(EnumerationDto), DataContractDslPackage.getDtoEnumerationProperty_Type()

basicGetType

public EnumerationDto basicGetType()


setType

public void setType(EnumerationDto newType)

Specified by:
setType in interface DtoEnumerationProperty
Parameters:
newType - the new value of the 'Type' reference.
See Also:
DtoEnumerationProperty.getType()

getDefaultValueAsString

public java.lang.String getDefaultValueAsString()

Specified by:
getDefaultValueAsString in interface DtoEnumerationProperty
Returns:
the value of the 'Default Value As String' attribute.
See Also:
DtoEnumerationProperty.setDefaultValueAsString(String), DataContractDslPackage.getDtoEnumerationProperty_DefaultValueAsString()

setDefaultValueAsString

public void setDefaultValueAsString(java.lang.String newDefaultValueAsString)

Specified by:
setDefaultValueAsString in interface DtoEnumerationProperty
Parameters:
newDefaultValueAsString - the new value of the 'Default Value As String' attribute.
See Also:
DtoEnumerationProperty.getDefaultValueAsString()

eGet

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

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class DtoDataPropertyImpl

eSet

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

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class DtoDataPropertyImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class DtoDataPropertyImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class DtoDataPropertyImpl

toString

public java.lang.String toString()

Overrides:
toString in class DtoDataPropertyImpl


Copyright © 2010 Mod4j. All Rights Reserved.