public class QuotaData extends BasicData implements RemovableData, NameableData, SystemData
Quota
,
Developer documentation: Quota and disk usageModifier and Type | Field and Description |
---|---|
private String |
description |
private String |
name |
private Map<QuotaIndex,Long> |
quotaValues |
private boolean |
removed |
private String |
systemId |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
MAX_SYSTEM_ID_LENGTH
Constructor and Description |
---|
QuotaData() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get the description for the item.
|
String |
getName()
Get the name of the item.
|
Map<QuotaIndex,Long> |
getQuotaValues() |
String |
getSystemId()
Get the system id for the item.
|
boolean |
isRemoved()
Check if the removed flag is set for this item.
|
void |
setDescription(String description)
Set the description for the item.
|
void |
setName(String name)
Set the name of the item.
|
(package private) void |
setQuotaValues(Map<QuotaIndex,Long> quotaValues) |
void |
setRemoved(boolean removed)
Set the removed flag for this item.
|
void |
setSystemId(String systemId) |
equals, getId, getVersion, hashCode, setId, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getVersion
private boolean removed
private String systemId
private String name
private String description
private Map<QuotaIndex,Long> quotaValues
public boolean isRemoved()
RemovableData
isRemoved
in interface RemovableData
public void setRemoved(boolean removed)
RemovableData
setRemoved
in interface RemovableData
removed
- TRUE if the item should be flagged as removed,
FALSE otherwisepublic String getSystemId()
SystemData
getSystemId
in interface SystemData
public void setSystemId(String systemId)
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 Map<QuotaIndex,Long> getQuotaValues()
void setQuotaValues(Map<QuotaIndex,Long> quotaValues)