com.novell.db.object.bean
Class VulnerabilityScannerBean

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

public class VulnerabilityScannerBean
extends SentinelBean

An automatically-generated "bean" class for the Sentinel data object type 'vulnerability-scanner'.

The description of the type is:

"Represents a scan of enterprise assets for vulnerabilities."

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 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 REL_RESOURCES
          The "bean name" of the Sentinel data object field 'Resources'.
static String SCANNER_INSTANCE
          The "bean name" of the Sentinel data object field 'ScannerInstance'.
static String SCANNER_TYPE
          The "bean name" of the Sentinel data object field 'ScannerType'.
static String VENDOR
          The "bean name" of the Sentinel data object field 'Vendor'.
 
Constructor Summary
  VulnerabilityScannerBean()
          Construct an instance of the bean class.
protected VulnerabilityScannerBean(BeanMetaData<? extends SentinelBean> metadata)
          Constructor for use by derived classes.
 
Method Summary
 void addToResources(VulnerabilityRsrcBean value)
          Add a value to the collection field 'resources'.
 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 clearResources()
          Clear any current value for the 'resources' field in the bean.
 void clearScannerInstance()
          Clear any current value for the 'scanner-instance' field in the bean.
 void clearScannerType()
          Clear any current value for the 'scanner-type' field in the bean.
 void clearVendor()
          Clear any current value for the 'vendor' field in the bean.
 VulnerabilityScannerBean clone()
          Create a duplicate of this bean instance, including all field values.
static BeanMetaData<? extends VulnerabilityScannerBean> getBeanMetaData()
          Get the metadata class instance for this type.
 String getProductName()
          Get the value for the 'product-name' field.
 String getProductVersion()
          Get the value for the 'product-version' field.
 Collection<VulnerabilityRsrcBean> getResources()
          Get the value for the 'resources' field.
 String getScannerInstance()
          Get the value for the 'scanner-instance' field.
 String getScannerType()
          Get the value for the 'scanner-type' field.
 String getVendor()
          Get the value for the 'vendor' field.
 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 isResourcesClear()
          Get whether the value for the 'resources' field is clear or not.
 boolean isResourcesNull()
          Get whether the 'resources' field has been set to Null or not.
 boolean isScannerInstanceClear()
          Get whether the value for the 'scanner-instance' field is clear or not.
 boolean isScannerInstanceNull()
          Get whether the 'scanner-instance' field has been set to Null or not.
 boolean isScannerTypeClear()
          Get whether the value for the 'scanner-type' field is clear or not.
 boolean isScannerTypeNull()
          Get whether the 'scanner-type' 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 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 setResources(Collection<? extends VulnerabilityRsrcBean> resources)
          Set the value for the 'resources' field.
 void setResourcesNull()
          Set to Null any current value for the 'resources' field in the bean.
 void setScannerInstance(String scannerInstance)
          Set the value for the 'scanner-instance' field.
 void setScannerInstanceNull()
          Set to Null any current value for the 'scanner-instance' field in the bean.
 void setScannerType(String scannerType)
          Set the value for the 'scanner-type' field.
 void setScannerTypeNull()
          Set to Null any current value for the 'scanner-type' 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 version of the scanner product."

See Also:
Constant Field Values

SCANNER_INSTANCE

public static final String SCANNER_INSTANCE
The "bean name" of the Sentinel data object field 'ScannerInstance'. The value is ""scanner-instance"".

The description of the 'scanner-instance' field is:

"No description provided."

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:

"Name of the product line of which this scanner is a member; if you don't set this, the Collector product name will be used."

See Also:
Constant Field Values

REL_RESOURCES

public static final String REL_RESOURCES
The "bean name" of the Sentinel data object field 'Resources'. The value is ""resources"".

The description of the 'resources' field is:

"A list of vulnerability resources associated with this scan."

See Also:
Constant Field Values

SCANNER_TYPE

public static final String SCANNER_TYPE
The "bean name" of the Sentinel data object field 'ScannerType'. The value is ""scanner-type"".

The description of the 'scanner-type' field is:

"The type of scanner; currently hard-coded to 'VULN'."

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:

"Name of the vendor who manufactures this scanner; if you don't set this, the Collector vendor name will be used."

See Also:
Constant Field Values
Constructor Detail

VulnerabilityScannerBean

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


VulnerabilityScannerBean

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

getProductName

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

"Name of the product line of which this scanner is a member; if you don't set this, the Collector product name will be used."

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:

"Name of the product line of which this scanner is a member; if you don't set this, the Collector product name will be used."

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:

"Name of the product line of which this scanner is a member; if you don't set this, the Collector product name will be used."

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:

"Name of the product line of which this scanner is a member; if you don't set this, the Collector product name will be used."

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:

"Name of the product line of which this scanner is a member; if you don't set this, the Collector product name will be used."

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:

"Name of the product line of which this scanner is a member; if you don't set this, the Collector product name will be used."

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:

"Name of the vendor who manufactures this scanner; if you don't set this, the Collector vendor name will be used."

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:

"Name of the vendor who manufactures this scanner; if you don't set this, the Collector vendor name will be used."

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:

"Name of the vendor who manufactures this scanner; if you don't set this, the Collector vendor name will be used."

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:

"Name of the vendor who manufactures this scanner; if you don't set this, the Collector vendor name will be used."

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:

"Name of the vendor who manufactures this scanner; if you don't set this, the Collector vendor name will be used."

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:

"Name of the vendor who manufactures this scanner; if you don't set this, the Collector vendor name will be used."

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

getProductVersion

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

"The version of the scanner product."

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 version of the scanner product."

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 version of the scanner product."

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 version of the scanner product."

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 version of the scanner product."

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 version of the scanner product."

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

getScannerInstance

public String getScannerInstance()
Get the value for the 'scanner-instance' field. The description of the 'scanner-instance' field is:

"No description provided."

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

isScannerInstanceNull

public boolean isScannerInstanceNull()
Get whether the 'scanner-instance' field has been set to Null or not. The description of the 'scanner-instance' 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:
setScannerInstanceNull(), SCANNER_INSTANCE

isScannerInstanceClear

public boolean isScannerInstanceClear()
Get whether the value for the 'scanner-instance' field is clear or not. The description of the 'scanner-instance' field is:

"No description provided."

See the description of cleared values.

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

setScannerInstance

public void setScannerInstance(String scannerInstance)
Set the value for the 'scanner-instance' field. The description of the 'scanner-instance' field is:

"No description provided."

Parameters:
scannerInstance - Value to set
See Also:
SCANNER_INSTANCE

clearScannerInstance

public void clearScannerInstance()
Clear any current value for the 'scanner-instance' field in the bean. The description of the 'scanner-instance' field is:

"No description provided."

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

See the description of cleared values.

See Also:
SCANNER_INSTANCE

setScannerInstanceNull

public void setScannerInstanceNull()
Set to Null any current value for the 'scanner-instance' field in the bean. The description of the 'scanner-instance' field is:

"No description provided."

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

See the description of Null values.

See Also:
SCANNER_INSTANCE

getScannerType

public String getScannerType()
Get the value for the 'scanner-type' field. The description of the 'scanner-type' field is:

"The type of scanner; currently hard-coded to 'VULN'."

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

isScannerTypeNull

public boolean isScannerTypeNull()
Get whether the 'scanner-type' field has been set to Null or not. The description of the 'scanner-type' field is:

"The type of scanner; currently hard-coded to 'VULN'."

See the description of Null values.

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

isScannerTypeClear

public boolean isScannerTypeClear()
Get whether the value for the 'scanner-type' field is clear or not. The description of the 'scanner-type' field is:

"The type of scanner; currently hard-coded to 'VULN'."

See the description of cleared values.

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

setScannerType

public void setScannerType(String scannerType)
Set the value for the 'scanner-type' field. The description of the 'scanner-type' field is:

"The type of scanner; currently hard-coded to 'VULN'."

Parameters:
scannerType - Value to set
See Also:
SCANNER_TYPE

clearScannerType

public void clearScannerType()
Clear any current value for the 'scanner-type' field in the bean. The description of the 'scanner-type' field is:

"The type of scanner; currently hard-coded to 'VULN'."

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

See the description of cleared values.

See Also:
SCANNER_TYPE

setScannerTypeNull

public void setScannerTypeNull()
Set to Null any current value for the 'scanner-type' field in the bean. The description of the 'scanner-type' field is:

"The type of scanner; currently hard-coded to 'VULN'."

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

See the description of Null values.

See Also:
SCANNER_TYPE

getResources

public Collection<VulnerabilityRsrcBean> getResources()
Get the value for the 'resources' field. The description of the 'resources' field is:

"A list of vulnerability resources associated with this scan."

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

isResourcesNull

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

"A list of vulnerability resources associated with this scan."

See the description of Null values.

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

isResourcesClear

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

"A list of vulnerability resources associated with this scan."

See the description of cleared values.

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

setResources

public void setResources(Collection<? extends VulnerabilityRsrcBean> resources)
Set the value for the 'resources' field. The description of the 'resources' field is:

"A list of vulnerability resources associated with this scan."

Parameters:
resources - Value to set
See Also:
REL_RESOURCES

clearResources

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

"A list of vulnerability resources associated with this scan."

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

See the description of cleared values.

See Also:
REL_RESOURCES

setResourcesNull

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

"A list of vulnerability resources associated with this scan."

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

See the description of Null values.

See Also:
REL_RESOURCES

addToResources

public void addToResources(VulnerabilityRsrcBean value)
Add a value to the collection field 'resources'. The description of the 'resources' field is:

"A list of vulnerability resources associated with this scan."

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

getBeanMetaData

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

Overrides:
clone in class Object