com.novell.db.object.bean
Class AssetDataContainerBean

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

public class AssetDataContainerBean
extends SentinelBean

An automatically-generated "bean" class for the Sentinel data object type 'asset-data-container'.

The description of the type is:

"An Asset Data object contains identification and location information about enterprise assets."

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 ID
          The "bean name" of the Sentinel data object field 'Id'.
static String REL_AD
          The "bean name" of the Sentinel data object field 'AssetData'.
static String REL_AED
          The "bean name" of the Sentinel data object field 'AssetEventData'.
 
Constructor Summary
  AssetDataContainerBean()
          Construct an instance of the bean class.
protected AssetDataContainerBean(BeanMetaData<? extends SentinelBean> metadata)
          Constructor for use by derived classes.
 
Method Summary
 void addToAssetData(AssetDataBean value)
          Add a value to the collection field 'assets'.
 void addToAssetEventData(AssetEventDataBean value)
          Add a value to the collection field 'events'.
 void clearAssetData()
          Clear any current value for the 'assets' field in the bean.
 void clearAssetEventData()
          Clear any current value for the 'events' field in the bean.
 void clearId()
          Clear any current value for the 'id' field in the bean.
 AssetDataContainerBean clone()
          Create a duplicate of this bean instance, including all field values.
 Collection<AssetDataBean> getAssetData()
          Get the value for the 'assets' field.
 Collection<AssetEventDataBean> getAssetEventData()
          Get the value for the 'events' field.
static BeanMetaData<? extends AssetDataContainerBean> getBeanMetaData()
          Get the metadata class instance for this type.
 String getId()
          Get the value for the 'id' field.
 boolean isAssetDataClear()
          Get whether the value for the 'assets' field is clear or not.
 boolean isAssetDataNull()
          Get whether the 'assets' field has been set to Null or not.
 boolean isAssetEventDataClear()
          Get whether the value for the 'events' field is clear or not.
 boolean isAssetEventDataNull()
          Get whether the 'events' field has been set to Null or not.
 boolean isIdClear()
          Get whether the value for the 'id' field is clear or not.
 boolean isIdNull()
          Get whether the 'id' field has been set to Null or not.
 void setAssetData(Collection<? extends AssetDataBean> assetData)
          Set the value for the 'assets' field.
 void setAssetDataNull()
          Set to Null any current value for the 'assets' field in the bean.
 void setAssetEventData(Collection<? extends AssetEventDataBean> assetEventData)
          Set the value for the 'events' field.
 void setAssetEventDataNull()
          Set to Null any current value for the 'events' field in the bean.
 void setId(String id)
          Set the value for the 'id' field.
 void setIdNull()
          Set to Null any current value for the 'id' field in the bean.
 
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

REL_AED

public static final String REL_AED
The "bean name" of the Sentinel data object field 'AssetEventData'. The value is ""events"".

The description of the 'events' field is:

"The list of AssetEventData objects used to locate AssetData objects when executing an asset report."

See Also:
Constant Field Values

ID

public static final String ID
The "bean name" of the Sentinel data object field 'Id'. The value is ""id"".

The description of the 'id' field is:

"Unique identifier for asset container."

See Also:
Constant Field Values

REL_AD

public static final String REL_AD
The "bean name" of the Sentinel data object field 'AssetData'. The value is ""assets"".

The description of the 'assets' field is:

"A list of asset objects, generated as the result of an executed asset report."

See Also:
Constant Field Values
Constructor Detail

AssetDataContainerBean

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


AssetDataContainerBean

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

getId

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

"Unique identifier for asset container."

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

isIdNull

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

"Unique identifier for asset container."

See the description of Null values.

Returns:
true if the field value has been marked as null, false otherwise.
See Also:
setIdNull(), ID

isIdClear

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

"Unique identifier for asset container."

See the description of cleared values.

Returns:
true if the field value has been cleared, false otherwise.
See Also:
clearId(), ID

setId

public void setId(String id)
Set the value for the 'id' field. The description of the 'id' field is:

"Unique identifier for asset container."

Parameters:
id - Value to set
See Also:
ID

clearId

public void clearId()
Clear any current value for the 'id' field in the bean. The description of the 'id' field is:

"Unique identifier for asset container."

Using this method will not clear the server value when the bean is PUT to the server. Use the setIdNull() method to clear the server's value.

See the description of cleared values.

See Also:
ID

setIdNull

public void setIdNull()
Set to Null any current value for the 'id' field in the bean. The description of the 'id' field is:

"Unique identifier for asset container."

Using this method will clear the server value when the bean is PUT to the server. Use the clearId() method to avoid clearing the server's value.

See the description of Null values.

See Also:
ID

getAssetData

public Collection<AssetDataBean> getAssetData()
Get the value for the 'assets' field. The description of the 'assets' field is:

"A list of asset objects, generated as the result of an executed asset report."

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

isAssetDataNull

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

"A list of asset objects, generated as the result of an executed asset report."

See the description of Null values.

Returns:
true if the field value has been marked as null, false otherwise.
See Also:
setAssetDataNull(), REL_AD

isAssetDataClear

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

"A list of asset objects, generated as the result of an executed asset report."

See the description of cleared values.

Returns:
true if the field value has been cleared, false otherwise.
See Also:
clearAssetData(), REL_AD

setAssetData

public void setAssetData(Collection<? extends AssetDataBean> assetData)
Set the value for the 'assets' field. The description of the 'assets' field is:

"A list of asset objects, generated as the result of an executed asset report."

Parameters:
assetData - Value to set
See Also:
REL_AD

clearAssetData

public void clearAssetData()
Clear any current value for the 'assets' field in the bean. The description of the 'assets' field is:

"A list of asset objects, generated as the result of an executed asset report."

Using this method will not clear the server value when the bean is PUT to the server. Use the setAssetDataNull() method to clear the server's value.

See the description of cleared values.

See Also:
REL_AD

setAssetDataNull

public void setAssetDataNull()
Set to Null any current value for the 'assets' field in the bean. The description of the 'assets' field is:

"A list of asset objects, generated as the result of an executed asset report."

Using this method will clear the server value when the bean is PUT to the server. Use the clearAssetData() method to avoid clearing the server's value.

See the description of Null values.

See Also:
REL_AD

addToAssetData

public void addToAssetData(AssetDataBean value)
Add a value to the collection field 'assets'. The description of the 'assets' field is:

"A list of asset objects, generated as the result of an executed asset report."

Parameters:
value - Value to add to collection.
See Also:
REL_AD

getAssetEventData

public Collection<AssetEventDataBean> getAssetEventData()
Get the value for the 'events' field. The description of the 'events' field is:

"The list of AssetEventData objects used to locate AssetData objects when executing an asset report."

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

isAssetEventDataNull

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

"The list of AssetEventData objects used to locate AssetData objects when executing an asset report."

See the description of Null values.

Returns:
true if the field value has been marked as null, false otherwise.
See Also:
setAssetEventDataNull(), REL_AED

isAssetEventDataClear

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

"The list of AssetEventData objects used to locate AssetData objects when executing an asset report."

See the description of cleared values.

Returns:
true if the field value has been cleared, false otherwise.
See Also:
clearAssetEventData(), REL_AED

setAssetEventData

public void setAssetEventData(Collection<? extends AssetEventDataBean> assetEventData)
Set the value for the 'events' field. The description of the 'events' field is:

"The list of AssetEventData objects used to locate AssetData objects when executing an asset report."

Parameters:
assetEventData - Value to set
See Also:
REL_AED

clearAssetEventData

public void clearAssetEventData()
Clear any current value for the 'events' field in the bean. The description of the 'events' field is:

"The list of AssetEventData objects used to locate AssetData objects when executing an asset report."

Using this method will not clear the server value when the bean is PUT to the server. Use the setAssetEventDataNull() method to clear the server's value.

See the description of cleared values.

See Also:
REL_AED

setAssetEventDataNull

public void setAssetEventDataNull()
Set to Null any current value for the 'events' field in the bean. The description of the 'events' field is:

"The list of AssetEventData objects used to locate AssetData objects when executing an asset report."

Using this method will clear the server value when the bean is PUT to the server. Use the clearAssetEventData() method to avoid clearing the server's value.

See the description of Null values.

See Also:
REL_AED

addToAssetEventData

public void addToAssetEventData(AssetEventDataBean value)
Add a value to the collection field 'events'. The description of the 'events' field is:

"The list of AssetEventData objects used to locate AssetData objects when executing an asset report."

Parameters:
value - Value to add to collection.
See Also:
REL_AED

getBeanMetaData

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

Overrides:
clone in class Object