com.novell.db.object.bean
Class DeltaCountsBean

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

public class DeltaCountsBean
extends SentinelBean

An automatically-generated "bean" class for the Sentinel data object type 'change-count'.

The description of the type is:

"A DeltaCounts object reflects changes that have been made to data objects in the running Sentinel system. The counts may be used by clients to avoid retrieving data that has not change. Delta counts do not persist across Sentinel server invocations; they are reset each time the server starts."

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 CREATEDCOUNT
          The "bean name" of the Sentinel data object field 'CreatedCount'.
static String DATAOBJECTNAME
          The "bean name" of the Sentinel data object field 'DataObjectName'.
static String DELETEDCOUNT
          The "bean name" of the Sentinel data object field 'DeletedCount'.
static String MODIFIEDCOUNT
          The "bean name" of the Sentinel data object field 'ModifiedCount'.
 
Constructor Summary
  DeltaCountsBean()
          Construct an instance of the bean class.
protected DeltaCountsBean(BeanMetaData<? extends SentinelBean> metadata)
          Constructor for use by derived classes.
 
Method Summary
 DeltaCountsBean clone()
          Create a duplicate of this bean instance, including all field values.
static BeanMetaData<? extends DeltaCountsBean> getBeanMetaData()
          Get the metadata class instance for this type.
 int getCreatedCount()
          Get the value for the 'created' field.
 String getDataObjectName()
          Get the value for the 'name' field.
 int getDeletedCount()
          Get the value for the 'deleted' field.
 int getModifiedCount()
          Get the value for the 'modified' field.
 boolean isCreatedCountClear()
          Get whether the value for the 'created' field is clear or not.
 boolean isCreatedCountNull()
          Get whether the 'created' field has been set to Null or not.
 boolean isDataObjectNameClear()
          Get whether the value for the 'name' field is clear or not.
 boolean isDataObjectNameNull()
          Get whether the 'name' field has been set to Null or not.
 boolean isDeletedCountClear()
          Get whether the value for the 'deleted' field is clear or not.
 boolean isDeletedCountNull()
          Get whether the 'deleted' field has been set to Null or not.
 boolean isModifiedCountClear()
          Get whether the value for the 'modified' field is clear or not.
 boolean isModifiedCountNull()
          Get whether the 'modified' 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

MODIFIEDCOUNT

public static final String MODIFIEDCOUNT
The "bean name" of the Sentinel data object field 'ModifiedCount'. The value is ""modified"".

The description of the 'modified' field is:

"The number of times objects were modified since the server started."

See Also:
Constant Field Values

DATAOBJECTNAME

public static final String DATAOBJECTNAME
The "bean name" of the Sentinel data object field 'DataObjectName'. The value is ""name"".

The description of the 'name' field is:

"The name of the object type for which this DeltaCounts object provides count values."

See Also:
Constant Field Values

CREATEDCOUNT

public static final String CREATEDCOUNT
The "bean name" of the Sentinel data object field 'CreatedCount'. The value is ""created"".

The description of the 'created' field is:

"The number of objects created since the server started."

See Also:
Constant Field Values

DELETEDCOUNT

public static final String DELETEDCOUNT
The "bean name" of the Sentinel data object field 'DeletedCount'. The value is ""deleted"".

The description of the 'deleted' field is:

"The number of objects deleted since the server started."

See Also:
Constant Field Values
Constructor Detail

DeltaCountsBean

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


DeltaCountsBean

protected DeltaCountsBean(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

getCreatedCount

public int getCreatedCount()
Get the value for the 'created' field. The description of the 'created' field is:

"The number of objects created since the server started."

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

isCreatedCountNull

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

"The number of objects created since the server started."

See the description of Null values.

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

isCreatedCountClear

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

"The number of objects created since the server started."

See the description of cleared values.

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

getDataObjectName

public String getDataObjectName()
Get the value for the 'name' field. The description of the 'name' field is:

"The name of the object type for which this DeltaCounts object provides count values."

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

isDataObjectNameNull

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

"The name of the object type for which this DeltaCounts object provides count values."

See the description of Null values.

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

isDataObjectNameClear

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

"The name of the object type for which this DeltaCounts object provides count values."

See the description of cleared values.

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

getDeletedCount

public int getDeletedCount()
Get the value for the 'deleted' field. The description of the 'deleted' field is:

"The number of objects deleted since the server started."

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

isDeletedCountNull

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

"The number of objects deleted since the server started."

See the description of Null values.

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

isDeletedCountClear

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

"The number of objects deleted since the server started."

See the description of cleared values.

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

getModifiedCount

public int getModifiedCount()
Get the value for the 'modified' field. The description of the 'modified' field is:

"The number of times objects were modified since the server started."

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

isModifiedCountNull

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

"The number of times objects were modified since the server started."

See the description of Null values.

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

isModifiedCountClear

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

"The number of times objects were modified since the server started."

See the description of cleared values.

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

getBeanMetaData

public static BeanMetaData<? extends DeltaCountsBean> 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 DeltaCountsBean clone()
Create a duplicate of this bean instance, including all field values.

Overrides:
clone in class Object