com.novell.db.object.bean
Class SoftAssetDataBean

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

public class SoftAssetDataBean
extends SentinelBean

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

The description of the type is:

"A software asset associated with or installed on a physical asset."

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 ASSET_CATEGORY
          The "bean name" of the Sentinel data object field 'AssetCategory'.
static String ASSET_NAME
          The "bean name" of the Sentinel data object field 'AssetName'.
static String PRODUCT_NAME
          The "bean name" of the Sentinel data object field 'ProductName'.
static String PRODUCT_VERSION
          The "bean name" of the Sentinel data object field 'ProductVersion'.
static String UUID
          The "bean name" of the Sentinel data object field 'Id'.
static String VENDOR
          The "bean name" of the Sentinel data object field 'Vendor'.
 
Constructor Summary
  SoftAssetDataBean()
          Construct an instance of the bean class.
protected SoftAssetDataBean(BeanMetaData<? extends SentinelBean> metadata)
          Constructor for use by derived classes.
 
Method Summary
 void clearAssetCategory()
          Clear any current value for the 'category' field in the bean.
 void clearAssetName()
          Clear any current value for the 'name' field in the bean.
 void clearId()
          Clear any current value for the 'id' field in the bean.
 void clearProductName()
          Clear any current value for the 'product-name' field in the bean.
 void clearProductVersion()
          Clear any current value for the 'product-version' field in the bean.
 void clearVendor()
          Clear any current value for the 'vendor' field in the bean.
 SoftAssetDataBean clone()
          Create a duplicate of this bean instance, including all field values.
 String getAssetCategory()
          Get the value for the 'category' field.
 String getAssetName()
          Get the value for the 'name' field.
static BeanMetaData<? extends SoftAssetDataBean> getBeanMetaData()
          Get the metadata class instance for this type.
 String getId()
          Get the value for the 'id' field.
 String getProductName()
          Get the value for the 'product-name' field.
 String getProductVersion()
          Get the value for the 'product-version' field.
 String getVendor()
          Get the value for the 'vendor' field.
 boolean isAssetCategoryClear()
          Get whether the value for the 'category' field is clear or not.
 boolean isAssetCategoryNull()
          Get whether the 'category' field has been set to Null or not.
 boolean isAssetNameClear()
          Get whether the value for the 'name' field is clear or not.
 boolean isAssetNameNull()
          Get whether the 'name' 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.
 boolean isProductNameClear()
          Get whether the value for the 'product-name' field is clear or not.
 boolean isProductNameNull()
          Get whether the 'product-name' field has been set to Null or not.
 boolean isProductVersionClear()
          Get whether the value for the 'product-version' field is clear or not.
 boolean isProductVersionNull()
          Get whether the 'product-version' field has been set to Null or not.
 boolean isVendorClear()
          Get whether the value for the 'vendor' field is clear or not.
 boolean isVendorNull()
          Get whether the 'vendor' field has been set to Null or not.
 void setAssetCategory(String assetCategory)
          Set the value for the 'category' field.
 void setAssetCategoryNull()
          Set to Null any current value for the 'category' field in the bean.
 void setAssetName(String assetName)
          Set the value for the 'name' field.
 void setAssetNameNull()
          Set to Null any current value for the 'name' 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.
 void setProductName(String productName)
          Set the value for the 'product-name' field.
 void setProductNameNull()
          Set to Null any current value for the 'product-name' field in the bean.
 void setProductVersion(String productVersion)
          Set the value for the 'product-version' field.
 void setProductVersionNull()
          Set to Null any current value for the 'product-version' field in the bean.
 void setVendor(String vendor)
          Set the value for the 'vendor' field.
 void setVendorNull()
          Set to Null any current value for the 'vendor' 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

PRODUCT_VERSION

public static final String PRODUCT_VERSION
The "bean name" of the Sentinel data object field 'ProductVersion'. The value is ""product-version"".

The description of the 'product-version' field is:

"The product version of the software asset."

See Also:
Constant Field Values

PRODUCT_NAME

public static final String PRODUCT_NAME
The "bean name" of the Sentinel data object field 'ProductName'. The value is ""product-name"".

The description of the 'product-name' field is:

"The product name of the software asset."

See Also:
Constant Field Values

UUID

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

The description of the 'id' field is:

"No description provided."

See Also:
Constant Field Values

ASSET_NAME

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

The description of the 'name' field is:

"The software asset name."

See Also:
Constant Field Values

VENDOR

public static final String VENDOR
The "bean name" of the Sentinel data object field 'Vendor'. The value is ""vendor"".

The description of the 'vendor' field is:

"The vendor of the software asset."

See Also:
Constant Field Values

ASSET_CATEGORY

public static final String ASSET_CATEGORY
The "bean name" of the Sentinel data object field 'AssetCategory'. The value is ""category"".

The description of the 'category' field is:

"The category or grouping for the software asset."

See Also:
Constant Field Values
Constructor Detail

SoftAssetDataBean

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


SoftAssetDataBean

protected SoftAssetDataBean(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:

"No description provided."

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

isIdNull

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

"No description provided."

See the description of Null values.

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

isIdClear

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

"No description provided."

See the description of cleared values.

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

setId

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

"No description provided."

Parameters:
id - Value to set
See Also:
UUID

clearId

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

"No description provided."

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:
UUID

setIdNull

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

"No description provided."

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:
UUID

getAssetCategory

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

"The category or grouping for the software asset."

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

isAssetCategoryNull

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

"The category or grouping for the software asset."

See the description of Null values.

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

isAssetCategoryClear

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

"The category or grouping for the software asset."

See the description of cleared values.

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

setAssetCategory

public void setAssetCategory(String assetCategory)
Set the value for the 'category' field. The description of the 'category' field is:

"The category or grouping for the software asset."

Parameters:
assetCategory - Value to set
See Also:
ASSET_CATEGORY

clearAssetCategory

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

"The category or grouping for the software asset."

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

See the description of cleared values.

See Also:
ASSET_CATEGORY

setAssetCategoryNull

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

"The category or grouping for the software asset."

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

See the description of Null values.

See Also:
ASSET_CATEGORY

getProductName

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

"The product name of the software asset."

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

isProductNameNull

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

"The product name of the software asset."

See the description of Null values.

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

isProductNameClear

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

"The product name of the software asset."

See the description of cleared values.

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

setProductName

public void setProductName(String productName)
Set the value for the 'product-name' field. The description of the 'product-name' field is:

"The product name of the software asset."

Parameters:
productName - Value to set
See Also:
PRODUCT_NAME

clearProductName

public void clearProductName()
Clear any current value for the 'product-name' field in the bean. The description of the 'product-name' field is:

"The product name of the software asset."

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

See the description of cleared values.

See Also:
PRODUCT_NAME

setProductNameNull

public void setProductNameNull()
Set to Null any current value for the 'product-name' field in the bean. The description of the 'product-name' field is:

"The product name of the software asset."

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

See the description of Null values.

See Also:
PRODUCT_NAME

getVendor

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

"The vendor of the software asset."

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

isVendorNull

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

"The vendor of the software asset."

See the description of Null values.

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

isVendorClear

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

"The vendor of the software asset."

See the description of cleared values.

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

setVendor

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

"The vendor of the software asset."

Parameters:
vendor - Value to set
See Also:
VENDOR

clearVendor

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

"The vendor of the software asset."

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

See the description of cleared values.

See Also:
VENDOR

setVendorNull

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

"The vendor of the software asset."

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

See the description of Null values.

See Also:
VENDOR

getAssetName

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

"The software asset name."

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

isAssetNameNull

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

"The software asset name."

See the description of Null values.

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

isAssetNameClear

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

"The software asset name."

See the description of cleared values.

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

setAssetName

public void setAssetName(String assetName)
Set the value for the 'name' field. The description of the 'name' field is:

"The software asset name."

Parameters:
assetName - Value to set
See Also:
ASSET_NAME

clearAssetName

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

"The software asset name."

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

See the description of cleared values.

See Also:
ASSET_NAME

setAssetNameNull

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

"The software asset name."

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

See the description of Null values.

See Also:
ASSET_NAME

getProductVersion

public String getProductVersion()
Get the value for the 'product-version' field. The description of the 'product-version' field is:

"The product version of the software asset."

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

isProductVersionNull

public boolean isProductVersionNull()
Get whether the 'product-version' field has been set to Null or not. The description of the 'product-version' field is:

"The product version of the software asset."

See the description of Null values.

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

isProductVersionClear

public boolean isProductVersionClear()
Get whether the value for the 'product-version' field is clear or not. The description of the 'product-version' field is:

"The product version of the software asset."

See the description of cleared values.

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

setProductVersion

public void setProductVersion(String productVersion)
Set the value for the 'product-version' field. The description of the 'product-version' field is:

"The product version of the software asset."

Parameters:
productVersion - Value to set
See Also:
PRODUCT_VERSION

clearProductVersion

public void clearProductVersion()
Clear any current value for the 'product-version' field in the bean. The description of the 'product-version' field is:

"The product version of the software asset."

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

See the description of cleared values.

See Also:
PRODUCT_VERSION

setProductVersionNull

public void setProductVersionNull()
Set to Null any current value for the 'product-version' field in the bean. The description of the 'product-version' field is:

"The product version of the software asset."

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

See the description of Null values.

See Also:
PRODUCT_VERSION

getBeanMetaData

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

Overrides:
clone in class Object