|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microfocus.cobol.lang.CobolBigDecimal
Wrapper class for a BigDecimal class
Copyright: Copyright (c) 2002-2003
Constructor Summary | |
CobolBigDecimal()
Construct a CobolBigDecimal with BigDecimal.valueOf(0) |
|
CobolBigDecimal(BigDecimal value)
Construct a CobolBigDecimal given a BigDecimal |
|
CobolBigDecimal(String value)
Construct a CobolBigDecimal given a string |
Method Summary | |
byte[] |
getBytes()
get the comp3 representation of a CobolBigDecimal |
BigDecimal |
getValue()
Gets the current value of CobolBigDecimal |
void |
setValue(BigDecimal value)
Allow a value of CobolBigDecimal to be changed |
void |
synchronizeData()
synchronizeData the COBOL represention of a CobolBigDecimal with the Java internal representation. |
String |
toString()
Return a string representation of a BigDecimal |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CobolBigDecimal()
public CobolBigDecimal(BigDecimal value)
value
- public CobolBigDecimal(String value)
value
- Method Detail |
public byte[] getBytes() throws CobolException, Exception
getBytes
in interface DataType
CobolException
Exception
public BigDecimal getValue()
public void setValue(BigDecimal value)
value
- public void synchronizeData() throws CobolException, Exception
synchronizeData
in interface DataType
CobolException
Exception
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.