com.legstar.coxb
Interface ICobolDoubleBinding

All Superinterfaces:
ICobolBinding, ICobolElement

public interface ICobolDoubleBinding
extends ICobolBinding

This interface groups methods that are common to double elements that are not arrays.

Author:
Fady Moussallam

Method Summary
 BigDecimal getBigDecimalValue()
          Returns this element value as a BigDecimal.
 Double getDoubleValue()
          Returns this element value.
 void setBigDecimalValue(BigDecimal value)
          Sets the element value.
 void setDoubleValue(Double value)
          Sets the element value.
 
Methods inherited from interface com.legstar.coxb.ICobolBinding
accept, calcByteLength, getBindingName, getJaxbName, getJaxbType, getObjectValue, getParentBinding, isBound, isSet, setObjectValue
 
Methods inherited from interface com.legstar.coxb.ICobolElement
getByteLength, getCobolName, getCobolType, getDefaultValue, getDependingOn, getFractionDigits, getLevelNumber, getMarshalChoiceStrategyClassName, getMaxOccurs, getMinOccurs, getPicture, getRedefines, getSrceLine, getTotalDigits, getUnmarshalChoiceStrategyClassName, getUsage, isCustomVariable, isJustifiedRight, isODOObject, isRedefined, isSigned, isSignLeading, isSignSeparate, setByteLength, setCobolName, setCobolType, setDefaultValue, setDependingOn, setFractionDigits, setIsCustomVariable, setIsJustifiedRight, setIsODOObject, setIsRedefined, setIsSigned, setIsSignLeading, setIsSignSeparate, setLevelNumber, setMarshalChoiceStrategyClassName, setMaxOccurs, setMinOccurs, setPicture, setRedefines, setSrceLine, setTotalDigits, setUnmarshalChoiceStrategyClassName, setUsage
 

Method Detail

getDoubleValue

Double getDoubleValue()
                      throws HostException
Returns this element value.

Returns:
Element value
Throws:
HostException - if value cannot be retrieved

setDoubleValue

void setDoubleValue(Double value)
                    throws HostException
Sets the element value.

Parameters:
value - Value to set
Throws:
HostException - if value cannot be set

getBigDecimalValue

BigDecimal getBigDecimalValue()
                              throws HostException
Returns this element value as a BigDecimal.

Returns:
Element value
Throws:
HostException - if value cannot be retrieved

setBigDecimalValue

void setBigDecimalValue(BigDecimal value)
                        throws HostException
Sets the element value.

Parameters:
value - Value to set as a BigDecimal
Throws:
HostException - if value cannot be set


Copyright © 2015 LegSem. All Rights Reserved.