org.eclipse.higgins.idas
Class BasicValueDecimal

Package class diagram package BasicValueDecimal
java.lang.Object
  extended by org.eclipse.higgins.idas.AbstractLiteral
      extended by org.eclipse.higgins.idas.BasicValueDecimal
All Implemented Interfaces:
ILiteral, IPropertyValue

public class BasicValueDecimal
extends AbstractLiteral
implements ILiteral


Constructor Summary
BasicValueDecimal(String value)
           
 
Method Summary
 String getCanonical()
          Returns a string representation of teh backing BigDecimal without an exponent field.
 Object getData()
          Returns the BigDecimal backing this value.
 String getLexical()
          Default implementation of getLexical calls toString() on the backing datatype.
 
Methods inherited from class org.eclipse.higgins.idas.AbstractLiteral
isLiteral
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.higgins.idas.IPropertyValue
isLiteral
 

Constructor Detail

BasicValueDecimal

public BasicValueDecimal(String value)
Method Detail

getLexical

public String getLexical()
                  throws IdASException
Description copied from class: AbstractLiteral
Default implementation of getLexical calls toString() on the backing datatype.

Specified by:
getLexical in interface ILiteral
Overrides:
getLexical in class AbstractLiteral
Throws:
IdASException

getCanonical

public String getCanonical()
                    throws IdASException
Returns a string representation of teh backing BigDecimal without an exponent field.

Specified by:
getCanonical in interface ILiteral
Overrides:
getCanonical in class AbstractLiteral
Throws:
IdASException

getData

public Object getData()
               throws IdASException
Returns the BigDecimal backing this value.

Specified by:
getData in interface ILiteral
Specified by:
getData in interface IPropertyValue
Throws:
IdASException