|
Servoy 5.x Public API | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface IRecord
The Record interface for business objects (table rows)
| Method Summary | |
|---|---|
void |
addModificationListener(IModificationListener l)
Add modification listener |
boolean |
existInDataSource()
Check if this is a new not yet saved record |
IFoundSet |
getParentFoundSet()
Get the foundset this record belongs to |
Object[] |
getPK()
The the record identifier (primary key) |
IFoundSet |
getRelatedFoundSet(String relationName)
Get a related foundset for this record |
Object |
getValue(String dataProviderID)
Get a record value |
boolean |
has(String dataprovider)
Returns true if the dataprovider can be resolved by this object. |
boolean |
isLocked()
Check to see if locked |
void |
removeModificationListener(IModificationListener l)
Remove modification listener |
Object |
setValue(String dataProviderID,
Object value)
|
boolean |
startEditing()
Start the edit of a record, must be called before any setValue. |
| Methods inherited from interface com.servoy.j2db.dataprocessing.IRecordDeprecated |
|---|
addModificationListner, existInDB, getRelatedFoundSet, removeModificationListner |
| Method Detail |
|---|
void addModificationListener(IModificationListener l)
l - the listenerboolean existInDataSource()
IFoundSet getParentFoundSet()
Object[] getPK()
IFoundSet getRelatedFoundSet(String relationName)
relationName -
Object getValue(String dataProviderID)
dataProviderID -
boolean has(String dataprovider)
dataprovider -
boolean isLocked()
void removeModificationListener(IModificationListener l)
l - the listener
Object setValue(String dataProviderID,
Object value)
dataProviderID - to setvalue - new value
boolean startEditing()
|
Copyright © 2010 Servoy B.V. | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||