public class TupleLiteralPartImpl<C,P> extends EObjectImpl implements TupleLiteralPart<C,P>
The following features are implemented:
Modifier and Type | Method and Description |
---|---|
<T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> |
accept(U v) |
P |
basicGetAttribute() |
NotificationChain |
basicSetValue(OCLExpression<C> newValue,
NotificationChain msgs) |
boolean |
checkValueType(DiagnosticChain diagnostics,
Map<Object,Object> context) |
int |
eBaseStructuralFeatureID(int derivedFeatureID,
Class<?> baseClass) |
int |
eDerivedStructuralFeatureID(int baseFeatureID,
Class<?> baseClass) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
P |
getAttribute() |
int |
getEndPosition() |
String |
getName() |
int |
getStartPosition() |
C |
getType() |
int |
getTypeEndPosition() |
int |
getTypeStartPosition() |
OCLExpression<C> |
getValue() |
void |
setAttribute(P newAttribute) |
void |
setEndPosition(int newEndPosition) |
void |
setName(String name) |
void |
setStartPosition(int newStartPosition) |
void |
setType(C type) |
void |
setTypeEndPosition(int newTypeEndPosition) |
void |
setTypeStartPosition(int newTypeStartPosition) |
void |
setValue(OCLExpression<C> newValue) |
String |
toString() |
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 String getName()
getName
in interface TypedElement<C>
public C getType()
getType
in interface TypedElement<C>
public void setName(String name)
setName
in interface TypedElement<C>
public void setType(C type)
setType
in interface TypedElement<C>
public OCLExpression<C> getValue()
getValue
in interface TupleLiteralPart<C,P>
TupleLiteralPart.setValue(OCLExpression)
,
ExpressionsPackage.getTupleLiteralPart_Value()
public NotificationChain basicSetValue(OCLExpression<C> newValue, NotificationChain msgs)
public void setValue(OCLExpression<C> newValue)
setValue
in interface TupleLiteralPart<C,P>
newValue
- the new value of the 'Value' containment reference.TupleLiteralPart.getValue()
public P getAttribute()
getAttribute
in interface TupleLiteralPart<C,P>
TupleLiteralPart.setAttribute(Object)
,
ExpressionsPackage.getTupleLiteralPart_Attribute()
public P basicGetAttribute()
public void setAttribute(P newAttribute)
setAttribute
in interface TupleLiteralPart<C,P>
newAttribute
- the new value of the 'Attribute' reference.TupleLiteralPart.getAttribute()
public <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(U v)
public boolean checkValueType(DiagnosticChain diagnostics, Map<Object,Object> context)
checkValueType
in interface TupleLiteralPart<C,P>
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)
public Object eGet(int featureID, boolean resolve, boolean coreType)
public void eSet(int featureID, Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
public String toString()
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.