org.eclipse.higgins.idas
Class BasicValueDecimal
java.lang.Object
org.eclipse.higgins.idas.AbstractLiteral
org.eclipse.higgins.idas.BasicValueDecimal
- All Implemented Interfaces:
- ILiteral, IPropertyValue
public class BasicValueDecimal
- extends AbstractLiteral
- implements ILiteral
BasicValueDecimal
public BasicValueDecimal(String value)
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