|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.emf.ecore.impl.EModelElementImpl org.eclipse.uml2.uml.internal.impl.ElementImpl org.eclipse.uml2.uml.internal.impl.NamedElementImpl org.eclipse.uml2.uml.internal.impl.TypedElementImpl org.eclipse.ocl.uml.impl.VariableImpl
public class VariableImpl
An implementation of the model object 'Variable'.
The following features are implemented:
Start Position
End Position
Type Start Position
Type End Position
Init Expression
Represented Parameter
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container |
---|
MinimalEObjectImpl.Container.Dynamic |
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl |
---|
MinimalEObjectImpl.Container |
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
BasicNotifierImpl.EAdapterList<E extends Object & Adapter> |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
InternalEObject.EStore |
Field Summary | |
---|---|
protected static int |
END_POSITION_EDEFAULT
The default value of the ' End Position ' attribute |
protected int |
endPosition
The cached value of the ' End Position ' attribute |
protected OCLExpression<Classifier> |
initExpression
The cached value of the ' Init Expression ' containment reference |
protected Parameter |
representedParameter
The cached value of the ' Represented Parameter ' reference |
protected static int |
START_POSITION_EDEFAULT
The default value of the ' Start Position ' attribute |
protected int |
startPosition
The cached value of the ' Start Position ' attribute |
protected static int |
TYPE_END_POSITION_EDEFAULT
The default value of the ' Type End Position ' attribute |
protected static int |
TYPE_START_POSITION_EDEFAULT
The default value of the ' Type Start Position ' attribute |
protected int |
typeEndPosition
The cached value of the ' Type End Position ' attribute |
protected int |
typeStartPosition
The cached value of the ' Type Start Position ' attribute |
Fields inherited from class org.eclipse.uml2.uml.internal.impl.TypedElementImpl |
---|
type |
Fields inherited from class org.eclipse.uml2.uml.internal.impl.NamedElementImpl |
---|
clientDependencies, name, NAME_EDEFAULT, NAME_ESETFLAG, nameExpression, OWNED_ELEMENT_ESUBSETS, QUALIFIED_NAME_EDEFAULT, VISIBILITY_EDEFAULT, VISIBILITY_EFLAG, VISIBILITY_EFLAG_DEFAULT, VISIBILITY_EFLAG_OFFSET, VISIBILITY_EFLAG_VALUES, VISIBILITY_ESETFLAG |
Fields inherited from class org.eclipse.uml2.uml.internal.impl.ElementImpl |
---|
ownedComments |
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
---|
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG |
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container |
---|
eContainer |
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.uml2.uml.NamedElement |
---|
SEPARATOR |
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder |
---|
NIL |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
protected |
VariableImpl()
|
Methods inherited from class org.eclipse.uml2.uml.internal.impl.TypedElementImpl |
---|
basicGetType, setType |
Methods inherited from class org.eclipse.uml2.uml.internal.impl.NamedElementImpl |
---|
allNamespaces, allOwningPackages, basicGetNameExpression, basicGetNamespace, basicGetNamespaceGen, basicGetOwner, basicSetNameExpression, createDependency, createNameExpression, createUsage, eInverseAdd, eObjectForURIFragmentSegment, eURIFragmentSegment, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getOwnedElements, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetNamespace, isSetNamespaceGen, isSetOwnedElements, isSetOwner, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from class org.eclipse.uml2.uml.internal.impl.ElementImpl |
---|
addKeyword, allOwnedElements, applyStereotype, basicGetOwnerGen, create, createEAnnotation, createOwnedComment, destroy, eAdapters, eBasicSetContainer, eNotificationRequired, eNotify, eSetDeliver, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getCacheAdapter, getKeywords, getModel, getNearestPackage, getOwnedComments, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isSetOwnerGen, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf |
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
---|
eSetDirectResource, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen |
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, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetProxyURI, eSettings |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.uml2.uml.TypedElement |
---|
setType |
Methods inherited from interface org.eclipse.uml2.uml.NamedElement |
---|
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from interface org.eclipse.uml2.uml.Element |
---|
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
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.ocl.utilities.TypedElement |
---|
getName, setName |
Field Detail |
---|
protected static final int START_POSITION_EDEFAULT
Start Position
' attribute.
getStartPosition()
,
Constant Field Valuesprotected int startPosition
Start Position
' attribute.
getStartPosition()
protected static final int END_POSITION_EDEFAULT
End Position
' attribute.
getEndPosition()
,
Constant Field Valuesprotected int endPosition
End Position
' attribute.
getEndPosition()
protected static final int TYPE_START_POSITION_EDEFAULT
Type Start Position
' attribute.
getTypeStartPosition()
,
Constant Field Valuesprotected int typeStartPosition
Type Start Position
' attribute.
getTypeStartPosition()
protected static final int TYPE_END_POSITION_EDEFAULT
Type End Position
' attribute.
getTypeEndPosition()
,
Constant Field Valuesprotected int typeEndPosition
Type End Position
' attribute.
getTypeEndPosition()
protected OCLExpression<Classifier> initExpression
Init Expression
' containment reference.
getInitExpression()
protected Parameter representedParameter
Represented Parameter
' reference.
getRepresentedParameter()
Constructor Detail |
---|
protected VariableImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class org.eclipse.uml2.uml.internal.impl.TypedElementImpl
public int getStartPosition()
getStartPosition
in interface ASTNode
ASTNode.setStartPosition(int)
,
UtilitiesPackage.getASTNode_StartPosition()
public void setStartPosition(int newStartPosition)
setStartPosition
in interface ASTNode
newStartPosition
- the new value of the 'Start Position' attribute.ASTNode.getStartPosition()
public int getEndPosition()
getEndPosition
in interface ASTNode
ASTNode.setEndPosition(int)
,
UtilitiesPackage.getASTNode_EndPosition()
public void setEndPosition(int newEndPosition)
setEndPosition
in interface ASTNode
newEndPosition
- the new value of the 'End Position' attribute.ASTNode.getEndPosition()
public int getTypeStartPosition()
getTypeStartPosition
in interface TypedASTNode
TypedASTNode.setTypeStartPosition(int)
,
UtilitiesPackage.getTypedASTNode_TypeStartPosition()
public void setTypeStartPosition(int newTypeStartPosition)
setTypeStartPosition
in interface TypedASTNode
newTypeStartPosition
- the new value of the 'Type Start Position' attribute.TypedASTNode.getTypeStartPosition()
public int getTypeEndPosition()
getTypeEndPosition
in interface TypedASTNode
TypedASTNode.setTypeEndPosition(int)
,
UtilitiesPackage.getTypedASTNode_TypeEndPosition()
public void setTypeEndPosition(int newTypeEndPosition)
setTypeEndPosition
in interface TypedASTNode
newTypeEndPosition
- the new value of the 'Type End Position' attribute.TypedASTNode.getTypeEndPosition()
public OCLExpression<Classifier> getInitExpression()
getInitExpression
in interface Variable<Classifier,Parameter>
Variable.setInitExpression(OCLExpression)
,
ExpressionsPackage.getVariable_InitExpression()
public NotificationChain basicSetInitExpression(OCLExpression<Classifier> newInitExpression, NotificationChain msgs)
public void setInitExpression(OCLExpression<Classifier> newInitExpression)
setInitExpression
in interface Variable<Classifier,Parameter>
newInitExpression
- the new value of the 'Init Expression' containment reference.Variable.getInitExpression()
public Parameter getRepresentedParameter()
getRepresentedParameter
in interface Variable<Classifier,Parameter>
Variable.setRepresentedParameter(Object)
,
ExpressionsPackage.getVariable_RepresentedParameter()
public Parameter basicGetRepresentedParameter()
public void setRepresentedParameter(Parameter newRepresentedParameter)
setRepresentedParameter
in interface Variable<Classifier,Parameter>
newRepresentedParameter
- the new value of the 'Represented Parameter' reference.Variable.getRepresentedParameter()
public <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(U v)
accept
in interface Visitable
public boolean checkInitType(DiagnosticChain diagnostics, Map<Object,Object> context)
checkInitType
in interface Variable<Classifier,Parameter>
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class org.eclipse.uml2.uml.internal.impl.NamedElementImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class org.eclipse.uml2.uml.internal.impl.TypedElementImpl
public void eSet(int featureID, Object newValue)
eSet
in interface InternalEObject
eSet
in class org.eclipse.uml2.uml.internal.impl.TypedElementImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class org.eclipse.uml2.uml.internal.impl.TypedElementImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class org.eclipse.uml2.uml.internal.impl.TypedElementImpl
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
eBaseStructuralFeatureID
in interface InternalEObject
eBaseStructuralFeatureID
in class BasicEObjectImpl
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
eDerivedStructuralFeatureID
in interface InternalEObject
eDerivedStructuralFeatureID
in class BasicEObjectImpl
public String toString()
toString
in class org.eclipse.uml2.uml.internal.impl.NamedElementImpl
public Classifier getType()
getType
in interface TypedElement
getType
in class org.eclipse.uml2.uml.internal.impl.TypedElementImpl
public void setType(Classifier type)
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |