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

java.lang.Object
  extended byEObjectImpl
      extended byorg.eclipse.emf.ecore.sdo.impl.EPropertyImpl
All Implemented Interfaces:
EProperty, Property

public class EPropertyImpl
extends EObjectImpl
implements EProperty

An implementation of the model object 'EProperty'.

See Also:
Serialized Form

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  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
 
Constructor Summary
protected EPropertyImpl()
           
 
Method Summary
 NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
           
 Object eGet(EStructuralFeature eFeature, boolean resolve)
           
 boolean eIsSet(EStructuralFeature eFeature)
           
 void eSet(EStructuralFeature eFeature, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(EStructuralFeature eFeature)
           
 Type getContainingType()
           
 Object getDefault()
           
 EStructuralFeature getEStructuralFeature()
           
 String getName()
           
 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(Notification msg)
           
 void setEStructuralFeature(EStructuralFeature newEStructuralFeature)
           
 void setReadOnly(boolean readOnly)
           
 void setTarget(Notifier newTarget)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 EStructuralFeature eStructuralFeature
The cached value of the 'EStructural Feature' reference.

See Also:
getEStructuralFeature()
Constructor Detail

EPropertyImpl

protected EPropertyImpl()

Method Detail

eStaticClass

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

notifyChanged

public void notifyChanged(Notification msg)

getTarget

public Notifier getTarget()

setTarget

public void setTarget(Notifier newTarget)

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 NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)


eGet

public Object eGet(EStructuralFeature eFeature,
                   boolean resolve)


eSet

public void eSet(EStructuralFeature eFeature,
                 Object newValue)


eUnset

public void eUnset(EStructuralFeature eFeature)


eIsSet

public boolean eIsSet(EStructuralFeature eFeature)


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