|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.core.data.BasicData
org.proteios.core.data.NewsData
public class NewsData
This class holds information about news items.
News,
Misc overview| Field Summary |
|---|
| Fields inherited from interface org.proteios.core.data.NameableData |
|---|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH |
| Constructor Summary | |
|---|---|
NewsData()
|
|
| Method Summary | |
|---|---|
String |
getDescription()
Get the description for the item. |
Date |
getEndDate()
Get the last day this news item should be shown. |
String |
getName()
Get the name of the item. |
Date |
getNewsDate()
Get the news date of this news item. |
Date |
getStartDate()
Get the first day this news item should be shown. |
boolean |
isRemoved()
Check if the removed flag is set for this item. |
void |
setDescription(String description)
Set the description for the item. |
void |
setEndDate(Date endDate)
|
void |
setName(String name)
Set the name of the item. |
void |
setNewsDate(Date newsDate)
|
void |
setRemoved(boolean removed)
Set the removed flag for this item. |
void |
setStartDate(Date startDate)
|
| Methods inherited from class org.proteios.core.data.BasicData |
|---|
equals, getId, getVersion, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.proteios.core.data.IdentifiableData |
|---|
getId, getVersion |
| Constructor Detail |
|---|
public NewsData()
| Method Detail |
|---|
public String getName()
NameableData
getName in interface NameableDataString with the name of the itempublic void setName(String name)
NameableDataMAX_NAME_LENGTH constant.
setName in interface NameableDataname - The new name for the itempublic String getDescription()
NameableData
getDescription in interface NameableDataString with a description of the itempublic void setDescription(String description)
NameableDataMAX_DESCRIPTION_LENGTH constant.
setDescription in interface NameableDatadescription - The new description for the itempublic boolean isRemoved()
RemovableData
isRemoved in interface RemovableDatapublic void setRemoved(boolean removed)
RemovableData
setRemoved in interface RemovableDataremoved - TRUE if the item should be flagged as removed,
FALSE otherwisepublic Date getStartDate()
public void setStartDate(Date startDate)
public Date getNewsDate()
public void setNewsDate(Date newsDate)
public Date getEndDate()
public void setEndDate(Date endDate)
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||