com.legstar.coxb
Class CobolContext
java.lang.Object
com.legstar.coxb.host.HostContext
com.legstar.coxb.CobolContext
public class CobolContext
- extends HostContext
This class encapsulates all Cobol compiler options that might influence the
conversion from Cobol representation to Java representation.
- Author:
- Fady Moussallam
|
Nested Class Summary |
static class |
CobolContext.Trunc
This enumeration class represents how binary data is truncated depending
on the number of digits specified in the PICTURE clause. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CobolContext
public CobolContext()
isArithExtend
public boolean isArithExtend()
- Returns:
- Returns the arithExtend.
setArithExtend
public void setArithExtend(boolean arithExtend)
- Parameters:
arithExtend - The arithExtend to set.
isSymbolDbcs
public boolean isSymbolDbcs()
- Returns:
- Returns the symbol Dbcs.
setSymbolDbcs
public void setSymbolDbcs(boolean nsymbolDbcs)
- Parameters:
nsymbolDbcs - The symbol Dbcs to set.
getAlphanumPaddingChar
public Byte getAlphanumPaddingChar()
- Returns:
- the alphanumerics padding character
setAlphanumPaddingChar
public void setAlphanumPaddingChar(Byte alphanumPaddingChar)
- Parameters:
alphanumPaddingChar - the alphanumerics padding character to set
failOnAlphanumOverflow
public boolean failOnAlphanumOverflow()
- Fail if a java string content is too long for the target alphanumeric
COBOL data item.
- Returns:
- true when failure is requested if a java string content is too
long for the target alphanumeric COBOL data item
setFailOnAlphanumOverflow
public void setFailOnAlphanumOverflow(boolean failOnAlphanumOverflow)
- Fail if a java string content is too long for the target alphanumeric
COBOL data item.
- Parameters:
failOnAlphanumOverflow - true when failure is requested if a java
string content is too long for the target alphanumeric COBOL
data item
Copyright © 2015 LegSem. All Rights Reserved.