|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.ReporterTypeData
public class ReporterTypeData
This class holds reporter type information. A reporter may have, but is not required to have a type. The main reason for a reporter to have a type is to make it easier for client application to filter the reporter list.
ReporterData,
Developer documentation: Reporters| Field Summary | |
|---|---|
private String |
description
|
private Date |
entryDate
|
private String |
name
|
private boolean |
removed
|
private Set<ReporterData> |
reporter
The reporters that have this type. |
| Fields inherited from interface net.sf.basedb.core.data.NameableData |
|---|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH |
| Constructor Summary | |
|---|---|
ReporterTypeData()
Default constructor. |
|
| Method Summary | |
|---|---|
String |
getDescription()
Get the description for the item. |
Date |
getEntryDate()
Get the date this item was added to the database. |
String |
getName()
Get the name of the item. |
(package private) Set<ReporterData> |
getReporters()
This is the inverse end. |
boolean |
isRemoved()
Check if the removed flag is set for this item. |
void |
setDescription(String description)
Set the description for the item. |
void |
setEntryDate(Date entryDate)
|
void |
setName(String name)
Set the name of the item. |
void |
setRemoved(boolean removed)
Set the removed flag for this item. |
(package private) void |
setReporters(Set<ReporterData> reporter)
This is the inverse end. |
| Methods inherited from class net.sf.basedb.core.data.BasicData |
|---|
equals, getId, getVersion, hashCode, setId, setVersion, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface net.sf.basedb.core.data.IdentifiableData |
|---|
getId, getVersion |
| Field Detail |
|---|
private String name
private String description
private boolean removed
private Date entryDate
private Set<ReporterData> reporter
| Constructor Detail |
|---|
public ReporterTypeData()
| 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 getEntryDate()
RegisteredData
getEntryDate in interface RegisteredDatapublic void setEntryDate(Date entryDate)
Set<ReporterData> getReporters()
ReporterData.void setReporters(Set<ReporterData> reporter)
reporter - A set of ReporterData.
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||