com.brayan.SECS.DAL
Class Event
java.lang.Object
com.brayan.SECS.DAL.Event
- Direct Known Subclasses:
- SensorEvent
public class Event
- extends java.lang.Object
This class provides the general class of an Event. Sub class is SensorEvent.
The class holds the 4 elements, needed to describe Context.
- Author:
- Brayan
|
Constructor Summary |
Event()
empty constructor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
eventName
java.lang.String eventName
dateTime
java.util.Date dateTime
location
Location location
identity
Identity identity
activity
Activity activity
Event
public Event()
- empty constructor
getEventName
public java.lang.String getEventName()
setEventName
public void setEventName(java.lang.String eventName)
getDateTime
public java.util.Date getDateTime()
setDateTime
public void setDateTime(java.util.Date dateTime)
getLocation
public Location getLocation()
setLocation
public void setLocation(Location location)
getIdentity
public Identity getIdentity()
setIdentity
public void setIdentity(Identity id)
getActivity
public Activity getActivity()
setActivity
public void setActivity(Activity act)