org.eclipse.ocl.examples.domain.values.impl
Class NullValueImpl
java.lang.Object
org.eclipse.ocl.examples.domain.values.impl.AbstractValue
org.eclipse.ocl.examples.domain.values.impl.AbstractUndefinedValue
org.eclipse.ocl.examples.domain.values.impl.AbstractUndefinedCollectionValue
org.eclipse.ocl.examples.domain.values.impl.NullValueImpl
- All Implemented Interfaces:
- java.lang.Comparable<NumericValue>, java.lang.Iterable<Value>, BagValue, BooleanValue, CollectionValue, ElementValue, IntegerValue, NullValue, NumericValue, ObjectValue, OrderedSetValue, RealValue, SequenceValue, SetValue, StringValue, TypeValue, UniqueCollectionValue, UnlimitedValue, Value
public class NullValueImpl
- extends AbstractUndefinedCollectionValue
- implements NullValue
| Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.AbstractUndefinedCollectionValue |
append, asCollection, asList, at, count, createNew, excludes, excludesAll, excluding, first, flatten, flatten, getCollectionType, getKind, includes, includesAll, including, indexOf, insertAt, intersection, intSize, isEmpty, iterator, last, maxMin, minus, notEmpty, prepend, product, reverse, selectByKind, selectByType, size, sort, subOrderedSet, subSequence, sum, symmetricDifference, toSequenceValue, union |
| Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.AbstractUndefinedValue |
abs, add, add, asFalse, asObject, asTrue, bigDecimalValue, bigIntegerValue, compareTo, div, divide, divide, doubleValue, floor, getElement, getInstanceType, getObject, isUndefined, max, max, min, min, mod, multiply, multiply, negate, round, signum, stringValue, subtract, subtract, toInvalidValue |
| Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.AbstractValue |
asBagValue, asBoolean, asBooleanValue, asCollectionValue, asDouble, asElementValue, asInteger, asIntegerValue, asNavigableObject, asObjectValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asString, asStringValue, asTypeValue, asUniqueCollectionValue, getActualType, getValueFactory, isCollectionValue, isFalse, isIntegerValue, isInvalid, isRealValue, isTrue, isUnlimited, isUnlimitedNatural, oclToString, toIntegerValue, toIteratorValue, toRealValue, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.ocl.examples.domain.values.NullValue |
negate |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Methods inherited from interface org.eclipse.ocl.examples.domain.values.CollectionValue |
asCollection, asList, count, excludes, excludesAll, excluding, flatten, flatten, getCollectionType, getKind, includes, includesAll, including, intersection, intSize, isEmpty, iterator, maxMin, notEmpty, product, selectByKind, selectByType, size, sort, sum, toSequenceValue, union |
NullValueImpl
public NullValueImpl(ValueFactory valueFactory)
asEcoreObject
public java.lang.Object asEcoreObject()
- Description copied from interface:
Value
- Return the Ecore representation of this value.
- Specified by:
asEcoreObject in interface Value- Overrides:
asEcoreObject in class AbstractValue
asElement
public DomainElement asElement()
- Specified by:
asElement in interface Value- Overrides:
asElement in class AbstractValue
asValidValue
public Value asValidValue()
- Specified by:
asValidValue in interface Value
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
getType
public DomainType getType()
- Description copied from interface:
Value
- Return the type of this value determined from its construction context. In the case of collections
this may differ from the actual type.
- Specified by:
getType in interface Value
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
isNull
public boolean isNull()
- Specified by:
isNull in interface Value- Overrides:
isNull in class AbstractValue
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object