org.eclipse.gmt.umlx.ucore.impl
Class UClassVariableImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.ecore.impl.EModelElementImpl
org.eclipse.emf.ecore.impl.ENamedElementImpl
org.eclipse.emf.ocl.expressions.internal.impl.VariableDeclarationImpl
org.eclipse.gmt.umlx.ucore.impl.UVariableImpl
org.eclipse.gmt.umlx.ucore.impl.UClassVariableImpl
- All Implemented Interfaces:
- org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.ocl.expressions.VariableDeclaration, org.eclipse.emf.ocl.internal.utilities.ASTNode, org.eclipse.emf.ocl.internal.utilities.TypedASTNode, org.eclipse.emf.ocl.internal.utilities.Visitable, UClassVariable, UOCLContainer, UVariable
public class UClassVariableImpl
- extends UVariableImpl
- implements UClassVariable
An implementation of the model object 'U2 Class Variable'.
The following features are implemented:
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
org.eclipse.emf.ecore.InternalEObject.EStore |
Fields inherited from class org.eclipse.emf.ocl.expressions.internal.impl.VariableDeclarationImpl |
copyright |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
ELAST_EOBJECT_FLAG |
Fields inherited from interface org.eclipse.emf.ocl.expressions.VariableDeclaration |
copyright |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
EOPPOSITE_FEATURE_BASE |
Methods inherited from class org.eclipse.gmt.umlx.ucore.impl.UVariableImpl |
accept, eBasicRemoveFromContainerFeature, eGet, eSet, getExpressionValue, getUExpression, getURelation, getVarName, setURelation, setVarName, simpleGetOCLException |
Methods inherited from class org.eclipse.emf.ocl.expressions.internal.impl.VariableDeclarationImpl |
basicGetType, basicSetInitExpression, eBaseStructuralFeatureID, eDerivedStructuralFeatureID, getBaseExp, getEndPosition, getInitExpression, getLoopExpr, getStartPosition, getType, getTypeEndPosition, getTypeStartPosition, setBaseExp, setEndPosition, setLoopExpr, setStartPosition, setType, setTypeEndPosition, setTypeStartPosition |
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl |
getName, getNameGen, setName |
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotation, getEAnnotations |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eStore, eUnset, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.ocl.expressions.VariableDeclaration |
accept, getBaseExp, getInitExpression, getLoopExpr, getType, getVarName, setBaseExp, setLoopExpr, setType, setVarName |
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement |
getName, setName |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ocl.internal.utilities.TypedASTNode |
getTypeEndPosition, getTypeStartPosition, setTypeEndPosition, setTypeStartPosition |
Methods inherited from interface org.eclipse.emf.ocl.internal.utilities.ASTNode |
getEndPosition, getStartPosition, setEndPosition, setStartPosition |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
eNotificationRequired |
isMultiObject
public boolean isMultiObject()
-
- Specified by:
isMultiObject
in interface UClassVariable
- Returns:
- the value of the 'Multi Object' attribute.
- See Also:
UClassVariable.setMultiObject(boolean)
,
UcorePackage.getUClassVariable_MultiObject()
setMultiObject
public void setMultiObject(boolean newMultiObject)
-
- Specified by:
setMultiObject
in interface UClassVariable
- Parameters:
newMultiObject
- the new value of the 'Multi Object' attribute.- See Also:
UClassVariable.isMultiObject()
getAttributeVariables
public org.eclipse.emf.common.util.EList getAttributeVariables()
-
- Specified by:
getAttributeVariables
in interface UClassVariable
- Returns:
- the value of the 'Attribute Variables' containment reference list.
- See Also:
UcorePackage.getUClassVariable_AttributeVariables()
,
UAttributeVariable.getScope()
getIncomingAssociations
public org.eclipse.emf.common.util.EList getIncomingAssociations()
-
- Specified by:
getIncomingAssociations
in interface UClassVariable
- Returns:
- the value of the 'Incoming Associations' reference list.
- See Also:
UcorePackage.getUClassVariable_IncomingAssociations()
,
UClassVariable2UClassVariable.getTarget()
getOutgoingAssociations
public org.eclipse.emf.common.util.EList getOutgoingAssociations()
-
- Specified by:
getOutgoingAssociations
in interface UClassVariable
- Returns:
- the value of the 'Outgoing Associations' reference list.
- See Also:
UcorePackage.getUClassVariable_OutgoingAssociations()
,
UClassVariable2UClassVariable.getSource()
getDerivedType
public org.eclipse.emf.ecore.EClass getDerivedType()
-
- Specified by:
getDerivedType
in interface UClassVariable
simpleGetType
public org.eclipse.emf.ecore.EClassifier simpleGetType()
-
- Specified by:
simpleGetType
in interface UClassVariable
getUsage
public org.eclipse.emf.ecore.EClass getUsage()
-
- Specified by:
getUsage
in interface UVariable
- Specified by:
getUsage
in class UVariableImpl
getUsageFeatureID
public int getUsageFeatureID()
-
- Specified by:
getUsageFeatureID
in interface UVariable
- Specified by:
getUsageFeatureID
in class UVariableImpl
getUsedPackage
public org.eclipse.emf.ecore.EPackage getUsedPackage()
-
- Specified by:
getUsedPackage
in interface UVariable
- Specified by:
getUsedPackage
in class UVariableImpl
getAttributions
public org.eclipse.emf.common.util.EList getAttributions()
-
- Specified by:
getAttributions
in interface UClassVariable
- Returns:
- the value of the 'Attributions' reference list.
- See Also:
UcorePackage.getUClassVariable_Attributions()
,
UClassVariable2UAttributeVariable.getSource()
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:
eInverseAdd
in class UVariableImpl
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:
eInverseRemove
in class UVariableImpl
eGet
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
-
- Specified by:
eGet
in interface org.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in class UVariableImpl
eSet
public void eSet(int featureID,
java.lang.Object newValue)
-
- Specified by:
eSet
in interface org.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in class UVariableImpl
eUnset
public void eUnset(int featureID)
-
- Specified by:
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in class UVariableImpl
eIsSet
public boolean eIsSet(int featureID)
-
- Specified by:
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in class UVariableImpl
toString
public java.lang.String toString()
-
- Overrides:
toString
in class org.eclipse.emf.ocl.expressions.internal.impl.VariableDeclarationImpl
getOCLExpression
public org.eclipse.emf.ocl.expressions.OCLExpression getOCLExpression()
- Description copied from class:
UVariableImpl
-
- Specified by:
getOCLExpression
in interface UOCLContainer
- Overrides:
getOCLExpression
in class UVariableImpl
getOCLString
public java.lang.String getOCLString()
- Description copied from class:
UVariableImpl
-
- Specified by:
getOCLString
in interface UOCLContainer
- Overrides:
getOCLString
in class UVariableImpl
simpleGetOCLExpression
public org.eclipse.emf.ocl.expressions.OCLExpression simpleGetOCLExpression()
- Description copied from class:
UVariableImpl
-
- Specified by:
simpleGetOCLExpression
in interface UOCLContainer
- Overrides:
simpleGetOCLExpression
in class UVariableImpl
simpleGetOCLString
public java.lang.String simpleGetOCLString()
- Description copied from class:
UVariableImpl
-
- Specified by:
simpleGetOCLString
in interface UOCLContainer
- Overrides:
simpleGetOCLString
in class UVariableImpl
setInitExpression
public void setInitExpression(org.eclipse.emf.ocl.expressions.OCLExpression newInitExpression)
- Specified by:
setInitExpression
in interface org.eclipse.emf.ocl.expressions.VariableDeclaration
- Overrides:
setInitExpression
in class org.eclipse.emf.ocl.expressions.internal.impl.VariableDeclarationImpl