com.novell.db.object.bean
Class HistoricalDiskUsageBean

java.lang.Object
  extended by com.novell.sentinel.client.bean.SentinelBean
      extended by com.novell.db.object.bean.HistoricalDiskUsageBean

public class HistoricalDiskUsageBean
extends SentinelBean

An automatically-generated "bean" class for the Sentinel data object type 'hist-disk-usage'.

The description of the type is:

"A HistoricalDiskUsage system object contains the amount of disk space consumed on a particular day."

The Sentinel data object bean classes are designed to be used to transport data to and from the Sentinel server. There exists a supporting infrastructure that handles the serialization/parsing of the data to/from the JSON transport format and which handles the actual HTTP transport.

A more complete description of Sentinel data object beans is found in the description of SentinelBean.

See Also:
SentinelBean, BeanTransporter

Field Summary
static String DATE
          The "bean name" of the Sentinel data object field 'Date'.
static String USEDSPACE
          The "bean name" of the Sentinel data object field 'UsedSpace'.
 
Constructor Summary
  HistoricalDiskUsageBean()
          Construct an instance of the bean class.
protected HistoricalDiskUsageBean(BeanMetaData<? extends SentinelBean> metadata)
          Constructor for use by derived classes.
 
Method Summary
 HistoricalDiskUsageBean clone()
          Create a duplicate of this bean instance, including all field values.
static BeanMetaData<? extends HistoricalDiskUsageBean> getBeanMetaData()
          Get the metadata class instance for this type.
 Date getDate()
          Get the value for the 'date' field.
 long getUsedSpace()
          Get the value for the 'used' field.
 boolean isDateClear()
          Get whether the value for the 'date' field is clear or not.
 boolean isDateNull()
          Get whether the 'date' field has been set to Null or not.
 boolean isUsedSpaceClear()
          Get whether the value for the 'used' field is clear or not.
 boolean isUsedSpaceNull()
          Get whether the 'used' field has been set to Null or not.
 
Methods inherited from class com.novell.sentinel.client.bean.SentinelBean
clearField, cloneBean, equals, fields, getBeanName, getBeanValue, getField, getFieldNoNull, getLink, getMetaData, isFieldClear, isFieldNull, isLinkClear, setField, setFieldNull, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

USEDSPACE

public static final String USEDSPACE
The "bean name" of the Sentinel data object field 'UsedSpace'. The value is ""used"".

The description of the 'used' field is:

"The amount of disk space consumed (in kilobytes)."

See Also:
Constant Field Values

DATE

public static final String DATE
The "bean name" of the Sentinel data object field 'Date'. The value is ""date"".

The description of the 'date' field is:

"The date on which the disk space was consumed."

See Also:
Constant Field Values
Constructor Detail

HistoricalDiskUsageBean

public HistoricalDiskUsageBean()
Construct an instance of the bean class.


HistoricalDiskUsageBean

protected HistoricalDiskUsageBean(BeanMetaData<? extends SentinelBean> metadata)
Constructor for use by derived classes.

Parameters:
metadata - The metadata instance for the derived bean class. Normally this constructor will only be called by generated code.
Method Detail

getDate

public Date getDate()
Get the value for the 'date' field. The description of the 'date' field is:

"The date on which the disk space was consumed."

Returns:
The field's value in the bean instance, if any (may return null).
See Also:
DATE

isDateNull

public boolean isDateNull()
Get whether the 'date' field has been set to Null or not. The description of the 'date' field is:

"The date on which the disk space was consumed."

See the description of Null values.

Returns:
true if the field value has been marked as null, false otherwise.
See Also:
DATE

isDateClear

public boolean isDateClear()
Get whether the value for the 'date' field is clear or not. The description of the 'date' field is:

"The date on which the disk space was consumed."

See the description of cleared values.

Returns:
true if the field value has been cleared, false otherwise.
See Also:
DATE

getUsedSpace

public long getUsedSpace()
Get the value for the 'used' field. The description of the 'used' field is:

"The amount of disk space consumed (in kilobytes)."

Returns:
The field's value in the bean instance, if any (may return null).
See Also:
USEDSPACE

isUsedSpaceNull

public boolean isUsedSpaceNull()
Get whether the 'used' field has been set to Null or not. The description of the 'used' field is:

"The amount of disk space consumed (in kilobytes)."

See the description of Null values.

Returns:
true if the field value has been marked as null, false otherwise.
See Also:
USEDSPACE

isUsedSpaceClear

public boolean isUsedSpaceClear()
Get whether the value for the 'used' field is clear or not. The description of the 'used' field is:

"The amount of disk space consumed (in kilobytes)."

See the description of cleared values.

Returns:
true if the field value has been cleared, false otherwise.
See Also:
USEDSPACE

getBeanMetaData

public static BeanMetaData<? extends HistoricalDiskUsageBean> getBeanMetaData()
Get the metadata class instance for this type.

The metadata is used primarily as a parameter to a BeanTransporter implementation''s constructor.


clone

public HistoricalDiskUsageBean clone()
Create a duplicate of this bean instance, including all field values.

Overrides:
clone in class Object