|
ESPRESSCHART 6.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectquadbase.util.LogicalFormat
public class LogicalFormat
LogicalFormat
Class to format logical/boolean value
| Field Summary | |
|---|---|
static int |
ONE_ZERO
1/0 |
static int |
T_F
T/F |
static int |
TRUE_FALSE
True/False |
static int |
Y_N
Y/N |
static int |
YES_NO
Yes/No |
| Fields inherited from interface quadbase.util.IFormat |
|---|
DATETIME, LOCALEDATETIME, LOCALENUMERIC, LOGICAL, NUMERIC |
| Constructor Summary | |
|---|---|
LogicalFormat(int format)
Create a LogicalFormat instance. |
|
| Method Summary | |
|---|---|
java.lang.String |
format(java.lang.Object obj)
Define quadbase.util.IFormat. |
int |
getformat()
Get current format. |
int |
getFormatType()
Define quadbase.util.IFormat. |
void |
setformat(int format)
Set logical format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int T_F
public static final int TRUE_FALSE
public static final int YES_NO
public static final int Y_N
public static final int ONE_ZERO
| Constructor Detail |
|---|
public LogicalFormat(int format)
format - one of T_F, TRUE_FALSE, YES_NO, Y_N, ONE_ZERO| Method Detail |
|---|
public int getFormatType()
getFormatType in interface IFormatpublic java.lang.String format(java.lang.Object obj)
format in interface IFormatobj - The target object
public int getformat()
return - current formatpublic void setformat(int format)
format - new format
|
ESPRESSCHART 6.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||