|
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.Topic
The Topic class represents a Topic for news stories.
| Constructor Summary | |
Topic(int id,
java.lang.String name,
java.lang.String description,
Icon icon)
Creates a new Topic object. |
|
| Method Summary | |
java.lang.String |
getDescription()
Retrieves the description of this topic. |
Icon |
getIcon()
Retrieves the icon for this topic. |
int |
getID()
Retrieves the ID of this topic. |
java.lang.String |
getName()
Retrieves the name of this topic. |
void |
setDescription(java.lang.String description)
Sets the description for this topic. |
void |
setIcon(Icon icon)
Sets the icon for this topic. |
void |
setName(java.lang.String name)
Sets the name for this topic. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Topic(int id,
java.lang.String name,
java.lang.String description,
Icon icon)
id - the ID of the topic; you should set this to a negative number
if the topic is a new topic that will be added to the database later.name - the name of the topic.description - a brief description of the topic.icon - an iconic representation of the topic.| Method Detail |
public int getID()
public java.lang.String getName()
public java.lang.String getDescription()
public Icon getIcon()
public void setName(java.lang.String name)
name - the new name for this topic.public void setDescription(java.lang.String description)
description - the new description for this topic.public void setIcon(Icon icon)
icon - the new icon for this topic.
|
WPI GDC CMS 0.0.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||