|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectTypedElementImpl
org.eclipse.ocl.uml.impl.OCLExpressionImpl
org.eclipse.ocl.uml.impl.LiteralExpImpl
org.eclipse.ocl.uml.impl.PrimitiveLiteralExpImpl
org.eclipse.ocl.uml.impl.NumericLiteralExpImpl
org.eclipse.ocl.uml.impl.UnlimitedNaturalLiteralExpImpl
public class UnlimitedNaturalLiteralExpImpl
An implementation of the model object 'Unlimited Natural Literal Exp'.
The following features are implemented:
| Field Summary | |
|---|---|
protected static java.lang.Integer |
INTEGER_SYMBOL_EDEFAULT
The default value of the ' Integer Symbol' attribute |
protected java.lang.Integer |
integerSymbol
The cached value of the ' Integer Symbol' attribute |
protected static boolean |
UNLIMITED_EDEFAULT
The default value of the ' Unlimited' attribute |
| Fields inherited from class org.eclipse.ocl.uml.impl.OCLExpressionImpl |
|---|
END_POSITION_EDEFAULT, endPosition, START_POSITION_EDEFAULT, startPosition |
| Fields inherited from interface org.eclipse.ocl.expressions.UnlimitedNaturalLiteralExp |
|---|
UNLIMITED |
| Constructor Summary | |
|---|---|
protected |
UnlimitedNaturalLiteralExpImpl()
|
| Method Summary | ||
|---|---|---|
|
accept(U v)
|
|
boolean |
checkNaturalType(DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
|
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
|
|
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
|
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
|
boolean |
eIsSet(int featureID)
|
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
|
protected EClass |
eStaticClass()
|
|
void |
eUnset(int featureID)
|
|
java.lang.Integer |
getIntegerSymbol()
|
|
boolean |
isUnlimited()
|
|
void |
setIntegerSymbol(java.lang.Integer newIntegerSymbol)
|
|
java.lang.String |
toString()
|
|
| Methods inherited from class org.eclipse.ocl.uml.impl.OCLExpressionImpl |
|---|
getEndPosition, getStartPosition, getType, setEndPosition, setStartPosition, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.ocl.utilities.TypedElement |
|---|
getName, getType, setName, setType |
| Methods inherited from interface org.eclipse.ocl.utilities.ASTNode |
|---|
getEndPosition, getStartPosition, setEndPosition, setStartPosition |
| Methods inherited from interface org.eclipse.ocl.utilities.TypedElement |
|---|
getName, getType, setName, setType |
| Methods inherited from interface org.eclipse.ocl.utilities.ASTNode |
|---|
getEndPosition, getStartPosition, setEndPosition, setStartPosition |
| Methods inherited from interface org.eclipse.ocl.utilities.TypedElement |
|---|
getName, getType, setName, setType |
| Methods inherited from interface org.eclipse.ocl.utilities.ASTNode |
|---|
getEndPosition, getStartPosition, setEndPosition, setStartPosition |
| Methods inherited from interface org.eclipse.ocl.utilities.TypedElement |
|---|
getName, getType, setName, setType |
| Methods inherited from interface org.eclipse.ocl.utilities.ASTNode |
|---|
getEndPosition, getStartPosition, setEndPosition, setStartPosition |
| Methods inherited from interface org.eclipse.ocl.expressions.UnlimitedNaturalLiteralExp |
|---|
checkNaturalType |
| Methods inherited from interface org.eclipse.ocl.utilities.TypedElement |
|---|
getName, getType, setName, setType |
| Methods inherited from interface org.eclipse.ocl.utilities.ASTNode |
|---|
getEndPosition, getStartPosition, setEndPosition, setStartPosition |
| Field Detail |
|---|
protected static final java.lang.Integer INTEGER_SYMBOL_EDEFAULT
Integer Symbol' attribute.
getIntegerSymbol()protected java.lang.Integer integerSymbol
Integer Symbol' attribute.
getIntegerSymbol()protected static final boolean UNLIMITED_EDEFAULT
Unlimited' attribute.
isUnlimited(),
Constant Field Values| Constructor Detail |
|---|
protected UnlimitedNaturalLiteralExpImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
eStaticClass in class NumericLiteralExpImplpublic java.lang.Integer getIntegerSymbol()
getIntegerSymbol in interface UnlimitedNaturalLiteralExp<Classifier>UnlimitedNaturalLiteralExp.setIntegerSymbol(Integer),
ExpressionsPackage.getUnlimitedNaturalLiteralExp_IntegerSymbol()public void setIntegerSymbol(java.lang.Integer newIntegerSymbol)
setIntegerSymbol in interface UnlimitedNaturalLiteralExp<Classifier>newIntegerSymbol - the new value of the 'Integer Symbol' attribute.UnlimitedNaturalLiteralExp.getIntegerSymbol()public boolean isUnlimited()
isUnlimited in interface UnlimitedNaturalLiteralExp<Classifier>ExpressionsPackage.getUnlimitedNaturalLiteralExp_Unlimited()
public boolean checkNaturalType(DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in class OCLExpressionImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in class OCLExpressionImplpublic void eUnset(int featureID)
eUnset in class OCLExpressionImplpublic boolean eIsSet(int featureID)
eIsSet in class OCLExpressionImpl
public int eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
eBaseStructuralFeatureID in class OCLExpressionImpl
public int eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
eDerivedStructuralFeatureID in class OCLExpressionImplpublic java.lang.String toString()
toString in class OCLExpressionImplpublic <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(U v)
accept in interface Visitableaccept in class OCLExpressionImpl
|
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 | |||||||||