public abstract class NumberValueImpl extends java.lang.Number implements Value
INVALID_NAME| Modifier | Constructor and Description |
|---|---|
protected |
NumberValueImpl() |
| Modifier and Type | Method and Description |
|---|---|
BagValue |
asBagValue() |
CollectionValue |
asCollectionValue() |
java.lang.Double |
asDouble() |
java.lang.Object |
asEcoreObject()
Return the Ecore representation of this value.
|
DomainElement |
asElement() |
java.lang.Integer |
asInteger() |
IntegerValue |
asIntegerValue() |
org.eclipse.emf.ecore.EObject |
asNavigableObject() |
ObjectValue |
asObjectValue() |
OrderedSetValue |
asOrderedSetValue() |
RealValue |
asRealValue() |
SequenceValue |
asSequenceValue() |
SetValue |
asSetValue() |
TupleValue |
asTupleValue() |
UniqueCollectionValue |
asUniqueCollectionValue() |
Value |
asUnlimitedNaturalValue() |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
java.lang.String |
getTypeName() |
boolean |
isInvalid() |
boolean |
isUndefined() |
boolean |
oclEquals(OCLValue thatValue) |
int |
oclHashCode() |
void |
toString(java.lang.StringBuilder s,
int sizeLimit) |
byteValue, doubleValue, floatValue, intValue, longValue, shortValueprotected org.eclipse.emf.ecore.EClass eStaticClass()
@NonNull public BagValue asBagValue()
asBagValue in interface Value@NonNull public CollectionValue asCollectionValue()
asCollectionValue in interface Value@Nullable public java.lang.Object asEcoreObject()
ValueAn thrown exception for an invalid OCL value.
Java-null for a null OCL value
Objects for other things
asEcoreObject in interface Valuepublic DomainElement asElement()
@NonNull public IntegerValue asIntegerValue()
asIntegerValue in interface Value@NonNull public org.eclipse.emf.ecore.EObject asNavigableObject()
asNavigableObject in interface Value@NonNull public ObjectValue asObjectValue()
asObjectValue in interface Value@NonNull public OrderedSetValue asOrderedSetValue()
asOrderedSetValue in interface Value@NonNull public RealValue asRealValue()
asRealValue in interface Value@NonNull public SequenceValue asSequenceValue()
asSequenceValue in interface Value@NonNull public SetValue asSetValue()
asSetValue in interface Value@NonNull public TupleValue asTupleValue()
asTupleValue in interface Value@NonNull public UniqueCollectionValue asUniqueCollectionValue()
asUniqueCollectionValue in interface Value@NonNull public Value asUnlimitedNaturalValue()
asUnlimitedNaturalValue in interface Value@NonNull public java.lang.String getTypeName()
public boolean isUndefined()
isUndefined in interface Valuepublic boolean oclEquals(@NonNull
OCLValue thatValue)
public int oclHashCode()