edu.cmu.sei.aadl.model.property.impl
Class RangeTypeImpl

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 edu.cmu.sei.aadl.model.core.impl.AObjectImpl
                  extended by edu.cmu.sei.aadl.model.core.impl.NamedElementImpl
                      extended by edu.cmu.sei.aadl.model.property.impl.PropertyTypeImpl
                          extended by edu.cmu.sei.aadl.model.property.impl.PropertyConstantTypeImpl
                              extended by edu.cmu.sei.aadl.model.property.impl.RangeTypeImpl
All Implemented Interfaces:
AObject, NamedElement, PropertyConstantType, PropertyType, RangeType, org.eclipse.core.runtime.IAdaptable, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class RangeTypeImpl
extends PropertyConstantTypeImpl
implements RangeType

An implementation of the model object 'Range Type'.

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
static java.lang.String copyright
           
protected  ParsedPropertyReference parsedPropertyReference
          the parsed proeprty reference names
protected  NumberType propertyType
          The cached value of the 'Property Type' containment reference
protected  NumberType propertyTypeReference
          The cached value of the 'Property Type Reference' reference
 
Fields inherited from class edu.cmu.sei.aadl.model.core.impl.NamedElementImpl
name, NAME_EDEFAULT
 
Fields inherited from class edu.cmu.sei.aadl.model.core.impl.AObjectImpl
comment, locationReference
 
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 edu.cmu.sei.aadl.model.property.PropertyType
VALUE_OKAY
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected RangeTypeImpl()
           
 
Method Summary
 java.lang.String acceptsValuesOfType(PropertyType pt)
          Test whether this type accepts values of the given type.
 NumberType basicGetPropertyTypeReference()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetPropertyType(NumberType newPropertyType, org.eclipse.emf.common.notify.NotificationChain msgs)
           
protected  java.lang.String containsNonRefValue(PropertyValue pv)
          Dummy impl here.
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 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)
           
 NumberType getNumberType()
          Convenience method to call on PropertyType method
 NumberType getNumberTypeReference()
          Convenience method to call on PropertyType method
 ParsedPropertyReference getParsedPropertyReference()
          returns parsed property reference object
 NumberType getPropertyType()
           
 NumberType getPropertyTypeReference()
           
 NumberType getTheNumberType()
          Get the number type of the range, whether it is unnamed or not.
 void setNumberType(NumberType newNumberType)
          Convenience method to call on PropertyType method
 void setNumberTypeReference(NumberType newNumberType)
          Convenience method to call on PropertyType method
 void setParsedPropertyReference(ParsedPropertyReference pr)
          sets parsed names for property reference
 void setPropertyType(NumberType newPropertyType)
           
 void setPropertyTypeReference(NumberType newPropertyTypeReference)
           
 
Methods inherited from class edu.cmu.sei.aadl.model.property.impl.PropertyTypeImpl
containsValue, getPropertySet, getQualifiedName
 
Methods inherited from class edu.cmu.sei.aadl.model.core.impl.NamedElementImpl
checkName, getName, setName, toString
 
Methods inherited from class edu.cmu.sei.aadl.model.core.impl.AObjectImpl
addComment, eObjectForURIFragmentSegment, eURIFragmentSegment, getAadlSpec, getAdapter, getAObjectRoot, getChildren, getComment, getContainingClassifier, getContainingClassifierNameSpace, getContainingComponentImpl, getContainingComponentType, getContainingPropertyAssociationDefinitionConstant, getContainingSubcomponent, getLocationReference, getReferencedObject, getSecondReferencedObject, getSystemInstance, setLocationReference, setLocationReference
 
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, eBasicRemoveFromContainerFeature, 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, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, 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 edu.cmu.sei.aadl.model.property.PropertyType
containsValue, getPropertySet, getQualifiedName
 
Methods inherited from interface edu.cmu.sei.aadl.model.core.NamedElement
getName, setName
 
Methods inherited from interface edu.cmu.sei.aadl.model.core.AObject
addComment, getAadlSpec, getAObjectRoot, getChildren, getComment, getContainingClassifier, getContainingClassifierNameSpace, getContainingComponentImpl, getContainingComponentType, getContainingPropertyAssociationDefinitionConstant, getContainingSubcomponent, getLocationReference, getReferencedObject, getSecondReferencedObject, getSystemInstance, setLocationReference, setLocationReference
 
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.core.runtime.IAdaptable
getAdapter
 
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

propertyType

protected NumberType propertyType
The cached value of the 'Property Type' containment reference.

See Also:
getPropertyType()

propertyTypeReference

protected NumberType propertyTypeReference
The cached value of the 'Property Type Reference' reference.

See Also:
getPropertyTypeReference()

parsedPropertyReference

protected ParsedPropertyReference parsedPropertyReference
the parsed proeprty reference names

Constructor Detail

RangeTypeImpl

protected RangeTypeImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class PropertyConstantTypeImpl

getPropertyType

public NumberType getPropertyType()

Specified by:
getPropertyType in interface RangeType
Returns:
the value of the 'Property Type' containment reference.
See Also:
RangeType.setPropertyType(NumberType), PropertyPackage.getRangeType_PropertyType()

basicSetPropertyType

public org.eclipse.emf.common.notify.NotificationChain basicSetPropertyType(NumberType newPropertyType,
                                                                            org.eclipse.emf.common.notify.NotificationChain msgs)


setPropertyType

public void setPropertyType(NumberType newPropertyType)

Specified by:
setPropertyType in interface RangeType
Parameters:
newPropertyType - the new value of the 'Property Type' containment reference.
See Also:
RangeType.getPropertyType()

getPropertyTypeReference

public NumberType getPropertyTypeReference()

Specified by:
getPropertyTypeReference in interface RangeType
Returns:
the value of the 'Property Type Reference' reference.
See Also:
RangeType.setPropertyTypeReference(NumberType), PropertyPackage.getRangeType_PropertyTypeReference()

basicGetPropertyTypeReference

public NumberType basicGetPropertyTypeReference()


setPropertyTypeReference

public void setPropertyTypeReference(NumberType newPropertyTypeReference)

Specified by:
setPropertyTypeReference in interface RangeType
Parameters:
newPropertyTypeReference - the new value of the 'Property Type Reference' reference.
See Also:
RangeType.getPropertyTypeReference()

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

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 NamedElementImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

getNumberType

public NumberType getNumberType()
Convenience method to call on PropertyType method

Specified by:
getNumberType in interface RangeType
Returns:
the value of the 'Number Type' containment reference.
See Also:
RangeType.setNumberType(NumberType)

setNumberType

public void setNumberType(NumberType newNumberType)
Convenience method to call on PropertyType method

Specified by:
setNumberType in interface RangeType
Parameters:
newNumberType - the new value of the 'Number Type' containment reference.
See Also:
RangeType.getNumberType()

setNumberTypeReference

public void setNumberTypeReference(NumberType newNumberType)
Convenience method to call on PropertyType method

Specified by:
setNumberTypeReference in interface RangeType
Parameters:
newNumberType - the new value of the 'Number Type Reference' reference.

getNumberTypeReference

public NumberType getNumberTypeReference()
Convenience method to call on PropertyType method

Specified by:
getNumberTypeReference in interface RangeType
Returns:
the value of the 'Number Type Reference' reference.
See Also:
RangeType.setNumberTypeReference(NumberType)

getTheNumberType

public NumberType getTheNumberType()
Description copied from interface: RangeType
Get the number type of the range, whether it is unnamed or not.

Specified by:
getTheNumberType in interface RangeType

setParsedPropertyReference

public void setParsedPropertyReference(ParsedPropertyReference pr)
sets parsed names for property reference

Specified by:
setParsedPropertyReference in interface RangeType
Parameters:
pr - parsed property reference object

getParsedPropertyReference

public ParsedPropertyReference getParsedPropertyReference()
returns parsed property reference object

Specified by:
getParsedPropertyReference in interface RangeType
Returns:
ParsedPropertyReference

containsNonRefValue

protected final java.lang.String containsNonRefValue(PropertyValue pv)
Description copied from class: PropertyTypeImpl
Dummy impl here.

Overrides:
containsNonRefValue in class PropertyTypeImpl

acceptsValuesOfType

public final java.lang.String acceptsValuesOfType(PropertyType pt)
Description copied from interface: PropertyType
Test whether this type accepts values of the given type.

Specified by:
acceptsValuesOfType in interface PropertyType
Overrides:
acceptsValuesOfType in class PropertyTypeImpl
Parameters:
pt - The property type to test
Returns:
PropertyType.VALUE_OKAYwhen pt is acceptable, otherwise it returns a string containing an error message.