public class PropertyImpl extends BasicPropertyImpl implements Property
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 |
---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetDefaultValue(PropertyExpression newDefaultValue,
org.eclipse.emf.common.notify.NotificationChain msgs) |
PropertyOwner |
createAppliesTo(org.eclipse.emf.ecore.EClass eClass) |
PropertyExpression |
createDefaultValue(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) |
boolean |
equals(java.lang.Object p) |
void |
eSet(int featureID,
java.lang.Object newValue) |
void |
eUnset(int featureID) |
java.util.List<EvaluatedProperty> |
evaluate(EvaluationContext ctx)
Evaluate a referenced property.
|
EvaluatedProperty |
evaluateDefault(EvaluationContext ctx) |
org.eclipse.emf.common.util.EList<Classifier> |
getAppliesToClassifiers() |
org.eclipse.emf.common.util.EList<MetaclassReference> |
getAppliesToMetaclasses() |
org.eclipse.emf.common.util.EList<PropertyOwner> |
getAppliesTos() |
PropertyExpression |
getDefaultValue() |
void |
getPropertyValueInternal(EvaluationContext ctx,
PropertyAcc paa) |
int |
hashCode() |
boolean |
isEmptyListDefault() |
boolean |
isInherit() |
void |
setDefaultValue(PropertyExpression newDefaultValue) |
void |
setEmptyListDefault(boolean newEmptyListDefault) |
void |
setInherit(boolean newInherit) |
java.lang.String |
toString() |
basicGetPropertyType, basicGetPropertyTypeGen, basicGetType, basicSetOwnedPropertyType, createOwnedPropertyType, getOwnedPropertyType, getPropertyType, getPropertyTypeGen, getType, isList, isSetPropertyType, isSetPropertyTypeGen, isSetType, setOwnedPropertyType, setPropertyType, 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, 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
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
public boolean isInherit()
isInherit
in interface Property
Property.setInherit(boolean)
,
Aadl2Package.getProperty_Inherit()
public void setInherit(boolean newInherit)
setInherit
in interface Property
newInherit
- the new value of the 'Inherit' attribute.Property.isInherit()
public PropertyExpression getDefaultValue()
getDefaultValue
in interface Property
Property.setDefaultValue(PropertyExpression)
,
Aadl2Package.getProperty_DefaultValue()
public org.eclipse.emf.common.notify.NotificationChain basicSetDefaultValue(PropertyExpression newDefaultValue, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setDefaultValue(PropertyExpression newDefaultValue)
setDefaultValue
in interface Property
newDefaultValue
- the new value of the 'Default Value' containment reference.Property.getDefaultValue()
public org.eclipse.emf.common.util.EList<PropertyOwner> getAppliesTos()
getAppliesTos
in interface Property
Aadl2Package.getProperty_AppliesTo()
public PropertyOwner createAppliesTo(org.eclipse.emf.ecore.EClass eClass)
createAppliesTo
in interface Property
eClass
- The Ecore class of the PropertyOwner
to create.PropertyOwner
.Property.getAppliesTos()
public boolean isEmptyListDefault()
isEmptyListDefault
in interface Property
Property.setEmptyListDefault(boolean)
,
Aadl2Package.getProperty_EmptyListDefault()
public void setEmptyListDefault(boolean newEmptyListDefault)
setEmptyListDefault
in interface Property
newEmptyListDefault
- the new value of the 'Empty List Default' attribute.Property.isEmptyListDefault()
public PropertyExpression createDefaultValue(org.eclipse.emf.ecore.EClass eClass)
createDefaultValue
in interface Property
eClass
- The Ecore class of the PropertyExpression
to create.PropertyExpression
.Property.getDefaultValue()
public org.eclipse.emf.common.util.EList<MetaclassReference> getAppliesToMetaclasses()
getAppliesToMetaclasses
in interface Property
Aadl2Package.getProperty_AppliesToMetaclass()
public org.eclipse.emf.common.util.EList<Classifier> getAppliesToClassifiers()
getAppliesToClassifiers
in interface Property
Aadl2Package.getProperty_AppliesToClassifier()
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 BasicPropertyImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class BasicPropertyImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class BasicPropertyImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class BasicPropertyImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class BasicPropertyImpl
public java.lang.String toString()
toString
in class NamedElementImpl
public java.util.List<EvaluatedProperty> evaluate(EvaluationContext ctx)
Property
public final void getPropertyValueInternal(EvaluationContext ctx, PropertyAcc paa) throws InvalidModelException
InvalidModelException
public EvaluatedProperty evaluateDefault(EvaluationContext ctx)
evaluateDefault
in interface Property
public boolean equals(java.lang.Object p)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object