public interface PropertyConstant extends TypedElement, AbstractNamedValue, ArraySizeProperty
The following features are supported:
Aadl2Package.getPropertyConstant()
Modifier and Type | Method and Description |
---|---|
PropertyExpression |
createConstantValue(org.eclipse.emf.ecore.EClass eClass)
Creates a new
PropertyExpression and sets the 'Constant Value' containment reference. |
PropertyType |
createOwnedPropertyType(org.eclipse.emf.ecore.EClass eClass)
Creates a new
PropertyType and sets the 'Owned Property Type' containment reference. |
EvaluatedProperty |
evaluate(EvaluationContext ctx)
Evaluate a referenced property.
|
PropertyExpression |
getConstantValue()
Returns the value of the 'Constant Value' containment reference.
|
PropertyType |
getOwnedPropertyType()
Returns the value of the 'Owned Property Type' containment reference.
|
PropertyType |
getPropertyType()
Returns the value of the 'Property Type' reference.
|
void |
setConstantValue(PropertyExpression value)
Sets the value of the '
Constant Value ' containment reference. |
void |
setOwnedPropertyType(PropertyType value)
Sets the value of the '
Owned Property Type ' containment reference. |
void |
setPropertyType(PropertyType value)
Sets the value of the '
Property Type ' reference. |
getType, setType
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
PropertyType getPropertyType()
This feature redefines the following features:
Type
'If the meaning of the 'Property Type' reference isn't clear, there really should be more of a description here...
setPropertyType(PropertyType)
,
Aadl2Package.getPropertyConstant_PropertyType()
void setPropertyType(PropertyType value)
Property Type
' reference.
value
- the new value of the 'Property Type' reference.getPropertyType()
PropertyType getOwnedPropertyType()
This feature subsets the following features:
If the meaning of the 'Owned Property Type' containment reference isn't clear, there really should be more of a description here...
setOwnedPropertyType(PropertyType)
,
Aadl2Package.getPropertyConstant_OwnedPropertyType()
void setOwnedPropertyType(PropertyType value)
Owned Property Type
' containment reference.
value
- the new value of the 'Owned Property Type' containment reference.getOwnedPropertyType()
PropertyType createOwnedPropertyType(org.eclipse.emf.ecore.EClass eClass)
PropertyType
and sets the 'Owned Property Type' containment reference.
eClass
- The Ecore class of the PropertyType
to create.PropertyType
.getOwnedPropertyType()
PropertyExpression getConstantValue()
If the meaning of the 'Constant Value' containment reference isn't clear, there really should be more of a description here...
setConstantValue(PropertyExpression)
,
Aadl2Package.getPropertyConstant_ConstantValue()
void setConstantValue(PropertyExpression value)
Constant Value
' containment reference.
value
- the new value of the 'Constant Value' containment reference.getConstantValue()
PropertyExpression createConstantValue(org.eclipse.emf.ecore.EClass eClass)
PropertyExpression
and sets the 'Constant Value' containment reference.
eClass
- The Ecore class of the PropertyExpression
to create.PropertyExpression
.getConstantValue()
EvaluatedProperty evaluate(EvaluationContext ctx) throws InvalidModelException
sign
- The referenceSign
value from the containing
Operation.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.