public class PropertyConstantImpl extends TypedElementImpl implements PropertyConstant
The following features are implemented:
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
copyright
Modifier and Type | Method and Description |
---|---|
PropertyType |
basicGetPropertyType() |
PropertyType |
basicGetPropertyTypeGen() |
Type |
basicGetType() |
org.eclipse.emf.common.notify.NotificationChain |
basicSetConstantValue(PropertyExpression newConstantValue,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetOwnedPropertyType(PropertyType newOwnedPropertyType,
org.eclipse.emf.common.notify.NotificationChain msgs) |
PropertyExpression |
createConstantValue(org.eclipse.emf.ecore.EClass eClass) |
PropertyType |
createOwnedPropertyType(org.eclipse.emf.ecore.EClass eClass) |
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) |
void |
eUnset(int featureID) |
EvaluatedProperty |
evaluate(EvaluationContext ctx)
Evaluate a referenced property.
|
PropertyExpression |
getConstantValue() |
PropertyType |
getOwnedPropertyType() |
PropertyType |
getPropertyType() |
PropertyType |
getPropertyTypeGen() |
Type |
getType() |
boolean |
isSetPropertyType() |
boolean |
isSetPropertyTypeGen() |
boolean |
isSetType() |
void |
setConstantValue(PropertyExpression newConstantValue) |
void |
setOwnedPropertyType(PropertyType newOwnedPropertyType) |
void |
setPropertyType(PropertyType newPropertyType) |
void |
setType(Type newType) |
acceptsProperty, allNamespaces, checkPropertyAssociation, createOwnedPropertyAssociation, getName, getNamespace, getNonModalPropertyValue, getOwnedPropertyAssociations, getPropertyValue, getPropertyValueInternal, getPropertyValueList, getPropertyValues, getQualifiedName, getSimplePropertyValue, has_no_qualified_name, has_qualified_name, hasName, isDistinguishableFrom, qualifiedName, removePropertyAssociations, removePropertyAssociations, separator, setName, setPropertyValue, setPropertyValue, setPropertyValue, toString
allOwnedElements, createOwnedComment, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwnedElements, getOwner, has_owner, isSetOwnedElements, mustBeOwned, not_own_self
getAdapter, getLocationReference, setLocationReference, setLocationReference
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
eNotificationRequired, eNotify
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
acceptsProperty, allNamespaces, checkPropertyAssociation, createOwnedPropertyAssociation, getName, getNamespace, getNonModalPropertyValue, getOwnedPropertyAssociations, getPropertyValue, getPropertyValueInternal, getPropertyValueList, getPropertyValues, getQualifiedName, getSimplePropertyValue, has_no_qualified_name, has_qualified_name, hasName, isDistinguishableFrom, qualifiedName, removePropertyAssociations, removePropertyAssociations, separator, setName, setPropertyValue, setPropertyValue, setPropertyValue
allOwnedElements, createOwnedComment, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwnedElements, getOwner, has_owner, mustBeOwned, not_own_self
getLocationReference, setLocationReference, setLocationReference
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
public PropertyType getPropertyTypeGen()
public PropertyType getPropertyType()
getPropertyType
in interface PropertyConstant
PropertyConstant.setPropertyType(PropertyType)
,
Aadl2Package.getPropertyConstant_PropertyType()
public PropertyType basicGetPropertyTypeGen()
public PropertyType basicGetPropertyType()
public void setPropertyType(PropertyType newPropertyType)
setPropertyType
in interface PropertyConstant
newPropertyType
- the new value of the 'Property Type' reference.PropertyConstant.getPropertyType()
public boolean isSetPropertyTypeGen()
public boolean isSetPropertyType()
public PropertyType getOwnedPropertyType()
getOwnedPropertyType
in interface PropertyConstant
PropertyConstant.setOwnedPropertyType(PropertyType)
,
Aadl2Package.getPropertyConstant_OwnedPropertyType()
public org.eclipse.emf.common.notify.NotificationChain basicSetOwnedPropertyType(PropertyType newOwnedPropertyType, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setOwnedPropertyType(PropertyType newOwnedPropertyType)
setOwnedPropertyType
in interface PropertyConstant
newOwnedPropertyType
- the new value of the 'Owned Property Type' containment reference.PropertyConstant.getOwnedPropertyType()
public PropertyType createOwnedPropertyType(org.eclipse.emf.ecore.EClass eClass)
createOwnedPropertyType
in interface PropertyConstant
eClass
- The Ecore class of the PropertyType
to create.PropertyType
.PropertyConstant.getOwnedPropertyType()
public Type getType()
getType
in interface TypedElement
getType
in class TypedElementImpl
TypedElement.setType(Type)
,
Aadl2Package.getTypedElement_Type()
public Type basicGetType()
basicGetType
in class TypedElementImpl
public void setType(Type newType)
setType
in interface TypedElement
setType
in class TypedElementImpl
newType
- the new value of the 'Type' reference.TypedElement.getType()
public boolean isSetType()
public PropertyExpression getConstantValue()
getConstantValue
in interface PropertyConstant
PropertyConstant.setConstantValue(PropertyExpression)
,
Aadl2Package.getPropertyConstant_ConstantValue()
public org.eclipse.emf.common.notify.NotificationChain basicSetConstantValue(PropertyExpression newConstantValue, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setConstantValue(PropertyExpression newConstantValue)
setConstantValue
in interface PropertyConstant
newConstantValue
- the new value of the 'Constant Value' containment reference.PropertyConstant.getConstantValue()
public PropertyExpression createConstantValue(org.eclipse.emf.ecore.EClass eClass)
createConstantValue
in interface PropertyConstant
eClass
- The Ecore class of the PropertyExpression
to create.PropertyExpression
.PropertyConstant.getConstantValue()
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 NamedElementImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class TypedElementImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class TypedElementImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class TypedElementImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class TypedElementImpl
public EvaluatedProperty evaluate(EvaluationContext ctx) throws InvalidModelException
PropertyConstant
evaluate
in interface PropertyConstant
null
, a
PropertyValue, or a list of PropertyValues. If the evaluation is
trivial, then this will be the same as the receiver.InvalidModelException
- Thrown if there is a problem with the
model that prevents the property value from being evaluated.