public class ReporterTypeData extends BasicData implements NameableData, RemovableData, RegisteredData
ReporterData
,
Developer documentation: ReportersModifier and Type | Field and Description |
---|---|
private String |
description |
private Date |
entryDate |
private String |
name |
private Integer |
removedBy |
private Set<ReporterData> |
reporter
The reporters that have this type.
|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Constructor and Description |
---|
ReporterTypeData()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Integer |
getRemovedBy()
Get the ID of the user that removed this item.
|
(package private) Set<ReporterData> |
getReporters()
This is the inverse end.
|
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 |
setRemovedBy(Integer removedBy)
Set the ID of the user that removed this item or null
to restore the item.
|
(package private) void |
setReporters(Set<ReporterData> reporter)
This is the inverse end.
|
equals, getId, getVersion, hashCode, setId, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getVersion
private String name
private String description
private Integer removedBy
private Date entryDate
private Set<ReporterData> reporter
public String getName()
NameableData
getName
in interface NameableData
String
with the name of the itempublic void setName(String name)
NameableData
MAX_NAME_LENGTH
constant.setName
in interface NameableData
name
- The new name for the itempublic String getDescription()
NameableData
getDescription
in interface NameableData
String
with a description of the itempublic void setDescription(String description)
NameableData
MAX_DESCRIPTION_LENGTH
constant.setDescription
in interface NameableData
description
- The new description for the itempublic Integer getRemovedBy()
RemovableData
getRemovedBy
in interface RemovableData
public void setRemovedBy(Integer removedBy)
RemovableData
setRemovedBy
in interface RemovableData
public Date getEntryDate()
RegisteredData
getEntryDate
in interface RegisteredData
public void setEntryDate(Date entryDate)
Set<ReporterData> getReporters()
ReporterData
.void setReporters(Set<ReporterData> reporter)
reporter
- A set of ReporterData
.