org.eclipse.stp.core.sca.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 org.eclipse.stp.core.sca.impl.SCAObjectImpl
                  extended by org.eclipse.stp.core.internal.sca.SCAInternalObjectImpl
                      extended by org.eclipse.stp.core.sca.impl.PropertyImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, SCAInternalObject, Property, SCAObject

public class PropertyImpl
extends SCAInternalObjectImpl
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.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
static java.lang.String copyright
           
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
           
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 org.eclipse.emf.ecore.util.FeatureMap getAny()
           
 org.eclipse.emf.ecore.util.FeatureMap getAnyAttribute()
           
 java.lang.String getDefault()
           
 java.lang.String getName()
           
 java.lang.Object getType()
           
 boolean isMany()
           
 boolean isRequired()
           
 boolean isSetMany()
           
 boolean isSetRequired()
           
 void setDefault(java.lang.String newDefault)
           
 void setMany(boolean newMany)
           
 void setName(java.lang.String newName)
           
 void setRequired(boolean newRequired)
           
 void setType(java.lang.Object newType)
           
 java.lang.String toString()
           
 void unsetMany()
           
 void unsetRequired()
           
 
Methods inherited from class org.eclipse.stp.core.internal.sca.SCAInternalObjectImpl
getEObject, getFlags
 
Methods inherited from class org.eclipse.stp.core.sca.impl.SCAObjectImpl
addStatus, clearStatus, getStatus
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.stp.core.sca.SCAObject
addStatus, clearStatus, getEObject, getFlags, getStatus
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eResource
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eNotify
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getAny

public org.eclipse.emf.ecore.util.FeatureMap getAny()

Specified by:
getAny in interface Property
Returns:
the value of the 'Any' attribute list.
See Also:
SCAPackage.getProperty_Any()

getDefault

public java.lang.String getDefault()

Specified by:
getDefault in interface Property
Returns:
the value of the 'Default' attribute.
See Also:
Property.setDefault(String), SCAPackage.getProperty_Default()

setDefault

public void setDefault(java.lang.String newDefault)

Specified by:
setDefault in interface Property
Parameters:
newDefault - the new value of the 'Default' attribute.
See Also:
Property.getDefault()

isMany

public boolean isMany()

Specified by:
isMany in interface Property
Returns:
the value of the 'Many' attribute.
See Also:
Property.isSetMany(), Property.unsetMany(), Property.setMany(boolean), SCAPackage.getProperty_Many()

setMany

public void setMany(boolean newMany)

Specified by:
setMany in interface Property
Parameters:
newMany - the new value of the 'Many' attribute.
See Also:
Property.isSetMany(), Property.unsetMany(), Property.isMany()

unsetMany

public void unsetMany()

Specified by:
unsetMany in interface Property
See Also:
Property.isSetMany(), Property.isMany(), Property.setMany(boolean)

isSetMany

public boolean isSetMany()

Specified by:
isSetMany in interface Property
Returns:
whether the value of the 'Many' attribute is set.
See Also:
Property.unsetMany(), Property.isMany(), Property.setMany(boolean)

getName

public java.lang.String getName()

Specified by:
getName in interface Property
Specified by:
getName in interface SCAObject
Overrides:
getName in class SCAInternalObjectImpl
Returns:
The name of this SCAObject
See Also:
Property.setName(String), SCAPackage.getProperty_Name()

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface Property
Specified by:
setName in interface SCAObject
Overrides:
setName in class SCAInternalObjectImpl
Parameters:
newName - The name of this SCAObject
See Also:
Property.getName()

isRequired

public boolean isRequired()

Specified by:
isRequired in interface Property
Returns:
the value of the 'Required' attribute.
See Also:
Property.isSetRequired(), Property.unsetRequired(), Property.setRequired(boolean), SCAPackage.getProperty_Required()

setRequired

public void setRequired(boolean newRequired)

Specified by:
setRequired in interface Property
Parameters:
newRequired - the new value of the 'Required' attribute.
See Also:
Property.isSetRequired(), Property.unsetRequired(), Property.isRequired()

unsetRequired

public void unsetRequired()

Specified by:
unsetRequired in interface Property
See Also:
Property.isSetRequired(), Property.isRequired(), Property.setRequired(boolean)

isSetRequired

public boolean isSetRequired()

Specified by:
isSetRequired in interface Property
Returns:
whether the value of the 'Required' attribute is set.
See Also:
Property.unsetRequired(), Property.isRequired(), Property.setRequired(boolean)

getType

public java.lang.Object getType()

Specified by:
getType in interface Property
Returns:
the value of the 'Type' attribute.
See Also:
Property.setType(Object), SCAPackage.getProperty_Type()

setType

public void setType(java.lang.Object newType)

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

getAnyAttribute

public org.eclipse.emf.ecore.util.FeatureMap getAnyAttribute()

Specified by:
getAnyAttribute in interface Property
Returns:
the value of the 'Any Attribute' attribute list.
See Also:
SCAPackage.getProperty_AnyAttribute()

eInverseRemove

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

Specified by:
eInverseRemove in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

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

Specified by:
eGet in interface org.eclipse.emf.ecore.EObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

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

Specified by:
eSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eUnset

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

Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsSet

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

Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

toString

public java.lang.String toString()

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