|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.print.PrintDataElement
public class PrintDataElement
Print Data Element
| Field Summary | |
|---|---|
static String |
XML_ATTRIBUTE_KEY
XML Attribute Key |
static String |
XML_ATTRIBUTE_NAME
XML Attribute Name |
static String |
XML_TAG
XML Element Name |
| Constructor Summary | |
|---|---|
PrintDataElement(String columnName,
Object value,
int displayType)
Print Data Element Constructor |
|
PrintDataElement(String columnName,
Object value,
int displayType,
boolean isPKey,
boolean isPageBreak)
Print Data Element Constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(Object compare)
Equals |
String |
getColumnName()
Get Name |
int |
getDisplayType()
Get Display Type |
BigDecimal |
getFunctionValue()
Get Function Value |
Object |
getValue()
Get Node Value |
String |
getValueAsString()
Get Node Data Value as String |
String |
getValueDisplay(Language language,
int minFractionDigits)
Get Node Value Display |
String |
getValueKey()
Get Node Value Key |
int |
hashCode()
HashCode |
boolean |
hasKey()
Value Has Key |
boolean |
isDate()
Is Value a date |
boolean |
isID()
Is Value an ID |
boolean |
isNull()
Is Value Null |
boolean |
isNumeric()
Is Value numeric |
boolean |
isPageBreak()
Column value forces page break |
boolean |
isPKey()
Is Value the primary key of row |
boolean |
isYesNo()
Is Value boolean |
String |
toString()
String representation |
String |
toStringX()
String representation with key info |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String XML_TAG
public static final String XML_ATTRIBUTE_NAME
public static final String XML_ATTRIBUTE_KEY
| Constructor Detail |
|---|
public PrintDataElement(String columnName,
Object value,
int displayType,
boolean isPKey,
boolean isPageBreak)
columnName - namevalue - display valuedisplayType - optional displayTypeisPKey - is primary keyisPageBreak - if true force page break
public PrintDataElement(String columnName,
Object value,
int displayType)
columnName - namevalue - display valuedisplayType - optional displayType| Method Detail |
|---|
public String getColumnName()
public Object getValue()
public BigDecimal getFunctionValue()
public String getValueDisplay(Language language,
int minFractionDigits)
language - optional language - if null nubers/dates are not formattedminFractionDigits - minimum number of decimal digits to be used for formatting
public String getValueAsString()
public String getValueKey()
public boolean isNull()
public int getDisplayType()
public boolean isNumeric()
public boolean isDate()
public boolean isID()
public boolean isYesNo()
public boolean isPKey()
public boolean isPageBreak()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object compare)
equals in class Objectcompare - compare object
public String toString()
toString in class Objectpublic boolean hasKey()
public String toStringX()
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||