org.quattor.pan.dml.data
Class NumberProperty

java.lang.Object
  extended by org.quattor.pan.dml.data.Element
      extended by org.quattor.pan.dml.data.PersistentElement
          extended by org.quattor.pan.dml.data.Property
              extended by 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

Constructor Summary
protected NumberProperty(java.lang.Number value)
           
 
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.Property
equals, getValue, hashCode, toString
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NumberProperty

protected NumberProperty(java.lang.Number value)
Method Detail

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 © 2011 Quattor. All Rights Reserved.