org.quattor.pan.dml.data
Class NumberProperty
java.lang.Object
org.quattor.pan.dml.data.Element
org.quattor.pan.dml.data.PersistentElement
org.quattor.pan.dml.data.Property
org.quattor.pan.dml.data.NumberProperty
- All Implemented Interfaces:
- Operation
- Direct Known Subclasses:
- DoubleProperty, LongProperty
@Immutable
public abstract class NumberProperty
- extends Property
Implements a superclass for all primitive pan numbers (long and double).
- Author:
- loomis
|
Method Summary |
abstract double |
doubleValue()
All number classes must implement this method which is used to facilitate
type conversion in mixed-type, arithmetic expressions. |
| Methods inherited from class org.quattor.pan.dml.data.Element |
checkInvalidSelfContext, checkRange, checkRestrictedContext, checkValidReplacement, defined, duplicate, execute, exists, getTypeAsString, isBoolean, isDouble, isList, isLong, isNlist, isPersistent, isProperty, isProtected, isResource, isString, isTransient, locateUndefinedElement, protect, rget, rgetList, rput, writableCopy |
NumberProperty
protected NumberProperty(Number value)
doubleValue
public abstract double doubleValue()
- All number classes must implement this method which is used to facilitate
type conversion in mixed-type, arithmetic expressions.
- Returns:
- value of this number as a double
Copyright © 2012 Quattor. All Rights Reserved.