public interface IBaseField extends IObjectLockingSupport
Modifier and Type | Method and Description |
---|---|
boolean |
autoPost()
If true, the database is updated immediately when the field value changes.
|
void |
autoPost(boolean pVal)
If true, the database is updated immediately when the field value changes.
|
Object |
field(String fieldName)
The value of the specified field.
|
void |
field(String fieldName,
Object pVal)
The value of the specified field.
|
Object |
id()
The item ID.
|
boolean |
modified()
Checks if the item has been modified since last refresh or post operation.
|
void |
post()
Posts all changed values into database.
|
void |
refresh()
Reads saved values, overwriting values in memory.
|
void |
undo()
Undoes changes to field values that have not been posted.
|
boolean |
virtual()
Checks if this is a virtual item, that is, an item that does not have a corresponding database record.
|
isLocked, lockObject, unLockObject
Object field(String fieldName)
The value of the specified field.
Getter method for the COM property "Field"
fieldName
- Mandatory java.lang.String parameter.void field(String fieldName, Object pVal)
The value of the specified field.
Setter method for the COM property "Field"
fieldName
- Mandatory java.lang.String parameter.pVal
- Mandatory java.lang.Object parameter.Object id()
The item ID.
Getter method for the COM property "ID"
boolean autoPost()
If true, the database is updated immediately when the field value changes.
Getter method for the COM property "AutoPost"
void autoPost(boolean pVal)
If true, the database is updated immediately when the field value changes.
Setter method for the COM property "AutoPost"
pVal
- Mandatory boolean parameter.void post()
Posts all changed values into database.
void refresh()
Reads saved values, overwriting values in memory.
void undo()
Undoes changes to field values that have not been posted.
boolean modified()
Checks if the item has been modified since last refresh or post operation. If true, the field properties on the server side are not up to date.
Getter method for the COM property "Modified"
boolean virtual()
Checks if this is a virtual item, that is, an item that does not have a corresponding database record.
Getter method for the COM property "Virtual"
Copyright © 2020. All rights reserved.