BusinessDomainDsl.impl
Class PropertyImpl

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 BusinessDomainDsl.impl.ModelElementImpl
                  extended by BusinessDomainDsl.impl.PropertyImpl
All Implemented Interfaces:
ModelElement, Property, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject
Direct Known Subclasses:
BlobBinaryPropertyImpl, BlobTextPropertyImpl, BoolPropertyImpl, DateTimePropertyImpl, DecimalPropertyImpl, EnumerationPropertyImpl, IntegerPropertyImpl, StringPropertyImpl

public class PropertyImpl
extends ModelElementImpl
implements Property

An implementation of the model object '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  boolean derived
          The cached value of the 'Derived' attribute.
protected static boolean DERIVED_EDEFAULT
          The default value of the 'Derived' attribute.
protected static boolean HAS_DEFAULT_EDEFAULT
          The default value of the 'Has Default' attribute.
protected  boolean hasDefault
          The cached value of the 'Has Default' attribute.
protected  boolean nullable
          The cached value of the 'Nullable' attribute.
protected static boolean NULLABLE_EDEFAULT
          The default value of the 'Nullable' attribute.
protected  PersistencyMode persistency
          The cached value of the 'Persistency' attribute.
protected static PersistencyMode PERSISTENCY_EDEFAULT
          The default value of the 'Persistency' 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 BusinessDomainDsl.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 PropertyImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetOwningType(AbstractType newOwningType, 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)
           
 java.lang.String getDataType()
           
 AbstractType getOwningType()
           
 PersistencyMode getPersistency()
           
 boolean isDerived()
           
 boolean isHasDefault()
           
 boolean isNullable()
           
 boolean isWritable()
           
 void setDataType(java.lang.String newDataType)
           
 void setDerived(boolean newDerived)
           
 void setHasDefault(boolean newHasDefault)
           
 void setNullable(boolean newNullable)
           
 void setOwningType(AbstractType newOwningType)
           
 void setPersistency(PersistencyMode newPersistency)
           
 void setWritable(boolean newWritable)
           
 java.lang.String toString()
           
 
Methods inherited from class BusinessDomainDsl.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 BusinessDomainDsl.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()

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()

DERIVED_EDEFAULT

protected static final boolean DERIVED_EDEFAULT
The default value of the 'Derived' attribute.

See Also:
isDerived(), Constant Field Values

derived

protected boolean derived
The cached value of the 'Derived' attribute.

See Also:
isDerived()

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()

PERSISTENCY_EDEFAULT

protected static final PersistencyMode PERSISTENCY_EDEFAULT
The default value of the 'Persistency' attribute.

See Also:
getPersistency()

persistency

protected PersistencyMode persistency
The cached value of the 'Persistency' attribute.

See Also:
getPersistency()

HAS_DEFAULT_EDEFAULT

protected static final boolean HAS_DEFAULT_EDEFAULT
The default value of the 'Has Default' attribute.

See Also:
isHasDefault(), Constant Field Values

hasDefault

protected boolean hasDefault
The cached value of the 'Has Default' attribute.

See Also:
isHasDefault()
Constructor Detail

PropertyImpl

protected PropertyImpl()

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 Property
Returns:
the value of the 'Data Type' attribute.
See Also:
Property.setDataType(String), BusinessDomainDslPackage.getProperty_DataType()

setDataType

public void setDataType(java.lang.String newDataType)

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

isNullable

public boolean isNullable()

Specified by:
isNullable in interface Property
Returns:
the value of the 'Nullable' attribute.
See Also:
Property.setNullable(boolean), BusinessDomainDslPackage.getProperty_Nullable()

setNullable

public void setNullable(boolean newNullable)

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

isDerived

public boolean isDerived()

Specified by:
isDerived in interface Property
Returns:
the value of the 'Derived' attribute.
See Also:
Property.setDerived(boolean), BusinessDomainDslPackage.getProperty_Derived()

setDerived

public void setDerived(boolean newDerived)

Specified by:
setDerived in interface Property
Parameters:
newDerived - the new value of the 'Derived' attribute.
See Also:
Property.isDerived()

isWritable

public boolean isWritable()

Specified by:
isWritable in interface Property
Returns:
the value of the 'Writable' attribute.
See Also:
Property.setWritable(boolean), BusinessDomainDslPackage.getProperty_Writable()

setWritable

public void setWritable(boolean newWritable)

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

getPersistency

public PersistencyMode getPersistency()

Specified by:
getPersistency in interface Property
Returns:
the value of the 'Persistency' attribute.
See Also:
PersistencyMode, Property.setPersistency(PersistencyMode), BusinessDomainDslPackage.getProperty_Persistency()

setPersistency

public void setPersistency(PersistencyMode newPersistency)

Specified by:
setPersistency in interface Property
Parameters:
newPersistency - the new value of the 'Persistency' attribute.
See Also:
PersistencyMode, Property.getPersistency()

isHasDefault

public boolean isHasDefault()

Specified by:
isHasDefault in interface Property
Returns:
the value of the 'Has Default' attribute.
See Also:
Property.setHasDefault(boolean), BusinessDomainDslPackage.getProperty_HasDefault()

setHasDefault

public void setHasDefault(boolean newHasDefault)

Specified by:
setHasDefault in interface Property
Parameters:
newHasDefault - the new value of the 'Has Default' attribute.
See Also:
Property.isHasDefault()

getOwningType

public AbstractType getOwningType()

Specified by:
getOwningType in interface Property
Returns:
the value of the 'Owning Type' container reference.
See Also:
Property.setOwningType(AbstractType), BusinessDomainDslPackage.getProperty_OwningType(), AbstractType.getProperties()

basicSetOwningType

public org.eclipse.emf.common.notify.NotificationChain basicSetOwningType(AbstractType newOwningType,
                                                                          org.eclipse.emf.common.notify.NotificationChain msgs)


setOwningType

public void setOwningType(AbstractType newOwningType)

Specified by:
setOwningType in interface Property
Parameters:
newOwningType - the new value of the 'Owning Type' container reference.
See Also:
Property.getOwningType()

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 © 2010 Mod4j. All Rights Reserved.