|
||||||||||
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.core.impl.PropertyHolderImpl
edu.cmu.sei.aadl.model.core.impl.ModeMemberImpl
edu.cmu.sei.aadl.model.property.impl.PropertyAssociationImpl
public class PropertyAssociationImpl
An implementation of the model object 'Association'.
The following features are implemented:
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 | |
---|---|
protected boolean |
access
The cached value of the ' Access ' attribute |
protected static boolean |
ACCESS_EDEFAULT
The default value of the ' Access ' attribute |
protected boolean |
append
The cached value of the ' Append ' attribute |
protected static boolean |
APPEND_EDEFAULT
The default value of the ' Append ' attribute |
protected org.eclipse.emf.common.util.EList |
appliesTo
The cached value of the ' Applies To ' reference list |
protected org.eclipse.emf.common.util.EList |
classifierReference
holds classifier references for bindings |
protected org.eclipse.emf.common.util.EList |
componentPath
The cached value of the ' Component Path ' attribute list. |
protected boolean |
constant
The cached value of the ' Constant ' attribute |
protected static boolean |
CONSTANT_EDEFAULT
The default value of the ' Constant ' attribute |
static java.lang.String |
copyright
|
protected boolean |
derived
The cached value of the ' Derived ' attribute |
protected static boolean |
DERIVED_EDEFAULT
The default value of the ' Derived ' attribute |
protected org.eclipse.emf.common.util.EList |
inBinding
The cached value of the ' In Binding ' reference list |
protected PropertyDefinition |
propertyDefinition
The cached value of the ' Property Definition ' reference |
protected ParsedPropertyReference |
propertyReference
holds parsed propertyset/property name as classifier reference |
protected org.eclipse.emf.common.util.EList |
propertyValue
The cached value of the ' Property Value ' containment reference list |
Fields inherited from class edu.cmu.sei.aadl.model.core.impl.ModeMemberImpl |
---|
inModes, modeName, NO_MODE_EDEFAULT, noMode |
Fields inherited from class edu.cmu.sei.aadl.model.core.impl.PropertyHolderImpl |
---|
properties |
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 org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
protected |
PropertyAssociationImpl()
|
Method Summary | |
---|---|
boolean |
acceptsProperty(PropertyDefinition property)
Problem: PropertieAssociation really shouldn't be a PropertyHolder, but is because ModeMember extends PropertyHolder. |
void |
addAppliesTo(PropertyHolder newAppliesTo)
phf: add element to multiplicity EList |
void |
addClassifierReference(ClassifierReference cr)
set extends reference names from ClassifierReference |
void |
addComponentPath(java.lang.String newComponentPath)
parsed component path element is added |
void |
addInBinding(ComponentClassifier newInBinding)
phf: add element to multiplicity EList |
void |
addPropertyValue(org.eclipse.emf.common.util.EList newPropertyValueList)
Add a proeprty value list as property value |
void |
addPropertyValue(PropertyValue newPropertyValue)
phf: add element to multiplicity EList |
PropertyDefinition |
basicGetPropertyDefinition()
|
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)
|
org.eclipse.emf.common.util.EList |
getAppliesTo()
|
org.eclipse.emf.common.util.EList |
getClassifierReference()
get bindings references from ClassifierReference |
org.eclipse.emf.common.util.EList |
getComponentPath()
returns list of string representing component path |
org.eclipse.emf.common.util.EList |
getInBinding()
|
ParsedPropertyReference |
getParsedPropertyReference()
get the parsed property reference |
org.eclipse.emf.common.util.EList |
getPropertyAssociation()
Property associations cannot have property associations |
PropertyDefinition |
getPropertyDefinition()
|
org.eclipse.emf.common.util.EList |
getPropertyValue()
|
java.lang.String |
getQualifiedName()
get the qualified property name |
AadlPropertyValue |
getValue()
Get the value from the property assocation abstracted as a AadlPropertyValue . |
boolean |
isAccess()
|
boolean |
isAppend()
|
boolean |
isConstant()
|
boolean |
isDerived()
|
void |
setAccess(boolean newAccess)
phf: we want an add version for EList |
void |
setAppend(boolean newAppend)
phf: we want an add version for EList |
void |
setConstant(boolean newConstant)
phf: we want an add version for EList |
void |
setDerived(boolean newDerived)
|
void |
setParsedPropertyReference(ParsedPropertyReference pr)
set the parsed property reference |
void |
setPropertyDefinition(PropertyDefinition newPropertyDefinition)
phf: we want an add version for EList |
java.lang.String |
toString()
|
Methods inherited from class edu.cmu.sei.aadl.model.core.impl.ModeMemberImpl |
---|
addInModes, addModeName, eInverseAdd, getAllInModes, getInModes, getModeName, getPropertyValueInternal, isAllInMode, isInMode, isNoMode, setNoMode |
Methods inherited from class edu.cmu.sei.aadl.model.core.impl.NamedElementImpl |
---|
checkName, getName, setName |
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, 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.core.ModeMember |
---|
addInModes, addModeName, getAllInModes, getInModes, getModeName, isAllInMode, isInMode, isNoMode, setNoMode |
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 PropertyDefinition propertyDefinition
Property Definition
' reference.
getPropertyDefinition()
protected org.eclipse.emf.common.util.EList propertyValue
Property Value
' containment reference list.
getPropertyValue()
protected org.eclipse.emf.common.util.EList inBinding
In Binding
' reference list.
getInBinding()
protected org.eclipse.emf.common.util.EList classifierReference
protected ParsedPropertyReference propertyReference
protected static final boolean CONSTANT_EDEFAULT
Constant
' attribute.
isConstant()
,
Constant Field Valuesprotected boolean constant
Constant
' attribute.
isConstant()
protected static final boolean ACCESS_EDEFAULT
Access
' attribute.
isAccess()
,
Constant Field Valuesprotected boolean access
Access
' attribute.
isAccess()
protected static final boolean APPEND_EDEFAULT
Append
' attribute.
isAppend()
,
Constant Field Valuesprotected boolean append
Append
' attribute.
isAppend()
protected org.eclipse.emf.common.util.EList componentPath
Component Path
' attribute list.
protected org.eclipse.emf.common.util.EList appliesTo
Applies To
' reference list.
getAppliesTo()
protected static final boolean DERIVED_EDEFAULT
Derived
' attribute.
isDerived()
,
Constant Field Valuesprotected boolean derived
Derived
' attribute.
isDerived()
Constructor Detail |
---|
protected PropertyAssociationImpl()
Method Detail |
---|
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class ModeMemberImpl
public PropertyDefinition getPropertyDefinition()
getPropertyDefinition
in interface PropertyAssociation
PropertyAssociation.setPropertyDefinition(PropertyDefinition)
,
PropertyPackage.getPropertyAssociation_PropertyDefinition()
public PropertyDefinition basicGetPropertyDefinition()
public void setPropertyDefinition(PropertyDefinition newPropertyDefinition)
setPropertyDefinition
in interface PropertyAssociation
newPropertyDefinition
- the new value of the 'Property Definition' reference.PropertyAssociation.getPropertyDefinition()
public org.eclipse.emf.common.util.EList getPropertyValue()
getPropertyValue
in interface PropertyAssociation
PropertyPackage.getPropertyAssociation_PropertyValue()
public void addPropertyValue(PropertyValue newPropertyValue)
addPropertyValue
in interface PropertyAssociation
newPropertyValue
- the value to add to 'Property Value' containment reference list.public void addPropertyValue(org.eclipse.emf.common.util.EList newPropertyValueList)
addPropertyValue
in interface PropertyAssociation
newPropertyValueList
- EList of PropertyValuepublic org.eclipse.emf.common.util.EList getInBinding()
getInBinding
in interface PropertyAssociation
PropertyPackage.getPropertyAssociation_InBinding()
public void addInBinding(ComponentClassifier newInBinding)
addInBinding
in interface PropertyAssociation
newInBinding
- the value to add to 'In Binding' reference list.public org.eclipse.emf.common.util.EList getAppliesTo()
getAppliesTo
in interface PropertyAssociation
PropertyPackage.getPropertyAssociation_AppliesTo()
public void addAppliesTo(PropertyHolder newAppliesTo)
addAppliesTo
in interface PropertyAssociation
newAppliesTo
- the value to add to 'Applies To' reference list.public boolean isDerived()
isDerived
in interface PropertyAssociation
PropertyAssociation.setDerived(boolean)
,
PropertyPackage.getPropertyAssociation_Derived()
public void setDerived(boolean newDerived)
setDerived
in interface PropertyAssociation
newDerived
- the new value of the 'Derived' attribute.PropertyAssociation.isDerived()
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 ModeMemberImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class ModeMemberImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class ModeMemberImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class ModeMemberImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class ModeMemberImpl
public boolean isConstant()
isConstant
in interface PropertyAssociation
PropertyAssociation.setConstant(boolean)
,
PropertyPackage.getPropertyAssociation_Constant()
public void setConstant(boolean newConstant)
setConstant
in interface PropertyAssociation
newConstant
- the new value of the 'Constant' attribute.PropertyAssociation.isConstant()
public boolean isAccess()
isAccess
in interface PropertyAssociation
PropertyAssociation.setAccess(boolean)
,
PropertyPackage.getPropertyAssociation_Access()
public void setAccess(boolean newAccess)
setAccess
in interface PropertyAssociation
newAccess
- the new value of the 'Access' attribute.PropertyAssociation.isAccess()
public boolean isAppend()
isAppend
in interface PropertyAssociation
PropertyAssociation.setAppend(boolean)
,
PropertyPackage.getPropertyAssociation_Append()
public void setAppend(boolean newAppend)
setAppend
in interface PropertyAssociation
newAppend
- the new value of the 'Append' attribute.PropertyAssociation.isAppend()
public org.eclipse.emf.common.util.EList getPropertyAssociation()
getPropertyAssociation
in interface PropertyHolder
getPropertyAssociation
in class PropertyHolderImpl
public org.eclipse.emf.common.util.EList getComponentPath()
getComponentPath
in interface PropertyAssociation
public void addComponentPath(java.lang.String newComponentPath)
addComponentPath
in interface PropertyAssociation
public java.lang.String toString()
toString
in class ModeMemberImpl
public void addClassifierReference(ClassifierReference cr)
addClassifierReference
in interface PropertyAssociation
public org.eclipse.emf.common.util.EList getClassifierReference()
getClassifierReference
in interface PropertyAssociation
public java.lang.String getQualifiedName()
getQualifiedName
in interface PropertyAssociation
public ParsedPropertyReference getParsedPropertyReference()
getParsedPropertyReference
in interface PropertyAssociation
public void setParsedPropertyReference(ParsedPropertyReference pr)
setParsedPropertyReference
in interface PropertyAssociation
pr
- property name with the propertysetpublic final boolean acceptsProperty(PropertyDefinition property)
acceptsProperty
in interface PropertyHolder
acceptsProperty
in class ModeMemberImpl
property
- The property definition to test.
true
if the given property applies to this
element.public final AadlPropertyValue getValue()
PropertyAssociation
AadlPropertyValue
.
getValue
in interface PropertyAssociation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |