|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 ValueasIntegerValue in class AbstractValuepublic Value asValidValue()
asValidValue in interface Valuepublic DomainType getType()
Value
getType in interface Valuepublic IntegerValue isIntegerValue()
isIntegerValue in interface ValueisIntegerValue in class AbstractValuepublic IntegerValue toIntegerValue()
toIntegerValue in interface NumericValuetoIntegerValue in interface ValuetoIntegerValue in class AbstractValuepublic RealValue toRealValue()
toRealValue in interface ValuetoRealValue in class AbstractValue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||