nl.innovationinvestments.cheyenne.engine.variables
Class Number

java.lang.Object
  extended by nl.innovationinvestments.cheyenne.engine.variables.Variable
      extended by nl.innovationinvestments.cheyenne.engine.variables.Number

public class Number
extends Variable

Numbers in DD

Author:
toeu

Constructor Summary
Number(BigDecimal value)
           
 
Method Summary
 int compareTo(BigDecimal value)
          comparison
 int compareTo(Number value)
           
 int compareTo(Object value)
          comparison
 boolean equals(int value)
           
 BigDecimal getBigDecimal()
           
 boolean larger(int value)
           
 void setBigDecimal(BigDecimal value)
          BigDecimal
 boolean smaller(int value)
          add logic to support other types
 
Methods inherited from class nl.innovationinvestments.cheyenne.engine.variables.Variable
equals, getValue, isLargerThan, isLargerThanOrEqualsTo, isSmallerThan, isSmallerThanOrEqualsTo, setValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Number

public Number(BigDecimal value)
Method Detail

setBigDecimal

public void setBigDecimal(BigDecimal value)
BigDecimal


getBigDecimal

public BigDecimal getBigDecimal()

compareTo

public int compareTo(BigDecimal value)
comparison


compareTo

public int compareTo(Object value)
Description copied from class: Variable
comparison

Specified by:
compareTo in class Variable

compareTo

public int compareTo(Number value)

smaller

public boolean smaller(int value)
add logic to support other types


equals

public boolean equals(int value)

larger

public boolean larger(int value)


Copyright © 2013 InnovationInvestments. All rights reserved.