|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--uk.org.ogsadai.service.resource.ResourceEvent
An event representing some kind of occurence involving a data service resource.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement. |
private Session |
mSession
The session involved in the event, if there was one. |
private static long |
serialVersionUID
Required to get rid of Java serialization warning. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
ResourceEvent(java.lang.Object source,
Session session)
Constructs an event involving an event originator and an associated session within which the event occurred. |
Method Summary | |
Session |
getSession()
Returns the Session that was involved in the
event. |
boolean |
hasSession()
Indicates whether or not a session was involved in the event. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private static final long serialVersionUID
private Session mSession
Constructor Detail |
public ResourceEvent(java.lang.Object source, Session session)
source
- The object that originated the event.session
- The session involved in the event.Method Detail |
public Session getSession()
Session
that was involved in the
event.
Session
.public boolean hasSession()
true
if so, otherwise false
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |