public class JasperConvertContext extends ConvertContext
| Constructor and Description |
|---|
JasperConvertContext(String displayRule,
int genovaDataType,
int precision,
int scale,
int caseConversion,
int inputLength,
boolean blankWhenZero)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCaseConversion()
Gets the case conversion.
|
String |
getDisplayRule()
Get the display rule.
|
int |
getGenovaDataType()
Gets the g9 data type.
|
int |
getinputLength()
Gets the input length.
|
int |
getPrecision()
Gets the precision.
|
int |
getScale()
Gets the scale.
|
boolean |
isBlankWhenZero()
Is blank when zero.
|
void |
setBlankWhenZero(boolean blankWhenZero)
Sets blank when zero.
|
void |
setCaseConversion(int caseConversion)
Sets the case conversion.
|
void |
setDisplayRule(String displayRule)
Set the display rule.
|
void |
setGenovaDataType(int genovaDataType)
Sets the g9 data type.
|
void |
setinputLength(int inputLength)
Sets the input length.
|
void |
setPrecision(int precision)
Sets the precision.
|
void |
setScale(int scale)
Sets the scale.
|
public JasperConvertContext(String displayRule, int genovaDataType, int precision, int scale, int caseConversion, int inputLength, boolean blankWhenZero)
displayRule - display rulegenovaDataType - g9 data typeprecision - precisionscale - scalecaseConversion - case conversioninputLength - field lengthblankWhenZero - blank when zeropublic String getDisplayRule()
public void setDisplayRule(String displayRule)
displayRule - display rulepublic int getGenovaDataType()
public void setGenovaDataType(int genovaDataType)
genovaDataType - the g9 data typepublic int getPrecision()
public void setPrecision(int precision)
precision - precisionpublic int getScale()
public void setScale(int scale)
scale - scalepublic int getCaseConversion()
public void setCaseConversion(int caseConversion)
caseConversion - case conversionpublic int getinputLength()
public void setinputLength(int inputLength)
inputLength - input lengthpublic boolean isBlankWhenZero()
public void setBlankWhenZero(boolean blankWhenZero)
blankWhenZero - blank when zeroCopyright © 2006–2017 Esito AS. All rights reserved.