SqlFieldIndexMain
, SqlFieldIndexSub
public abstract class SqlFieldIdx extends SqlField
BOOL, DATE, JCOMBOBOXB, JCOMBOBOXD, JCOMBOBOXDC, JCOMBOBOXENUMB, JCOMBOBOXENUMD, JCOMBOBOXENUMDC, JCOMBOBOXENUMF, JCOMBOBOXENUMI, JCOMBOBOXENUML, JCOMBOBOXENUMP, JCOMBOBOXENUMS, JCOMBOBOXENUMTM, JCOMBOBOXENUMTS, JCOMBOBOXF, JCOMBOBOXI, JCOMBOBOXL, JCOMBOBOXP, JCOMBOBOXS, JCOMBOBOXTM, JCOMBOBOXTS, PHONENO, TEXT, TEXTDOUBLE, TEXTFLOAT, TEXTINT, TEXTLONG, TEXTPSWD, TIME, TIMESTAMP
Constructor | Description |
---|---|
SqlFieldIdx() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getSqlPutSnippet() |
Get SQL Snippet with column name and data
|
java.lang.String |
getTable() |
Get SQL table name
|
boolean |
isDeletedIsDeleted() |
Returns if record is deleted.
|
boolean |
isStatusFields() |
Are there status fields?
|
boolean |
isViewDeleted() |
Can we view deleted records?
|
java.lang.String |
presentData(java.lang.String in) |
Validate String data to value consistent with data type
|
void |
resetField() |
Reset field to default values.
|
void |
setDeletedIsDeleted(boolean deletedIsDeleted) |
Set Deleted flag for record.
|
void |
setDependentFieldUpdater(SqlField[] depFlds) |
Set fields that are also in the index fields.
|
void |
setEnableEdit(boolean enableEdit) |
Toggle the enable/disable editing of the field.
|
void |
setField(java.sql.ResultSet rs) |
Set data from ResultSet
|
void |
setViewDeleted(boolean viewDeleted) |
Set to view deleted records
|
abstract java.lang.String |
toString() |
Return type and data
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEnableToggle, getSqlColNames, getSqlSnippet, getType, setEnableToggle
public java.lang.String getSqlPutSnippet()
getSqlPutSnippet
in class SqlField
public java.lang.String getTable()
public boolean isDeletedIsDeleted()
public boolean isStatusFields()
public boolean isViewDeleted()
public java.lang.String presentData(java.lang.String in)
presentData
in class SqlField
public abstract java.lang.String toString()
public void resetField()
resetField
in class SqlField
public void setDeletedIsDeleted(boolean deletedIsDeleted)
deletedIsDeleted
- public void setEnableEdit(boolean enableEdit)
setEnableEdit
in class SqlField
enableEdit
- public void setField(java.sql.ResultSet rs)
public void setDependentFieldUpdater(SqlField[] depFlds)
depFlds
- public void setViewDeleted(boolean viewDeleted)
viewDeleted
-