org.eclipse.emf.ecore.sdo.impl
Class EPropertyImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.emf.ecore.sdo.impl.EPropertyImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.ecore.EObject, EProperty, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, Property

public class EPropertyImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements EProperty, org.eclipse.emf.common.notify.Adapter

An implementation of the model object 'EProperty'.


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected static boolean CONTAINMENT_EDEFAULT
          The default value of the 'Containment' attribute
protected static Object DEFAULT_EDEFAULT
          The default value of the 'Default' attribute
protected  org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature
          The cached value of the 'EStructural Feature' reference
protected static boolean MANY_EDEFAULT
          The default value of the 'Many' attribute
protected static String NAME_EDEFAULT
          The default value of the 'Name' attribute
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected EPropertyImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainer(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 Type getContainingType()
           
 Object getDefault()
           
 org.eclipse.emf.ecore.EStructuralFeature getEStructuralFeature()
           
 String getName()
           
 org.eclipse.emf.common.notify.Notifier getTarget()
           
 Type getType()
           
 boolean isAdapterForType(Object type)
           
 boolean isContainment()
           
 boolean isMany()
           
 boolean isReadOnly()
          Returns true if values for this property cannot be modified using the SDO APIs.
 void notifyChanged(org.eclipse.emf.common.notify.Notification msg)
           
 void setEStructuralFeature(org.eclipse.emf.ecore.EStructuralFeature newEStructuralFeature)
           
 void setReadOnly(boolean readOnly)
           
 void setTarget(org.eclipse.emf.common.notify.Notifier newTarget)
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eContainerFeatureID, eDeliver, eInternalContainer, eProperties, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicSetContainer, eClass, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsProxy, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, eURIFragmentSegment, toString
 
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.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
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

NAME_EDEFAULT

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

See Also:
getName()

MANY_EDEFAULT

protected static final boolean MANY_EDEFAULT
The default value of the 'Many' attribute.

See Also:
isMany(), Constant Field Values

CONTAINMENT_EDEFAULT

protected static final boolean CONTAINMENT_EDEFAULT
The default value of the 'Containment' attribute.

See Also:
isContainment(), Constant Field Values

DEFAULT_EDEFAULT

protected static final Object DEFAULT_EDEFAULT
The default value of the 'Default' attribute.

See Also:
getDefault()

eStructuralFeature

protected org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature
The cached value of the 'EStructural Feature' reference.

See Also:
getEStructuralFeature()
Constructor Detail

EPropertyImpl

protected EPropertyImpl()

Method Detail

eStaticClass

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


getName

public String getName()

Specified by:
getName in interface Property
Returns:
the property name.

isMany

public boolean isMany()

Specified by:
isMany in interface Property
Returns:
true if the property is many-valued.

isContainment

public boolean isContainment()

Specified by:
isContainment in interface Property
Returns:
true if the property is containment.

getDefault

public Object getDefault()

Specified by:
getDefault in interface Property
Returns:
the default value.

getType

public Type getType()

Specified by:
getType in interface Property
Returns:
the type.

getContainingType

public Type getContainingType()

Specified by:
getContainingType in interface Property
Returns:
the property's containing type.
See Also:
Type.getProperties()

getEStructuralFeature

public org.eclipse.emf.ecore.EStructuralFeature getEStructuralFeature()

Specified by:
getEStructuralFeature in interface EProperty
Returns:
the value of the 'EStructural Feature' reference.
See Also:
EProperty.setEStructuralFeature(EStructuralFeature), SDOPackage.getEProperty_EStructuralFeature()

setEStructuralFeature

public void setEStructuralFeature(org.eclipse.emf.ecore.EStructuralFeature newEStructuralFeature)

Specified by:
setEStructuralFeature in interface EProperty
Parameters:
newEStructuralFeature - the new value of the 'EStructural Feature' reference.
See Also:
EProperty.getEStructuralFeature()

isAdapterForType

public boolean isAdapterForType(Object type)
Specified by:
isAdapterForType in interface org.eclipse.emf.common.notify.Adapter

notifyChanged

public void notifyChanged(org.eclipse.emf.common.notify.Notification msg)
Specified by:
notifyChanged in interface org.eclipse.emf.common.notify.Adapter

getTarget

public org.eclipse.emf.common.notify.Notifier getTarget()
Specified by:
getTarget in interface org.eclipse.emf.common.notify.Adapter

setTarget

public void setTarget(org.eclipse.emf.common.notify.Notifier newTarget)
Specified by:
setTarget in interface org.eclipse.emf.common.notify.Adapter

isReadOnly

public boolean isReadOnly()
Description copied from interface: EProperty
Returns true if values for this property cannot be modified using the SDO APIs. When true, DataObject.set(Property) throws an exception. Values may change due to other factors, such as services operating on DataObjects.

Specified by:
isReadOnly in interface EProperty
Returns:
true if values for this property cannot be modified.

setReadOnly

public void setReadOnly(boolean readOnly)
Specified by:
setReadOnly in interface EProperty

eBasicRemoveFromContainer

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

Specified by:
eBasicRemoveFromContainer in interface org.eclipse.emf.ecore.InternalEObject

eGet

public Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                   boolean resolve)

Specified by:
eGet in interface org.eclipse.emf.ecore.EObject

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.EObject

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject

Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.