public interface Property extends BasicProperty, AbstractNamedValue, ArraySizeProperty
The following features are supported:
Aadl2Package.getProperty()
Modifier and Type | Method and Description |
---|---|
PropertyOwner |
createAppliesTo(org.eclipse.emf.ecore.EClass eClass)
Creates a new
PropertyOwner and appends it to the 'Applies To' containment reference list. |
PropertyExpression |
createDefaultValue(org.eclipse.emf.ecore.EClass eClass)
Creates a new
PropertyExpression and sets the 'Default Value' containment reference. |
java.util.List<EvaluatedProperty> |
evaluate(EvaluationContext ctx)
Evaluate a referenced property.
|
EvaluatedProperty |
evaluateDefault(EvaluationContext ctx) |
org.eclipse.emf.common.util.EList<Classifier> |
getAppliesToClassifiers()
Returns the value of the 'Applies To Classifier' reference list.
|
org.eclipse.emf.common.util.EList<MetaclassReference> |
getAppliesToMetaclasses()
Returns the value of the 'Applies To Metaclass' reference list.
|
org.eclipse.emf.common.util.EList<PropertyOwner> |
getAppliesTos()
Returns the value of the 'Applies To' containment reference list.
|
PropertyExpression |
getDefaultValue()
Returns the value of the 'Default Value' containment reference.
|
boolean |
isEmptyListDefault()
Returns the value of the 'Empty List Default' attribute.
|
boolean |
isInherit()
Returns the value of the 'Inherit' attribute.
|
void |
setDefaultValue(PropertyExpression value)
Sets the value of the '
Default Value ' containment reference. |
void |
setEmptyListDefault(boolean value)
Sets the value of the '
Empty List Default ' attribute. |
void |
setInherit(boolean value)
Sets the value of the '
Inherit ' attribute. |
createOwnedPropertyType, getOwnedPropertyType, getPropertyType, isList, setOwnedPropertyType, setPropertyType
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
boolean isInherit()
If the meaning of the 'Inherit' attribute isn't clear, there really should be more of a description here...
setInherit(boolean)
,
Aadl2Package.getProperty_Inherit()
void setInherit(boolean value)
Inherit
' attribute.
value
- the new value of the 'Inherit' attribute.isInherit()
PropertyExpression getDefaultValue()
If the meaning of the 'Default Value' containment reference isn't clear, there really should be more of a description here...
setDefaultValue(PropertyExpression)
,
Aadl2Package.getProperty_DefaultValue()
void setDefaultValue(PropertyExpression value)
Default Value
' containment reference.
value
- the new value of the 'Default Value' containment reference.getDefaultValue()
org.eclipse.emf.common.util.EList<PropertyOwner> getAppliesTos()
PropertyOwner
.
If the meaning of the 'Applies To' attribute list isn't clear, there really should be more of a description here...
Aadl2Package.getProperty_AppliesTo()
PropertyOwner createAppliesTo(org.eclipse.emf.ecore.EClass eClass)
PropertyOwner
and appends it to the 'Applies To' containment reference list.
eClass
- The Ecore class of the PropertyOwner
to create.PropertyOwner
.getAppliesTos()
boolean isEmptyListDefault()
If the meaning of the 'Empty List Default' attribute isn't clear, there really should be more of a description here...
setEmptyListDefault(boolean)
,
Aadl2Package.getProperty_EmptyListDefault()
void setEmptyListDefault(boolean value)
Empty List Default
' attribute.
value
- the new value of the 'Empty List Default' attribute.isEmptyListDefault()
PropertyExpression createDefaultValue(org.eclipse.emf.ecore.EClass eClass)
PropertyExpression
and sets the 'Default Value' containment reference.
eClass
- The Ecore class of the PropertyExpression
to create.PropertyExpression
.getDefaultValue()
org.eclipse.emf.common.util.EList<MetaclassReference> getAppliesToMetaclasses()
MetaclassReference
.
If the meaning of the 'Applies To Metaclass' reference list isn't clear, there really should be more of a description here...
Aadl2Package.getProperty_AppliesToMetaclass()
org.eclipse.emf.common.util.EList<Classifier> getAppliesToClassifiers()
Classifier
.
If the meaning of the 'Applies To Classifier' reference list isn't clear, there really should be more of a description here...
Aadl2Package.getProperty_AppliesToClassifier()
java.util.List<EvaluatedProperty> evaluate(EvaluationContext ctx)
InvalidModelException
- Thrown if there is a problem with the
model that prevents the property value from being evaluated.EvaluatedProperty evaluateDefault(EvaluationContext ctx)