public class NullValueImpl extends UndefinedValueImpl implements NullValue
IntegerValue.AccumulatorOrderedSetValue.AccumulatorSetValue.AccumulatorINVALID_NAME| Constructor and Description |
|---|
NullValueImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Object> |
asEcoreObject()
Return the Ecore representation of this value.
|
DomainElement |
asElement() |
boolean |
equals(java.lang.Object obj) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
DomainType |
getType(DomainStandardLibrary standardLibrary) |
OclVoidTypeId |
getTypeId()
Return the type of this value determined from its construction context.
|
int |
hashCode() |
int |
intValue() |
boolean |
isInvalid() |
boolean |
oclEquals(OCLValue thatValue)
Return true if this is an equivalent OCL value to thatValue.
|
int |
oclHashCode() |
java.lang.String |
toString() |
abs, addInteger, addReal, append, appendAll, asBagValue, asCollection, asCollectionValue, asDouble, asInteger, asIntegerValue, asList, asNavigableObject, asNumber, asObject, asObjectValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asTupleValue, asUniqueCollectionValue, asUnlimitedNaturalValue, at, bigDecimalValue, bigIntegerValue, commutatedAdd, commutatedDiv, commutatedDivide, commutatedMod, commutatedMultiply, commutatedSubtract, compareTo, compareToInteger, compareToReal, compareToUnlimited, count, createNew, div, divideInteger, divideReal, divInteger, divUnlimited, doubleValue, excludes, excludesAll, excluding, excludingAll, first, flatten, flatten, floor, getElement, getElements, getInstanceType, getKind, getObject, getTypeName, getValue, getValue, includes, includesAll, including, includingAll, indexOf, insertAt, intersection, intSize, isEmpty, isFalse, isIntegerValue, isOrdered, isTrue, isUndefined, isUnique, isUnlimited, isUnlimitedNatural, iterable, iterator, last, max, maxInteger, maxReal, maxUnlimited, min, minInteger, minReal, minUnlimited, minus, modInteger, modUnlimited, multiplyInteger, multiplyReal, negate, notEmpty, prepend, prependAll, product, reverse, round, signum, size, sort, stringValue, subOrderedSet, subSequence, subtractInteger, subtractReal, symmetricDifference, toInvalidValue, toSequenceValue, toString, unionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetObjectaddInteger, commutatedDiv, commutatedMod, compareToInteger, divideInteger, divInteger, divUnlimited, isUnlimitedNatural, maxInteger, minInteger, modInteger, modUnlimited, multiplyInteger, subtractIntegerabs, addReal, asNumber, bigDecimalValue, bigIntegerValue, commutatedAdd, commutatedDivide, commutatedMultiply, commutatedSubtract, compareToReal, compareToUnlimited, divideReal, doubleValue, floor, isIntegerValue, isUnlimited, max, maxReal, maxUnlimited, min, minReal, minUnlimited, multiplyReal, round, signum, subtractRealsubOrderedSetappend, appendAll, at, first, indexOf, insertAt, last, prepend, prependAll, reverse, subSequenceminus, symmetricDifferenceasCollection, count, excludes, excludesAll, excluding, excludingAll, flatten, flatten, getElements, getKind, includes, includesAll, including, includingAll, intersection, intSize, isEmpty, isOrdered, isUnique, iterable, iterator, notEmpty, product, size, sort, toSequenceValue, unionasBagValue, asCollectionValue, asDouble, asInteger, asIntegerValue, asNavigableObject, asObject, asObjectValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asTupleValue, asUniqueCollectionValue, asUnlimitedNaturalValue, isUndefined, toStringgetValue, getValueprotected org.eclipse.emf.ecore.EClass eStaticClass()
public java.util.List<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 CollectionValueasEcoreObject in interface Valuepublic DomainElement asElement()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Object@NonNull public DomainType getType(@NonNull DomainStandardLibrary standardLibrary)
@NonNull public OclVoidTypeId getTypeId()
ValuegetTypeId in interface CollectionValuegetTypeId in interface NullValuegetTypeId in interface TupleValuegetTypeId in interface ValuegetTypeId in class UndefinedValueImplpublic int hashCode()
hashCode in class java.lang.Objectpublic int intValue()
intValue in interface IntegerValuepublic boolean oclEquals(@NonNull
OCLValue thatValue)
OCLValueNote that the caller must check that the argument is an OCLValue and should also check for the shortcut case that this == thatValue. Implementations are therefore wasting time if they re-implement the shortcut.
public int oclHashCode()
oclHashCode in interface OCLValuepublic java.lang.String toString()
toString in class java.lang.Throwable