com.novell.db.object.bean
Class VulnerabilityCodeBean

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

public class VulnerabilityCodeBean
extends SentinelBean

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

The description of the type is:

"A object representing a vulnerability code with an ID, type and reference URL."

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 URL
          The "bean name" of the Sentinel data object field 'Url'.
static String VULN_CODE_TYPE
          The "bean name" of the Sentinel data object field 'VulnCodeType'.
static String VULN_CODE_VALUE
          The "bean name" of the Sentinel data object field 'VulnCodeValue'.
static String VULN_ID
          The "bean name" of the Sentinel data object field 'VulnId'.
 
Constructor Summary
  VulnerabilityCodeBean()
          Construct an instance of the bean class.
protected VulnerabilityCodeBean(BeanMetaData<? extends SentinelBean> metadata)
          Constructor for use by derived classes.
 
Method Summary
 void clearUrl()
          Clear any current value for the 'url' field in the bean.
 void clearVulnCodeType()
          Clear any current value for the 'type' field in the bean.
 void clearVulnCodeValue()
          Clear any current value for the 'value' field in the bean.
 void clearVulnId()
          Clear any current value for the 'vuln-id' field in the bean.
 VulnerabilityCodeBean clone()
          Create a duplicate of this bean instance, including all field values.
static BeanMetaData<? extends VulnerabilityCodeBean> getBeanMetaData()
          Get the metadata class instance for this type.
 String getUrl()
          Get the value for the 'url' field.
 String getVulnCodeType()
          Get the value for the 'type' field.
 String getVulnCodeValue()
          Get the value for the 'value' field.
 String getVulnId()
          Get the value for the 'vuln-id' field.
 boolean isUrlClear()
          Get whether the value for the 'url' field is clear or not.
 boolean isUrlNull()
          Get whether the 'url' field has been set to Null or not.
 boolean isVulnCodeTypeClear()
          Get whether the value for the 'type' field is clear or not.
 boolean isVulnCodeTypeNull()
          Get whether the 'type' field has been set to Null or not.
 boolean isVulnCodeValueClear()
          Get whether the value for the 'value' field is clear or not.
 boolean isVulnCodeValueNull()
          Get whether the 'value' field has been set to Null or not.
 boolean isVulnIdClear()
          Get whether the value for the 'vuln-id' field is clear or not.
 boolean isVulnIdNull()
          Get whether the 'vuln-id' field has been set to Null or not.
 void setUrl(String url)
          Set the value for the 'url' field.
 void setUrlNull()
          Set to Null any current value for the 'url' field in the bean.
 void setVulnCodeType(String vulnCodeType)
          Set the value for the 'type' field.
 void setVulnCodeTypeNull()
          Set to Null any current value for the 'type' field in the bean.
 void setVulnCodeValue(String vulnCodeValue)
          Set the value for the 'value' field.
 void setVulnCodeValueNull()
          Set to Null any current value for the 'value' field in the bean.
 void setVulnId(String vulnId)
          Set the value for the 'vuln-id' field.
 void setVulnIdNull()
          Set to Null any current value for the 'vuln-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

VULN_CODE_VALUE

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

The description of the 'value' field is:

"No description provided."

See Also:
Constant Field Values

VULN_CODE_TYPE

public static final String VULN_CODE_TYPE
The "bean name" of the Sentinel data object field 'VulnCodeType'. The value is ""type"".

The description of the 'type' field is:

"No description provided."

See Also:
Constant Field Values

VULN_ID

public static final String VULN_ID
The "bean name" of the Sentinel data object field 'VulnId'. The value is ""vuln-id"".

The description of the 'vuln-id' field is:

"Unique identifier."

See Also:
Constant Field Values

URL

public static final String URL
The "bean name" of the Sentinel data object field 'Url'. The value is ""url"".

The description of the 'url' field is:

"No description provided."

See Also:
Constant Field Values
Constructor Detail

VulnerabilityCodeBean

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


VulnerabilityCodeBean

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

getVulnId

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

"Unique identifier."

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

isVulnIdNull

public boolean isVulnIdNull()
Get whether the 'vuln-id' field has been set to Null or not. The description of the 'vuln-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:
setVulnIdNull(), VULN_ID

isVulnIdClear

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

"Unique identifier."

See the description of cleared values.

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

setVulnId

public void setVulnId(String vulnId)
Set the value for the 'vuln-id' field. The description of the 'vuln-id' field is:

"Unique identifier."

Parameters:
vulnId - Value to set
See Also:
VULN_ID

clearVulnId

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

"Unique identifier."

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

See the description of cleared values.

See Also:
VULN_ID

setVulnIdNull

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

"Unique identifier."

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

See the description of Null values.

See Also:
VULN_ID

getVulnCodeValue

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

"No description provided."

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

isVulnCodeValueNull

public boolean isVulnCodeValueNull()
Get whether the 'value' field has been set to Null or not. The description of the 'value' 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:
setVulnCodeValueNull(), VULN_CODE_VALUE

isVulnCodeValueClear

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

"No description provided."

See the description of cleared values.

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

setVulnCodeValue

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

"No description provided."

Parameters:
vulnCodeValue - Value to set
See Also:
VULN_CODE_VALUE

clearVulnCodeValue

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

"No description provided."

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

See the description of cleared values.

See Also:
VULN_CODE_VALUE

setVulnCodeValueNull

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

"No description provided."

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

See the description of Null values.

See Also:
VULN_CODE_VALUE

getVulnCodeType

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

"No description provided."

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

isVulnCodeTypeNull

public boolean isVulnCodeTypeNull()
Get whether the 'type' field has been set to Null or not. The description of the 'type' 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:
setVulnCodeTypeNull(), VULN_CODE_TYPE

isVulnCodeTypeClear

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

"No description provided."

See the description of cleared values.

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

setVulnCodeType

public void setVulnCodeType(String vulnCodeType)
Set the value for the 'type' field. The description of the 'type' field is:

"No description provided."

Parameters:
vulnCodeType - Value to set
See Also:
VULN_CODE_TYPE

clearVulnCodeType

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

"No description provided."

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

See the description of cleared values.

See Also:
VULN_CODE_TYPE

setVulnCodeTypeNull

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

"No description provided."

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

See the description of Null values.

See Also:
VULN_CODE_TYPE

getUrl

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

"No description provided."

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

isUrlNull

public boolean isUrlNull()
Get whether the 'url' field has been set to Null or not. The description of the 'url' 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:
setUrlNull(), URL

isUrlClear

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

"No description provided."

See the description of cleared values.

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

setUrl

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

"No description provided."

Parameters:
url - Value to set
See Also:
URL

clearUrl

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

"No description provided."

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

See the description of cleared values.

See Also:
URL

setUrlNull

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

"No description provided."

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

See the description of Null values.

See Also:
URL

getBeanMetaData

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

Overrides:
clone in class Object