public class QuotaTypeData extends BasicData implements NameableData, SystemData, RegisteredData
Modifier and Type | Field and Description |
---|---|
private String |
description |
private Date |
entryDate |
private String |
name |
private boolean |
secondaryLocation |
private String |
systemId |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
MAX_SYSTEM_ID_LENGTH
Constructor and Description |
---|
QuotaTypeData() |
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.
|
boolean |
getSecondaryLocation()
If this quota type can use disk quota in the secondary location or not.
|
String |
getSystemId()
Get the system id for the 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 |
setSecondaryLocation(boolean secondaryLocation) |
void |
setSystemId(String systemId) |
equals, getId, getVersion, hashCode, setId, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getVersion
private String name
private String description
private String systemId
private Date entryDate
private boolean secondaryLocation
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 String getSystemId()
SystemData
getSystemId
in interface SystemData
public void setSystemId(String systemId)
public Date getEntryDate()
RegisteredData
getEntryDate
in interface RegisteredData
public void setEntryDate(Date entryDate)
public boolean getSecondaryLocation()
public void setSecondaryLocation(boolean secondaryLocation)