com.novell.db.object.bean
Class VulnerabilityContainerBean

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

public class VulnerabilityContainerBean
extends SentinelBean

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

The description of the type is:

"An Vulnerability Container object contains information about enterprise 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 ID
          The "bean name" of the Sentinel data object field 'Id'.
static String REL_VED
          The "bean name" of the Sentinel data object field 'VulnerabilityEventData'.
static String REL_VS
          The "bean name" of the Sentinel data object field 'VulnerabilityScanner'.
static String USEEVENTTIME
          The "bean name" of the Sentinel data object field 'UseEventTime'.
 
Constructor Summary
  VulnerabilityContainerBean()
          Construct an instance of the bean class.
protected VulnerabilityContainerBean(BeanMetaData<? extends SentinelBean> metadata)
          Constructor for use by derived classes.
 
Method Summary
 void addToVulnerabilityEventData(VulnerabilityEventDataBean value)
          Add a value to the collection field 'events'.
 void addToVulnerabilityScanner(VulnerabilityScannerBean value)
          Add a value to the collection field 'scanners'.
 void clearId()
          Clear any current value for the 'id' field in the bean.
 void clearUseEventTime()
          Clear any current value for the 'useEventTime' field in the bean.
 void clearVulnerabilityEventData()
          Clear any current value for the 'events' field in the bean.
 void clearVulnerabilityScanner()
          Clear any current value for the 'scanners' field in the bean.
 VulnerabilityContainerBean clone()
          Create a duplicate of this bean instance, including all field values.
static BeanMetaData<? extends VulnerabilityContainerBean> getBeanMetaData()
          Get the metadata class instance for this type.
 String getId()
          Get the value for the 'id' field.
 Collection<VulnerabilityEventDataBean> getVulnerabilityEventData()
          Get the value for the 'events' field.
 Collection<VulnerabilityScannerBean> getVulnerabilityScanner()
          Get the value for the 'scanners' field.
 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 isUseEventTime()
          Get the value for the 'useEventTime' field.
 boolean isUseEventTimeClear()
          Get whether the value for the 'useEventTime' field is clear or not.
 boolean isUseEventTimeNull()
          Get whether the 'useEventTime' field has been set to Null or not.
 boolean isVulnerabilityEventDataClear()
          Get whether the value for the 'events' field is clear or not.
 boolean isVulnerabilityEventDataNull()
          Get whether the 'events' field has been set to Null or not.
 boolean isVulnerabilityScannerClear()
          Get whether the value for the 'scanners' field is clear or not.
 boolean isVulnerabilityScannerNull()
          Get whether the 'scanners' field has been set to Null or not.
 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 setUseEventTime(boolean useEventTime)
          Set the value for the 'useEventTime' field.
 void setUseEventTimeNull()
          Set to Null any current value for the 'useEventTime' field in the bean.
 void setVulnerabilityEventData(Collection<? extends VulnerabilityEventDataBean> vulnerabilityEventData)
          Set the value for the 'events' field.
 void setVulnerabilityEventDataNull()
          Set to Null any current value for the 'events' field in the bean.
 void setVulnerabilityScanner(Collection<? extends VulnerabilityScannerBean> vulnerabilityScanner)
          Set the value for the 'scanners' field.
 void setVulnerabilityScannerNull()
          Set to Null any current value for the 'scanners' 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_VS

public static final String REL_VS
The "bean name" of the Sentinel data object field 'VulnerabilityScanner'. The value is ""scanners"".

The description of the 'scanners' field is:

"List of vulnerability scanners from an executed vulnerability report."

See Also:
Constant Field Values

REL_VED

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

The description of the 'events' field is:

"The list of VulnerabilityEventData objects used to locate vulnerabilities when executing an vulnerability report."

See Also:
Constant Field Values

USEEVENTTIME

public static final String USEEVENTTIME
The "bean name" of the Sentinel data object field 'UseEventTime'. The value is ""useEventTime"".

The description of the 'useEventTime' field is:

"Flag to use current time or event time to determine which scanner to use."

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."

See Also:
Constant Field Values
Constructor Detail

VulnerabilityContainerBean

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


VulnerabilityContainerBean

protected VulnerabilityContainerBean(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."

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."

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."

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."

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."

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."

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

isUseEventTime

public boolean isUseEventTime()
Get the value for the 'useEventTime' field. The description of the 'useEventTime' field is:

"Flag to use current time or event time to determine which scanner to use."

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

isUseEventTimeNull

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

"Flag to use current time or event time to determine which scanner to use."

See the description of Null values.

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

isUseEventTimeClear

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

"Flag to use current time or event time to determine which scanner to use."

See the description of cleared values.

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

setUseEventTime

public void setUseEventTime(boolean useEventTime)
Set the value for the 'useEventTime' field. The description of the 'useEventTime' field is:

"Flag to use current time or event time to determine which scanner to use."

Parameters:
useEventTime - Value to set
See Also:
USEEVENTTIME

clearUseEventTime

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

"Flag to use current time or event time to determine which scanner to use."

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

See the description of cleared values.

See Also:
USEEVENTTIME

setUseEventTimeNull

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

"Flag to use current time or event time to determine which scanner to use."

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

See the description of Null values.

See Also:
USEEVENTTIME

getVulnerabilityEventData

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

"The list of VulnerabilityEventData objects used to locate vulnerabilities when executing an vulnerability report."

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

isVulnerabilityEventDataNull

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

"The list of VulnerabilityEventData objects used to locate vulnerabilities when executing an vulnerability report."

See the description of Null values.

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

isVulnerabilityEventDataClear

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

"The list of VulnerabilityEventData objects used to locate vulnerabilities when executing an vulnerability report."

See the description of cleared values.

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

setVulnerabilityEventData

public void setVulnerabilityEventData(Collection<? extends VulnerabilityEventDataBean> vulnerabilityEventData)
Set the value for the 'events' field. The description of the 'events' field is:

"The list of VulnerabilityEventData objects used to locate vulnerabilities when executing an vulnerability report."

Parameters:
vulnerabilityEventData - Value to set
See Also:
REL_VED

clearVulnerabilityEventData

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

"The list of VulnerabilityEventData objects used to locate vulnerabilities when executing an vulnerability report."

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

See the description of cleared values.

See Also:
REL_VED

setVulnerabilityEventDataNull

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

"The list of VulnerabilityEventData objects used to locate vulnerabilities when executing an vulnerability report."

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

See the description of Null values.

See Also:
REL_VED

addToVulnerabilityEventData

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

"The list of VulnerabilityEventData objects used to locate vulnerabilities when executing an vulnerability report."

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

getVulnerabilityScanner

public Collection<VulnerabilityScannerBean> getVulnerabilityScanner()
Get the value for the 'scanners' field. The description of the 'scanners' field is:

"List of vulnerability scanners from an executed vulnerability report."

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

isVulnerabilityScannerNull

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

"List of vulnerability scanners from an executed vulnerability report."

See the description of Null values.

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

isVulnerabilityScannerClear

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

"List of vulnerability scanners from an executed vulnerability report."

See the description of cleared values.

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

setVulnerabilityScanner

public void setVulnerabilityScanner(Collection<? extends VulnerabilityScannerBean> vulnerabilityScanner)
Set the value for the 'scanners' field. The description of the 'scanners' field is:

"List of vulnerability scanners from an executed vulnerability report."

Parameters:
vulnerabilityScanner - Value to set
See Also:
REL_VS

clearVulnerabilityScanner

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

"List of vulnerability scanners from an executed vulnerability report."

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

See the description of cleared values.

See Also:
REL_VS

setVulnerabilityScannerNull

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

"List of vulnerability scanners from an executed vulnerability report."

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

See the description of Null values.

See Also:
REL_VS

addToVulnerabilityScanner

public void addToVulnerabilityScanner(VulnerabilityScannerBean value)
Add a value to the collection field 'scanners'. The description of the 'scanners' field is:

"List of vulnerability scanners from an executed vulnerability report."

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

getBeanMetaData

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

Overrides:
clone in class Object