|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
com.antelmann.db.DBUpdateEvent
public class DBUpdateEvent
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Fields inherited from interface com.antelmann.calendar.Timed |
|---|
COMPARATOR, DATE_EXTRACTOR |
| Constructor Summary | |
|---|---|
DBUpdateEvent(DBClassStore<?> source,
DBClassStore.DBMethod type,
Object parameter,
long time,
Object returnValue)
|
|
DBUpdateEvent(DBClassStore<?> source,
DBClassStore.DBMethod type,
Object parameter,
long time,
Object option,
Object returnValue)
|
|
DBUpdateEvent(DBClassStore<?> source,
DBClassStore.DBMethod type,
Object parameter,
Object returnValue)
|
|
| Method Summary | |
|---|---|
Object |
getOption()
returns an additional option that was stored along with this update. |
Object |
getParameter()
returns the parameter that was used for insert, update or delete; the value may be an ID of a DBEntry, the DBEntry itself or a Filter - depending on the type of this event. |
Object |
getReturnValue()
return the value that was returned by the store method |
DBClassStore<?> |
getSource()
returns the store that updated the database. |
long |
getTime()
|
DBClassStore.DBMethod |
getType()
indicates whether it was an update, insert or delete |
User |
getUser()
returns the user that was associated with the database of the source while this event was created |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DBUpdateEvent(DBClassStore<?> source,
DBClassStore.DBMethod type,
Object parameter,
Object returnValue)
public DBUpdateEvent(DBClassStore<?> source,
DBClassStore.DBMethod type,
Object parameter,
long time,
Object returnValue)
public DBUpdateEvent(DBClassStore<?> source,
DBClassStore.DBMethod type,
Object parameter,
long time,
Object option,
Object returnValue)
| Method Detail |
|---|
public long getTime()
getTime in interface Timedpublic String toString()
toString in class EventObjectpublic Object getOption()
RemoteDBUpdateEvent.Optionpublic User getUser()
public DBClassStore<?> getSource()
getSource in class EventObjectpublic Object getParameter()
public DBClassStore.DBMethod getType()
public Object getReturnValue()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||