|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NumericValue
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.ocl.examples.domain.values.Value |
|---|
INVALID_NAME |
| Method Summary | |
|---|---|
NumericValue |
abs()
|
java.math.BigDecimal |
bigDecimalValue()
|
double |
doubleValue()
|
NumericValue |
negate()
|
int |
signum()
|
IntegerValue |
toIntegerValue()
|
| Methods inherited from interface org.eclipse.ocl.examples.domain.values.Value |
|---|
asBagValue, asBoolean, asBooleanValue, asCollectionValue, asDouble, asEcoreObject, asElement, asElementValue, asInteger, asIntegerValue, asNavigableObject, asObject, asObjectValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asString, asStringValue, asTypeValue, asUniqueCollectionValue, asValidValue, getActualType, getType, getValueFactory, isCollectionValue, isFalse, isIntegerValue, isInvalid, isNull, isRealValue, isTrue, isUndefined, isUnlimited, isUnlimitedNatural, oclToString, toIteratorValue, toRealValue, toString |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
NumericValue abs()
throws InvalidValueException
InvalidValueExceptionjava.math.BigDecimal bigDecimalValue()
NumericValue negate()
throws InvalidValueException
InvalidValueExceptiondouble doubleValue()
int signum()
throws InvalidValueException
InvalidValueException
IntegerValue toIntegerValue()
throws InvalidValueException
toIntegerValue in interface ValueInvalidValueException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||