|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
edu.cmu.sei.aadl.model.core.impl.AObjectImpl
edu.cmu.sei.aadl.model.core.impl.NamedElementImpl
edu.cmu.sei.aadl.model.property.impl.PropertyTypeImpl
edu.cmu.sei.aadl.model.property.impl.PropertyConstantTypeImpl
edu.cmu.sei.aadl.model.property.impl.NumberTypeImpl
public class NumberTypeImpl
An implementation of the model object 'Number Type'.
The following features are implemented:
Note: This class is abstract in the metamodel.
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 NumberOrPropertyReference |
lower
The cached value of the ' Lower ' containment reference |
protected ParsedPropertyReference |
parsedPropertyReference
the parsed proeprty reference names |
protected UnitsType |
propertyType
The cached value of the ' Property Type ' containment reference |
protected UnitsType |
propertyTypeReference
The cached value of the ' Property Type Reference ' reference |
protected NumberOrPropertyReference |
upper
The cached value of the ' Upper ' containment 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 |
NumberTypeImpl()
|
Method Summary | |
---|---|
java.lang.String |
acceptsValuesOfType(PropertyType pt)
Test whether this type accepts values of the given type. |
UnitsType |
basicGetPropertyTypeReference()
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetLower(NumberOrPropertyReference newLower,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetPropertyType(UnitsType newPropertyType,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetUpper(NumberOrPropertyReference newUpper,
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)
|
NumberOrPropertyReference |
getLower()
|
ParsedPropertyReference |
getParsedPropertyReference()
returns parsed property reference object |
UnitsType |
getPropertyType()
|
UnitsType |
getPropertyTypeReference()
|
UnitsType |
getTheUnitsType()
Get the units type of the type, if any. |
UnitsType |
getUnitsType()
|
UnitsType |
getUnitsTypeReference()
|
NumberOrPropertyReference |
getUpper()
|
protected java.lang.String |
isCorrectValue(PropertyValue pv)
Is the property value of the appropriate implementation type to be a value of this aadl type? |
protected java.lang.String |
outOfRangeMessage(double lower,
double upper)
|
void |
setLower(NumberOrPropertyReference newLower)
|
void |
setParsedPropertyReference(ParsedPropertyReference pr)
sets parsed names for property reference |
void |
setPropertyType(UnitsType newPropertyType)
|
void |
setPropertyTypeReference(UnitsType newPropertyTypeReference)
|
void |
setUnitsType(UnitsType newUnitsType)
|
void |
setUnitsTypeReference(UnitsType newUnitsTypeReference)
Convenience method to set PropertyTypeRefence |
void |
setUpper(NumberOrPropertyReference newUpper)
|
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 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 |
---|
public static final java.lang.String copyright
protected UnitsType propertyTypeReference
Property Type Reference
' reference.
getPropertyTypeReference()
protected UnitsType propertyType
Property Type
' containment reference.
getPropertyType()
protected NumberOrPropertyReference lower
Lower
' containment reference.
getLower()
protected NumberOrPropertyReference upper
Upper
' containment reference.
getUpper()
protected ParsedPropertyReference parsedPropertyReference
Constructor Detail |
---|
protected NumberTypeImpl()
Method Detail |
---|
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class PropertyConstantTypeImpl
public UnitsType getPropertyTypeReference()
getPropertyTypeReference
in interface NumberType
NumberType.setPropertyTypeReference(UnitsType)
,
PropertyPackage.getNumberType_PropertyTypeReference()
public UnitsType basicGetPropertyTypeReference()
public void setPropertyTypeReference(UnitsType newPropertyTypeReference)
setPropertyTypeReference
in interface NumberType
newPropertyTypeReference
- the new value of the 'Property Type Reference' reference.NumberType.getPropertyTypeReference()
public UnitsType getPropertyType()
getPropertyType
in interface NumberType
NumberType.setPropertyType(UnitsType)
,
PropertyPackage.getNumberType_PropertyType()
public org.eclipse.emf.common.notify.NotificationChain basicSetPropertyType(UnitsType newPropertyType, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setPropertyType(UnitsType newPropertyType)
setPropertyType
in interface NumberType
newPropertyType
- the new value of the 'Property Type' containment reference.NumberType.getPropertyType()
public NumberOrPropertyReference getLower()
getLower
in interface NumberType
NumberType.setLower(NumberOrPropertyReference)
,
PropertyPackage.getNumberType_Lower()
public org.eclipse.emf.common.notify.NotificationChain basicSetLower(NumberOrPropertyReference newLower, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setLower(NumberOrPropertyReference newLower)
setLower
in interface NumberType
newLower
- the new value of the 'Lower' containment reference.NumberType.getLower()
public NumberOrPropertyReference getUpper()
getUpper
in interface NumberType
NumberType.setUpper(NumberOrPropertyReference)
,
PropertyPackage.getNumberType_Upper()
public org.eclipse.emf.common.notify.NotificationChain basicSetUpper(NumberOrPropertyReference newUpper, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setUpper(NumberOrPropertyReference newUpper)
setUpper
in interface NumberType
newUpper
- the new value of the 'Upper' containment reference.NumberType.getUpper()
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class NamedElementImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class NamedElementImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class NamedElementImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class NamedElementImpl
public UnitsType getUnitsTypeReference()
getUnitsTypeReference
in interface NumberType
NumberType.setUnitsTypeReference(UnitsType)
public void setUnitsTypeReference(UnitsType newUnitsTypeReference)
setUnitsTypeReference
in interface NumberType
newUnitsTypeReference
- the new value of the 'Units Type Reference' reference.NumberType.getUnitsTypeReference()
public UnitsType getUnitsType()
getUnitsType
in interface NumberType
NumberType.setUnitsType(UnitsType)
public void setUnitsType(UnitsType newUnitsType)
setUnitsType
in interface NumberType
newUnitsType
- the new value of the 'Units Type' containment reference.NumberType.getUnitsType()
public void setParsedPropertyReference(ParsedPropertyReference pr)
setParsedPropertyReference
in interface NumberType
pr
- parsed property reference objectpublic ParsedPropertyReference getParsedPropertyReference()
getParsedPropertyReference
in interface NumberType
public final UnitsType getTheUnitsType()
NumberType
unitsType
or
unnamedunitsType
,
which are never both non-null
.
getTheUnitsType
in interface NumberType
protected java.lang.String outOfRangeMessage(double lower, double upper)
protected final java.lang.String containsNonRefValue(PropertyValue pv)
PropertyTypeImpl
containsNonRefValue
in class PropertyTypeImpl
protected java.lang.String isCorrectValue(PropertyValue pv)
Dummy implementation here.
public final java.lang.String acceptsValuesOfType(PropertyType pt)
PropertyType
acceptsValuesOfType
in interface PropertyType
acceptsValuesOfType
in class PropertyTypeImpl
pt
- The property type to test
PropertyType.VALUE_OKAY
when pt
is acceptable,
otherwise it returns a string containing an error message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |