|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ocl.examples.domain.values.impl.AbstractValue org.eclipse.ocl.examples.domain.values.impl.AbstractIntegerValue
public abstract class AbstractIntegerValue
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.ocl.examples.domain.values.IntegerValue |
---|
IntegerValue.Accumulator |
Field Summary |
---|
Fields inherited from class org.eclipse.ocl.examples.domain.values.impl.AbstractValue |
---|
valueFactory |
Fields inherited from interface org.eclipse.ocl.examples.domain.values.Value |
---|
INVALID_NAME |
Constructor Summary | |
---|---|
AbstractIntegerValue(ValueFactory valueFactory)
|
Method Summary | |
---|---|
IntegerValue |
asIntegerValue()
|
Value |
asValidValue()
|
DomainType |
getType()
Return the type of this value determined from its construction context. |
IntegerValue |
isIntegerValue()
|
IntegerValue |
toIntegerValue()
|
RealValue |
toRealValue()
|
Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.AbstractValue |
---|
asBagValue, asBoolean, asBooleanValue, asCollectionValue, asDouble, asEcoreObject, asElement, asElementValue, asInteger, asNavigableObject, asObjectValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asString, asStringValue, asTypeValue, asUniqueCollectionValue, getActualType, getValueFactory, isCollectionValue, isFalse, isInvalid, isNull, isRealValue, isTrue, isUndefined, isUnlimited, isUnlimitedNatural, oclToString, toIteratorValue, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ocl.examples.domain.values.IntegerValue |
---|
add, bigIntegerValue, div, divide, max, min, mod, multiply, negate, subtract |
Methods inherited from interface org.eclipse.ocl.examples.domain.values.NumericValue |
---|
abs, bigDecimalValue, doubleValue, signum |
Methods inherited from interface org.eclipse.ocl.examples.domain.values.Value |
---|
asBagValue, asBoolean, asBooleanValue, asCollectionValue, asDouble, asEcoreObject, asElement, asElementValue, asInteger, asNavigableObject, asObject, asObjectValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asString, asStringValue, asTypeValue, asUniqueCollectionValue, getActualType, getValueFactory, isCollectionValue, isFalse, isInvalid, isNull, isRealValue, isTrue, isUndefined, isUnlimited, isUnlimitedNatural, oclToString, toIteratorValue, toString |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public AbstractIntegerValue(ValueFactory valueFactory)
Method Detail |
---|
public IntegerValue asIntegerValue()
asIntegerValue
in interface Value
asIntegerValue
in class AbstractValue
public Value asValidValue()
asValidValue
in interface Value
public DomainType getType()
Value
getType
in interface Value
public IntegerValue isIntegerValue()
isIntegerValue
in interface Value
isIntegerValue
in class AbstractValue
public IntegerValue toIntegerValue()
toIntegerValue
in interface NumericValue
toIntegerValue
in interface Value
toIntegerValue
in class AbstractValue
public RealValue toRealValue()
toRealValue
in interface Value
toRealValue
in class AbstractValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |