Class VariableDeclaration
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- org.eclipse.m2m.atl.common.ATL.LocatedElement
-
- org.eclipse.m2m.atl.common.OCL.VariableDeclaration
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.InternalEObject
- Direct Known Subclasses:
Iterator,Parameter,PatternElement,RuleVariableDeclaration,TuplePart
public class VariableDeclaration extends LocatedElement
A representation of the model object 'Variable Declaration'.The following features are supported:
- See Also:
OCLPackage.getVariableDeclaration()
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
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>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringidThe cached value of the 'Id' attribute.protected static java.lang.StringID_EDEFAULTThe default value of the 'Id' attribute.protected OclExpressioninitExpressionThe cached value of the 'Init Expression' containment reference.protected OclTypetypeThe cached value of the 'Type' containment reference.protected static java.lang.StringVAR_NAME_EDEFAULTThe default value of the 'Var Name' attribute.protected org.eclipse.emf.common.util.EList<VariableExp>variableExpThe cached value of the 'Variable Exp' reference list.protected java.lang.StringvarNameThe cached value of the 'Var Name' attribute.-
Fields inherited from class org.eclipse.m2m.atl.common.ATL.LocatedElement
commentsAfter, commentsBefore, location, LOCATION_EDEFAULT
-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedVariableDeclaration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChainbasicSetBaseExp(IterateExp newBaseExp, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetInitExpression(OclExpression newInitExpression, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetLetExp(LetExp newLetExp, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetType(OclType newType, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChaineBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)java.lang.ObjecteGet(int featureID, boolean resolve, boolean coreType)org.eclipse.emf.common.notify.NotificationChaineInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)booleaneIsSet(int featureID)voideSet(int featureID, java.lang.Object newValue)protected org.eclipse.emf.ecore.EClasseStaticClass()voideUnset(int featureID)IterateExpgetBaseExp()Returns the value of the 'Base Exp' container reference.java.lang.StringgetId()Returns the value of the 'Id' attribute.OclExpressiongetInitExpression()Returns the value of the 'Init Expression' containment reference.LetExpgetLetExp()Returns the value of the 'Let Exp' container reference.OclTypegetType()Returns the value of the 'Type' containment reference.org.eclipse.emf.common.util.EList<VariableExp>getVariableExp()Returns the value of the 'Variable Exp' reference list.java.lang.StringgetVarName()Returns the value of the 'Var Name' attribute.voidsetBaseExp(IterateExp newBaseExp)Sets the value of the 'Base Exp' container reference.voidsetId(java.lang.String newId)Sets the value of the 'Id' attribute.voidsetInitExpression(OclExpression newInitExpression)Sets the value of the 'Init Expression' containment reference.voidsetLetExp(LetExp newLetExp)Sets the value of the 'Let Exp' container reference.voidsetType(OclType newType)Sets the value of the 'Type' containment reference.voidsetVarName(java.lang.String newVarName)Sets the value of the 'Var Name' attribute.java.lang.StringtoString()-
Methods inherited from class org.eclipse.m2m.atl.common.ATL.LocatedElement
getCommentsAfter, getCommentsBefore, getLocation, setLocation
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, 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
-
-
-
-
Field Detail
-
ID_EDEFAULT
protected static final java.lang.String ID_EDEFAULT
The default value of the 'Id' attribute.- See Also:
getId()
-
VAR_NAME_EDEFAULT
protected static final java.lang.String VAR_NAME_EDEFAULT
The default value of the 'Var Name' attribute.- See Also:
getVarName()
-
varName
protected java.lang.String varName
The cached value of the 'Var Name' attribute.- See Also:
getVarName()
-
type
protected OclType type
The cached value of the 'Type' containment reference.- See Also:
getType()
-
initExpression
protected OclExpression initExpression
The cached value of the 'Init Expression' containment reference.- See Also:
getInitExpression()
-
variableExp
protected org.eclipse.emf.common.util.EList<VariableExp> variableExp
The cached value of the 'Variable Exp' reference list.- See Also:
getVariableExp()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClassin classLocatedElement
-
getId
public java.lang.String getId()
Returns the value of the 'Id' attribute.If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Id' attribute.
- See Also:
setId(String),OCLPackage.getVariableDeclaration_Id()
-
setId
public void setId(java.lang.String newId)
Sets the value of the 'Id' attribute.- Parameters:
value- the new value of the 'Id' attribute.- See Also:
getId()
-
getVarName
public java.lang.String getVarName()
Returns the value of the 'Var Name' attribute.If the meaning of the 'Var Name' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Var Name' attribute.
- See Also:
setVarName(String),OCLPackage.getVariableDeclaration_VarName()
-
setVarName
public void setVarName(java.lang.String newVarName)
Sets the value of the 'Var Name' attribute.- Parameters:
value- the new value of the 'Var Name' attribute.- See Also:
getVarName()
-
getType
public OclType getType()
Returns the value of the 'Type' containment reference. It is bidirectional and its opposite is 'Variable Declaration'.If the meaning of the 'Type' containment reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Type' containment reference.
- See Also:
setType(OclType),OCLPackage.getVariableDeclaration_Type(),OclType.getVariableDeclaration()
-
basicSetType
public org.eclipse.emf.common.notify.NotificationChain basicSetType(OclType newType, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setType
public void setType(OclType newType)
Sets the value of the 'Type' containment reference.- Parameters:
value- the new value of the 'Type' containment reference.- See Also:
getType()
-
getInitExpression
public OclExpression getInitExpression()
Returns the value of the 'Init Expression' containment reference. It is bidirectional and its opposite is 'Initialized Variable'.If the meaning of the 'Init Expression' containment reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Init Expression' containment reference.
- See Also:
setInitExpression(OclExpression),OCLPackage.getVariableDeclaration_InitExpression(),OclExpression.getInitializedVariable()
-
basicSetInitExpression
public org.eclipse.emf.common.notify.NotificationChain basicSetInitExpression(OclExpression newInitExpression, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setInitExpression
public void setInitExpression(OclExpression newInitExpression)
Sets the value of the 'Init Expression' containment reference.- Parameters:
value- the new value of the 'Init Expression' containment reference.- See Also:
getInitExpression()
-
getLetExp
public LetExp getLetExp()
Returns the value of the 'Let Exp' container reference. It is bidirectional and its opposite is 'Variable'.If the meaning of the 'Let Exp' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Let Exp' container reference.
- See Also:
setLetExp(LetExp),OCLPackage.getVariableDeclaration_LetExp(),LetExp.getVariable()
-
basicSetLetExp
public org.eclipse.emf.common.notify.NotificationChain basicSetLetExp(LetExp newLetExp, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setLetExp
public void setLetExp(LetExp newLetExp)
Sets the value of the 'Let Exp' container reference.- Parameters:
value- the new value of the 'Let Exp' container reference.- See Also:
getLetExp()
-
getBaseExp
public IterateExp getBaseExp()
Returns the value of the 'Base Exp' container reference. It is bidirectional and its opposite is 'Result'.If the meaning of the 'Base Exp' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Base Exp' container reference.
- See Also:
setBaseExp(IterateExp),OCLPackage.getVariableDeclaration_BaseExp(),IterateExp.getResult()
-
basicSetBaseExp
public org.eclipse.emf.common.notify.NotificationChain basicSetBaseExp(IterateExp newBaseExp, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setBaseExp
public void setBaseExp(IterateExp newBaseExp)
Sets the value of the 'Base Exp' container reference.- Parameters:
value- the new value of the 'Base Exp' container reference.- See Also:
getBaseExp()
-
getVariableExp
public org.eclipse.emf.common.util.EList<VariableExp> getVariableExp()
Returns the value of the 'Variable Exp' reference list. The list contents are of typeVariableExp. It is bidirectional and its opposite is 'Referred Variable'.If the meaning of the 'Variable Exp' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Variable Exp' reference list.
- See Also:
OCLPackage.getVariableDeclaration_VariableExp(),VariableExp.getReferredVariable()
-
eInverseAdd
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eInverseAddin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eInverseRemovein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
- Overrides:
eBasicRemoveFromContainerFeaturein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classLocatedElement
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classLocatedElement
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classLocatedElement
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classLocatedElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classLocatedElement
-
-