|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.core.data.BasicData net.sf.basedb.core.data.DiskUsageData
public class DiskUsageData
This class holds information about a users and/or groups disk usage.
DiskUsage
,
Quota overviewField Summary | |
---|---|
private long |
bytes
|
private GroupData |
group
|
private int |
itemType
|
private int |
location
|
private QuotaTypeData |
quotaType
|
private UserData |
user
|
Constructor Summary | |
---|---|
DiskUsageData()
Creates a new DiskUsageData. |
Method Summary | |
---|---|
long |
getBytes()
Get the number of bytes the DiskConsumable
item is using. |
GroupData |
getGroup()
Get the GroupData that owns the DiskConsumable item. |
int |
getItemType()
Get the item type this annotation set is associated with. |
int |
getLocation()
Get the location of the DiskConsumable item. |
QuotaTypeData |
getQuotaType()
Get the QuotaTypeData for this DiskUsageData. |
UserData |
getUser()
Get the user that owns the DiskConsumable item. |
void |
setBytes(long bytes)
|
void |
setGroup(GroupData group)
|
void |
setItemType(int itemType)
|
void |
setLocation(int location)
|
void |
setQuotaType(QuotaTypeData quotaType)
|
void |
setUser(UserData user)
|
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 |
Field Detail |
---|
private int itemType
private int location
private long bytes
private QuotaTypeData quotaType
private GroupData group
private UserData user
Constructor Detail |
---|
public DiskUsageData()
Method Detail |
---|
public int getItemType()
public void setItemType(int itemType)
public int getLocation()
DiskConsumable
item.
Location
public void setLocation(int location)
public long getBytes()
DiskConsumable
item is using.
public void setBytes(long bytes)
public QuotaTypeData getQuotaType()
QuotaTypeData
for this DiskUsageData.
public void setQuotaType(QuotaTypeData quotaType)
public GroupData getGroup()
GroupData
that owns the DiskConsumable
item.
public void setGroup(GroupData group)
public UserData getUser()
DiskConsumable
item.
public void setUser(UserData user)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |