@Immutable public final class DoubleProperty extends NumberProperty
isProperty| Modifier and Type | Method and Description |
|---|---|
void |
checkRange(Range range)
Determine if the element satisfies the given range constraint.
|
double |
doubleValue()
All number classes must implement this method which is used to facilitate
type conversion in mixed-type, arithmetic expressions.
|
static DoubleProperty |
getInstance(double value) |
static DoubleProperty |
getInstance(Double value) |
static DoubleProperty |
getInstance(String value) |
String |
getTypeAsString()
All Elements must return a string describing its type.
|
Double |
getValue()
Return the value of this property as an Object.
|
checkInvalidSelfContext, checkRestrictedContext, checkValidReplacement, defined, duplicate, execute, exists, isBoolean, isDouble, isList, isLong, isNlist, isPersistent, isProperty, isProtected, isResource, isString, isTransient, locateUndefinedElement, protect, rget, rgetList, rput, writableCopypublic static DoubleProperty getInstance(double value)
public static DoubleProperty getInstance(Double value)
public static DoubleProperty getInstance(String value)
public void checkRange(Range range) throws ValidationException
ElementcheckRange in class Elementrange - Range to check Element againstValidationException - if the element cannot be compared to a range or if the
element doesn't meet the range requirementpublic double doubleValue()
NumberPropertydoubleValue in class NumberPropertypublic Double getValue()
Propertypublic String getTypeAsString()
ElementgetTypeAsString in class ElementCopyright © 2014 Quattor. All Rights Reserved.