|
WPI GDC CMS 0.0.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.wpi.gdc.cms.main.Event
An event.
Field Summary | |
static int |
FIELD_END
The event end field. |
static int |
FIELD_ID
The event ID field. |
static int |
FIELD_LOCATION
The event web URL field. |
static int |
FIELD_NAME
The event name field. |
static int |
FIELD_PAIRS
The event name/value pairs field. |
static int |
FIELD_SHORT_NAME
The event shortName field. |
static int |
FIELD_START
The event start field. |
static int |
FIELD_URL
The event web URL field. |
Constructor Summary | |
Event(int id,
java.lang.String name,
java.lang.String shortName,
java.lang.String location,
java.lang.String url,
java.util.Hashtable pairs,
java.util.Vector items)
Creates a new Event based on the passed values. |
Method Summary | |
java.util.Calendar |
getEndDate()
returns the end date for event (marked by end date for last day of event). |
int |
getID()
|
java.util.Vector |
getItems()
|
java.lang.String |
getLocation()
|
java.lang.String |
getName()
|
java.util.Hashtable |
getPairs()
|
java.lang.String |
getShortName()
|
java.util.Calendar |
getStartDate()
returns the start date for event (marked by start date for first day of event). |
java.lang.String |
getURL()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int FIELD_ID
getID()
public static final int FIELD_NAME
getName()
public static final int FIELD_SHORT_NAME
getShortName()
public static final int FIELD_LOCATION
getURL()
public static final int FIELD_URL
getURL()
public static final int FIELD_START
getStartDate()
public static final int FIELD_END
getEndDate()
public static final int FIELD_PAIRS
getPairs()
Constructor Detail |
public Event(int id, java.lang.String name, java.lang.String shortName, java.lang.String location, java.lang.String url, java.util.Hashtable pairs, java.util.Vector items)
id
- the ID of the event; set to a negative number for a event
to be inserted into the DB layer.name
- the name of the event.location
- the location of the event.url
- the address of the website for the event.pairs
- any additional information about the event other than that above.items
- Method Detail |
public int getID()
public java.lang.String getName()
public java.lang.String getShortName()
public java.lang.String getLocation()
public java.lang.String getURL()
public java.util.Calendar getStartDate()
Note: will return null
if there are no items for this event
public java.util.Calendar getEndDate()
Note: will return null
if there are no items for this event
public java.util.Hashtable getPairs()
public java.util.Vector getItems()
public java.lang.String toString()
toString
in class java.lang.Object
|
WPI GDC CMS 0.0.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |