|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groiss.store.ViewObject
public abstract class ViewObject
| Constructor Summary | |
|---|---|
ViewObject()
|
|
| Method Summary | |
|---|---|
java.util.Vector |
dbFields()
This method must return the persistent fields of this persistent object. |
abstract java.lang.String |
getBaseClassName()
|
Persistent |
getBaseObject()
|
long |
getOid()
Getter method for the persistent object's OID. |
Store |
getStore()
This method must return the Store object that is responsible for
storing this persistent object. |
java.lang.String |
getTableName()
This method must return the table name of the database table in which this persistent object is stored. |
boolean |
isFilled()
With this method you check if this persistent object is filled with persistent data or not. |
void |
onDelete()
This method is called before the persistent object is deleted. |
void |
onInsert()
This method is called before the persistent object is inserted in the store. |
void |
onRead()
This method is called after the persistent object has been read. |
void |
onUpdate()
This method is called before the persistent object is updated to the store (the existing object in the store will be overwritten with the values of this object). |
void |
setBaseObject(Persistent baseObject)
|
void |
setFilled(boolean f)
This method can change the filled status of this persistent object. |
void |
setOid(long oid)
Setter method for the persistent object's OID. |
void |
setStore(Store s)
With this method you can change the Store of this persistent object. |
java.lang.String[] |
viewColumnNames()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ViewObject()
| Method Detail |
|---|
public abstract java.lang.String getBaseClassName()
getBaseClassName in interface Viewpublic Persistent getBaseObject()
getBaseObject in interface Viewpublic void setBaseObject(Persistent baseObject)
setBaseObject in interface Viewpublic java.lang.String[] viewColumnNames()
viewColumnNames in interface Viewpublic java.util.Vector dbFields()
Persistent
dbFields in interface PersistentPersistent.dbFields()public long getOid()
Persistent
getOid in interface PersistentPersistent.getOid()public Store getStore()
PersistentStore object that is responsible for
storing this persistent object.
getStore in interface PersistentPersistent.getStore()public java.lang.String getTableName()
Persistent
getTableName in interface PersistentPersistent.getTableName()public boolean isFilled()
PersistentStore
to fill it.
isFilled in interface Persistenttrue if the object is filledPersistent.isFilled()
public void onDelete()
throws java.lang.Exception
Persistent
onDelete in interface Persistentjava.lang.ExceptionPersistent.onDelete()
public void onInsert()
throws java.lang.Exception
Persistent
onInsert in interface Persistentjava.lang.ExceptionPersistent.onInsert()
public void onRead()
throws java.lang.Exception
Persistent
onRead in interface Persistentjava.lang.ExceptionPersistent.onRead()
public void onUpdate()
throws java.lang.Exception
Persistent
onUpdate in interface Persistentjava.lang.ExceptionPersistent.onUpdate()public void setFilled(boolean f)
PersistentPersistent.isFilled() for more details.
setFilled in interface Persistentf - Persistent.setFilled(boolean)public void setOid(long oid)
Persistent
setOid in interface Persistentoid - Persistent.setOid(long)public void setStore(Store s)
PersistentStore of this persistent object.
Usually objects are stored in the system's database and you will never need
to set the Store manually.
setStore in interface Persistents - Persistent.setStore(com.groiss.store.Store)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||