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

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
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, DtoProperty, ModelElement
Direct Known Subclasses:
DtoAssociationRolePropertyImpl, DtoDataPropertyImpl, DtoPropertyReferenceImpl

public class DtoPropertyImpl
extends ModelElementImpl
implements DtoProperty

An implementation of the model object 'Dto 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 DATA_TYPE_EDEFAULT
          The default value of the 'Data Type' attribute.
protected  java.lang.String dataType
          The cached value of the 'Data Type' attribute.
protected static boolean MANDATORY_FOR_CREATION_EDEFAULT
          The default value of the 'Mandatory For Creation' attribute.
protected  boolean mandatoryForCreation
          The cached value of the 'Mandatory For Creation' attribute.
protected  boolean nullable
          The cached value of the 'Nullable' attribute.
protected static boolean NULLABLE_EDEFAULT
          The default value of the 'Nullable' attribute.
protected  boolean writable
          The cached value of the 'Writable' attribute.
protected static boolean WRITABLE_EDEFAULT
          The default value of the 'Writable' attribute.
 
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 DtoPropertyImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetBusinessClassDto(BusinessClassDto newBusinessClassDto, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetCustomDto(CustomDto newCustomDto, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 BusinessClassDto getBusinessClassDto()
           
 CustomDto getCustomDto()
           
 java.lang.String getDataType()
           
 boolean isMandatoryForCreation()
           
 boolean isNullable()
           
 boolean isWritable()
           
 void setBusinessClassDto(BusinessClassDto newBusinessClassDto)
           
 void setCustomDto(CustomDto newCustomDto)
           
 void setDataType(java.lang.String newDataType)
           
 void setMandatoryForCreation(boolean newMandatoryForCreation)
           
 void setNullable(boolean newNullable)
           
 void setWritable(boolean newWritable)
           
 java.lang.String toString()
           
 
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, 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
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.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

DATA_TYPE_EDEFAULT

protected static final java.lang.String DATA_TYPE_EDEFAULT
The default value of the 'Data Type' attribute.

See Also:
getDataType()

dataType

protected java.lang.String dataType
The cached value of the 'Data Type' attribute.

See Also:
getDataType()

MANDATORY_FOR_CREATION_EDEFAULT

protected static final boolean MANDATORY_FOR_CREATION_EDEFAULT
The default value of the 'Mandatory For Creation' attribute.

See Also:
isMandatoryForCreation(), Constant Field Values

mandatoryForCreation

protected boolean mandatoryForCreation
The cached value of the 'Mandatory For Creation' attribute.

See Also:
isMandatoryForCreation()

NULLABLE_EDEFAULT

protected static final boolean NULLABLE_EDEFAULT
The default value of the 'Nullable' attribute.

See Also:
isNullable(), Constant Field Values

nullable

protected boolean nullable
The cached value of the 'Nullable' attribute.

See Also:
isNullable()

WRITABLE_EDEFAULT

protected static final boolean WRITABLE_EDEFAULT
The default value of the 'Writable' attribute.

See Also:
isWritable(), Constant Field Values

writable

protected boolean writable
The cached value of the 'Writable' attribute.

See Also:
isWritable()
Constructor Detail

DtoPropertyImpl

protected DtoPropertyImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class ModelElementImpl

getDataType

public java.lang.String getDataType()

Specified by:
getDataType in interface DtoProperty
Returns:
the value of the 'Data Type' attribute.
See Also:
DtoProperty.setDataType(String), DataContractDslPackage.getDtoProperty_DataType()

setDataType

public void setDataType(java.lang.String newDataType)

Specified by:
setDataType in interface DtoProperty
Parameters:
newDataType - the new value of the 'Data Type' attribute.
See Also:
DtoProperty.getDataType()

getBusinessClassDto

public BusinessClassDto getBusinessClassDto()

Specified by:
getBusinessClassDto in interface DtoProperty
Returns:
the value of the 'Business Class Dto' container reference.
See Also:
DtoProperty.setBusinessClassDto(BusinessClassDto), DataContractDslPackage.getDtoProperty_BusinessClassDto(), BusinessClassDto.getProperties()

basicSetBusinessClassDto

public org.eclipse.emf.common.notify.NotificationChain basicSetBusinessClassDto(BusinessClassDto newBusinessClassDto,
                                                                                org.eclipse.emf.common.notify.NotificationChain msgs)


setBusinessClassDto

public void setBusinessClassDto(BusinessClassDto newBusinessClassDto)

Specified by:
setBusinessClassDto in interface DtoProperty
Parameters:
newBusinessClassDto - the new value of the 'Business Class Dto' container reference.
See Also:
DtoProperty.getBusinessClassDto()

getCustomDto

public CustomDto getCustomDto()

Specified by:
getCustomDto in interface DtoProperty
Returns:
the value of the 'Custom Dto' container reference.
See Also:
DtoProperty.setCustomDto(CustomDto), DataContractDslPackage.getDtoProperty_CustomDto(), CustomDto.getProperties()

basicSetCustomDto

public org.eclipse.emf.common.notify.NotificationChain basicSetCustomDto(CustomDto newCustomDto,
                                                                         org.eclipse.emf.common.notify.NotificationChain msgs)


setCustomDto

public void setCustomDto(CustomDto newCustomDto)

Specified by:
setCustomDto in interface DtoProperty
Parameters:
newCustomDto - the new value of the 'Custom Dto' container reference.
See Also:
DtoProperty.getCustomDto()

isMandatoryForCreation

public boolean isMandatoryForCreation()

Specified by:
isMandatoryForCreation in interface DtoProperty
Returns:
the value of the 'Mandatory For Creation' attribute.
See Also:
DtoProperty.setMandatoryForCreation(boolean), DataContractDslPackage.getDtoProperty_MandatoryForCreation()

setMandatoryForCreation

public void setMandatoryForCreation(boolean newMandatoryForCreation)

Specified by:
setMandatoryForCreation in interface DtoProperty
Parameters:
newMandatoryForCreation - the new value of the 'Mandatory For Creation' attribute.
See Also:
DtoProperty.isMandatoryForCreation()

isNullable

public boolean isNullable()

Specified by:
isNullable in interface DtoProperty
Returns:
the value of the 'Nullable' attribute.
See Also:
DtoProperty.setNullable(boolean), DataContractDslPackage.getDtoProperty_Nullable()

setNullable

public void setNullable(boolean newNullable)

Specified by:
setNullable in interface DtoProperty
Parameters:
newNullable - the new value of the 'Nullable' attribute.
See Also:
DtoProperty.isNullable()

isWritable

public boolean isWritable()

Specified by:
isWritable in interface DtoProperty
Returns:
the value of the 'Writable' attribute.
See Also:
DtoProperty.setWritable(boolean), DataContractDslPackage.getDtoProperty_Writable()

setWritable

public void setWritable(boolean newWritable)

Specified by:
setWritable in interface DtoProperty
Parameters:
newWritable - the new value of the 'Writable' attribute.
See Also:
DtoProperty.isWritable()

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseAdd in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eBasicRemoveFromContainerFeature

public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

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 ModelElementImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class ModelElementImpl


Copyright © 2009 Mod4j. All Rights Reserved.