Class DiskUsageData

java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.DiskUsageData
All Implemented Interfaces:
IdentifiableData

public class DiskUsageData extends BasicData
This class holds information about a users and/or groups disk usage.
Version:
2.0
Author:
enell
See Also:
Last modified
$Date: 2011-10-21 13:15:41 +0200 (fr, 21 okt 2011) $
Hibernate: class
table="`DiskUsage`" lazy="true"
  • Field Details

    • itemType

      private int itemType
    • location

      private int location
    • bytes

      private long bytes
    • quotaType

      private QuotaTypeData quotaType
    • group

      private GroupData group
    • user

      private UserData user
  • Constructor Details

    • DiskUsageData

      public DiskUsageData()
      Creates a new DiskUsageData.
  • Method Details

    • getItemType

      public int getItemType()
      Get the item type this annotation set is associated with.
      Since:
      2.2
      Hibernate: property
      column="`item_type`" type="int" not-null="true" update="false"
    • setItemType

      public void setItemType(int itemType)
    • getLocation

      public int getLocation()
      Get the location of the DiskConsumable item.
      See Also:
      Hibernate: property
      column="`location`" type="int" not-null="true"
    • setLocation

      public void setLocation(int location)
    • getBytes

      public long getBytes()
      Get the number of bytes the DiskConsumable item is using.
      Hibernate: property
      column="`bytes`" type="long" not-null="true"
    • setBytes

      public void setBytes(long bytes)
    • getQuotaType

      public QuotaTypeData getQuotaType()
      Get the QuotaTypeData for this DiskUsageData.
      Hibernate: many-to-one
      column="`quotatype_id`" not-null="true" outer-join="false"
    • setQuotaType

      public void setQuotaType(QuotaTypeData quotaType)
    • getGroup

      public GroupData getGroup()
      Get the GroupData that owns the DiskConsumable item.
      Hibernate: many-to-one
      column="`group_id`" not-null="false" outer-join="false"
    • setGroup

      public void setGroup(GroupData group)
    • getUser

      public UserData getUser()
      Get the user that owns the DiskConsumable item.
      Hibernate: many-to-one
      column="`user_id`" not-null="true" outer-join="false"
    • setUser

      public void setUser(UserData user)