public class QuotaTypeData extends BasicData implements NameableData, SystemData, RegisteredData
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description |
private java.util.Date |
entryDate |
private java.lang.String |
name |
private boolean |
secondaryLocation |
private java.lang.String |
systemId |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
MAX_SYSTEM_ID_LENGTH
Constructor and Description |
---|
QuotaTypeData() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get the description for the item.
|
java.util.Date |
getEntryDate()
Get the date this item was added to the database.
|
java.lang.String |
getName()
Get the name of the item.
|
boolean |
getSecondaryLocation()
If this quota type can use disk quota in the secondary location or not.
|
java.lang.String |
getSystemId()
Get the system id for the item.
|
void |
setDescription(java.lang.String description)
Set the description for the item.
|
void |
setEntryDate(java.util.Date entryDate) |
void |
setName(java.lang.String name)
Set the name of the item.
|
void |
setSecondaryLocation(boolean secondaryLocation) |
void |
setSystemId(java.lang.String systemId) |
equals, getId, getVersion, hashCode, setId, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getVersion
private java.lang.String name
private java.lang.String description
private java.lang.String systemId
private java.util.Date entryDate
private boolean secondaryLocation
public java.lang.String getName()
NameableData
getName
in interface NameableData
String
with the name of the itempublic void setName(java.lang.String name)
NameableData
MAX_NAME_LENGTH
constant.setName
in interface NameableData
name
- The new name for the itempublic java.lang.String getDescription()
NameableData
getDescription
in interface NameableData
String
with a description of the itempublic void setDescription(java.lang.String description)
NameableData
MAX_DESCRIPTION_LENGTH
constant.setDescription
in interface NameableData
description
- The new description for the itempublic java.lang.String getSystemId()
SystemData
getSystemId
in interface SystemData
public void setSystemId(java.lang.String systemId)
public java.util.Date getEntryDate()
RegisteredData
getEntryDate
in interface RegisteredData
public void setEntryDate(java.util.Date entryDate)
public boolean getSecondaryLocation()
public void setSecondaryLocation(boolean secondaryLocation)