|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dbforms.config.Field
public class Field
This class represents a field tag in dbforms-config.xml.
| Constructor Summary | |
|---|---|
Field()
|
|
| Method Summary | |
|---|---|
static String |
dumpFieldValueArray(FieldValue[] fv)
Dump the fieldValue objects contained into the input FieldValue array. |
String |
getDirectory()
Gets the directory attribute of the Field object |
IEscaper |
getEscaper()
DOCUMENT ME! |
String |
getEscaperClass()
DOCUMENT ME! |
String |
getExpression()
Gets the expression attribute of the Field object |
String |
getFieldName(String core)
DOCUMENT ME! |
String |
getFieldType()
DOCUMENT ME! |
Format |
getFormat(String pattern,
Locale locale)
DOCUMENT ME! |
int |
getId()
Gets the id attribute of the Field object |
String |
getName()
Gets the name attribute of the Field object |
String |
getSearchAlgoName()
DOCUMENT ME! |
String |
getSearchFieldName()
DOCUMENT ME! |
String |
getSearchModeName()
DOCUMENT ME! |
int |
getSize()
Gets the size attribute of the Field object |
String |
getSortFieldName()
DOCUMENT ME! |
Table |
getTable()
DOCUMENT ME! |
int |
getType()
Gets the type attribute of the Field object as numeric value. |
boolean |
hasAutoIncSet()
Gets the isAutoInc attribute of the Field object |
boolean |
hasEncodedSet()
Gets the encoding attribute of the Field object |
boolean |
hasIsKeySet()
Gets the key attribute of the Field object |
boolean |
hasSortableSet()
Gets the fieldSortable attribute of the Field object |
void |
setAutoInc(String autoInc)
Sets the autoInc attribute of the Field object |
void |
setDirectory(String directory)
Sets the directory attribute of the Field object |
void |
setEncoding(String encoding)
Sets the encoding attribute of the Field object |
void |
setEscaperClass(String string)
DOCUMENT ME! |
void |
setExpression(String expression)
Sets the expression attribute of the Field object |
void |
setFieldType(String aFieldType)
Maps the field type description to internal value. |
void |
setId(int id)
sets the id of this field-object (this method is called by Table on init). |
void |
setIsKey(String value)
Sets the isKey attribute of the Field object |
void |
setName(String name)
Sets the name attribute of the Field object |
void |
setSize(int size)
Sets the size attribute of the Field object |
void |
setSortable(String sortable)
Sets the sortable attribute of the Field object |
void |
setTable(Table table)
DOCUMENT ME! |
void |
setTypeByObject(Object obj)
DOCUMENT ME! |
String |
toString()
Get the String representation of this Field object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Field()
| Method Detail |
|---|
public void setAutoInc(String autoInc)
autoInc - The new autoInc valuepublic void setDirectory(String directory)
directory - The new directory valuepublic String getDirectory()
public void setEncoding(String encoding)
encoding - The new encoding valuepublic IEscaper getEscaper()
public void setEscaperClass(String string)
string - public void setExpression(String expression)
expression - The new expression valuepublic String getExpression()
public String getFieldName(String core)
core - DOCUMENT ME!
public void setFieldType(String aFieldType)
aFieldType - the type string value (example: "int", "char", "numeric", etc)public String getFieldType()
public Format getFormat(String pattern,
Locale locale)
pattern - DOCUMENT ME!locale - DOCUMENT ME!
public void setId(int id)
id - The new id valuepublic int getId()
public void setIsKey(String value)
value - The new isKey valuepublic void setName(String name)
name - The new name valuepublic String getName()
public void setSortable(String sortable)
sortable - The new sortable valuepublic int getType()
public void setTypeByObject(Object obj)
obj - DOCUMENT ME!public static final String dumpFieldValueArray(FieldValue[] fv)
fv - the FieldValue array to dump
public String getEscaperClass()
public String getSearchAlgoName()
public String getSearchFieldName()
public String getSearchModeName()
public void setSize(int size)
size - DOCUMENT ME!public int getSize()
public String getSortFieldName()
public void setTable(Table table)
table - public Table getTable()
public boolean hasAutoIncSet()
public boolean hasEncodedSet()
public boolean hasIsKeySet()
public boolean hasSortableSet()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||