|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.common.constants.DisplayTypeConstants
org.compiere.common.FieldType
public class FieldType
System Display Types.
SELECT AD_Reference_ID, Name FROM AD_Reference WHERE ValidationType = 'D'
| Field Summary |
|---|
| Fields inherited from class org.compiere.common.constants.DisplayTypeConstants |
|---|
Account, Amount, Assignment, Binary, Button, Color, CostPrice, Date, DateTime, FileName, FilePath, Graph, ID, Image, Integer, Label, List, Location, Locator, Memo, Number, PAttribute, PrinterName, Quantity, RowID, Search, String, Table, TableDir, Text, TextLong, Time, URL, YesNo |
| Constructor Summary | |
|---|---|
FieldType()
|
|
| Method Summary | |
|---|---|
static int |
getDefaultPrecision(int displayType)
Get Default Precision. |
static boolean |
isCaseSensitive(int displayType)
Returns true if the field should be searched with case sensitivity |
static boolean |
isClientLookup(int displayType)
|
static boolean |
isDate(int displayType)
Returns truem if DisplayType is a Date. |
static boolean |
isID(int displayType)
Returns true if (numeric) ID (Table, Search, Account, ..). |
static boolean |
isLOB(int displayType)
Returns true if DisplayType is a Large Object |
static boolean |
isLookup(int displayType)
Returns true if DisplayType is a VLookup (List, Table, TableDir, Search). |
static boolean |
isNumeric(int displayType)
Returns true, if DisplayType is numeric (Amount, Number, Quantity, Integer). |
static boolean |
isText(int displayType)
Returns true, if DisplayType is text (String, Text, TextLong, Memo). |
static boolean |
isTextArea(int displayType)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FieldType()
| Method Detail |
|---|
public static boolean isID(int displayType)
displayType - Display Type
public static boolean isNumeric(int displayType)
displayType - Display Type
public static int getDefaultPrecision(int displayType)
displayType - display type
public static boolean isText(int displayType)
displayType - Display Type
public static boolean isDate(int displayType)
displayType - Display Type
public static boolean isLookup(int displayType)
displayType - Display Type
public static boolean isClientLookup(int displayType)
public static boolean isLOB(int displayType)
displayType - Display Type
public static boolean isTextArea(int displayType)
public static boolean isCaseSensitive(int displayType)
displayType -
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||