|
|||||||||
| Home >> All >> com >> RuntimeCollective >> event >> [ bean overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.RuntimeCollective.event.bean
Class Event

java.lang.Objectcom.RuntimeCollective.event.bean.Event
- All Implemented Interfaces:
- com.RuntimeCollective.webapps.bean.EntityBean, java.io.Serializable
- public class Event
- extends java.lang.Object
- implements com.RuntimeCollective.webapps.bean.EntityBean
- extends java.lang.Object
A very basic Event object with Start and End dates.
- Version:
- $Id: Event.java,v 1.3 2003/09/30 15:12:48 joe Exp $
| Field Summary | |
static java.lang.String |
DATABASE_TABLE
The name of the database table for this bean type. |
protected int |
id
This Event's id |
protected java.net.URL |
LinkURL
The LinkURL |
protected java.lang.String |
Location
The Location. |
protected java.lang.String |
Name
The Name. |
protected java.lang.String |
Sector
The Sector. |
protected java.util.Date |
StartDate
The Start Date. |
| Fields inherited from interface com.RuntimeCollective.webapps.bean.EntityBean |
INTERFACE_BEAN, NULL_ID |
| Constructor Summary | |
Event()
Construct a new blank Event, giving it a new unique ID. |
|
Event(int id)
Get a Event from the RuntimeDataSource, given an id. |
|
| Method Summary | |
void |
delete()
Delete this Event from the database. |
int |
getId()
Get the unique id of this Event. |
java.net.URL |
getLinkURL()
Get the LinkURL |
java.lang.String |
getLocation()
Get the Location |
java.lang.String |
getName()
Get the Name |
java.lang.String |
getSector()
Get the Sector |
java.util.Date |
getStartDate()
Get the Start Date. |
void |
save()
Save this Event to the database. |
void |
setId(int id)
Set the unique id of this Event. |
void |
setLinkURL(java.net.URL linkURL)
Set the LinkURL |
void |
setLocation(java.lang.String location)
Set the Location. |
void |
setName(java.lang.String name)
Set the Name. |
void |
setSector(java.lang.String sector)
Set the Sector. |
void |
setStartDate(java.util.Date startDate)
Set the Start Date. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
DATABASE_TABLE
public static final java.lang.String DATABASE_TABLE
- The name of the database table for this bean type.
- See Also:
- Constant Field Values
id
protected int id
- This Event's id
Name
protected java.lang.String Name
- The Name.
Sector
protected java.lang.String Sector
- The Sector.
Location
protected java.lang.String Location
- The Location.
LinkURL
protected java.net.URL LinkURL
- The LinkURL
StartDate
protected java.util.Date StartDate
- The Start Date.
| Constructor Detail |
Event
public Event()
throws java.sql.SQLException
- Construct a new blank Event, giving it a new unique ID.
Event
public Event(int id)
throws java.sql.SQLException
- Get a Event from the RuntimeDataSource, given an id.
| Method Detail |
setId
public void setId(int id)
- Set the unique id of this Event.
- Specified by:
setIdin interfacecom.RuntimeCollective.webapps.bean.EntityBean
getId
public int getId()
- Get the unique id of this Event.
- Specified by:
getIdin interfacecom.RuntimeCollective.webapps.bean.EntityBean
save
public void save()
throws java.sql.SQLException
- Save this Event to the database.
- Specified by:
savein interfacecom.RuntimeCollective.webapps.bean.EntityBean
delete
public void delete()
throws java.sql.SQLException
- Delete this Event from the database.
- Specified by:
deletein interfacecom.RuntimeCollective.webapps.bean.EntityBean
setName
public void setName(java.lang.String name)
- Set the Name.
getName
public java.lang.String getName()
- Get the Name
setSector
public void setSector(java.lang.String sector)
- Set the Sector.
getSector
public java.lang.String getSector()
- Get the Sector
setLocation
public void setLocation(java.lang.String location)
- Set the Location.
getLocation
public java.lang.String getLocation()
- Get the Location
setLinkURL
public void setLinkURL(java.net.URL linkURL)
- Set the LinkURL
getLinkURL
public java.net.URL getLinkURL()
- Get the LinkURL
getStartDate
public java.util.Date getStartDate()
- Get the Start Date.
setStartDate
public void setStartDate(java.util.Date startDate)
- Set the Start Date.
|
|||||||||
| Home >> All >> com >> RuntimeCollective >> event >> [ bean overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.RuntimeCollective.event.bean.Event