com.novell.db.object.bean
Class VulnerabilityEventDataBean

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

public class VulnerabilityEventDataBean
extends SentinelBean

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

The description of the type is:

"A Vulnerability Event Data object contains event information required to search for vulnerabilities in the system such as the customer name, IP address as well as event IDs and event times."

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 CUSTOMER_NAME
          The "bean name" of the Sentinel data object field 'CustomerName'.
static String DT
          The "bean name" of the Sentinel data object field 'DateTime'.
static String IP
          The "bean name" of the Sentinel data object field 'Ip'.
static String UUID
          The "bean name" of the Sentinel data object field 'Uuid'.
 
Constructor Summary
  VulnerabilityEventDataBean()
          Construct an instance of the bean class.
protected VulnerabilityEventDataBean(BeanMetaData<? extends SentinelBean> metadata)
          Constructor for use by derived classes.
 
Method Summary
 void clearCustomerName()
          Clear any current value for the 'customer-name' field in the bean.
 void clearDateTime()
          Clear any current value for the 'time' field in the bean.
 void clearIp()
          Clear any current value for the 'ip' field in the bean.
 void clearUuid()
          Clear any current value for the 'uuid' field in the bean.
 VulnerabilityEventDataBean clone()
          Create a duplicate of this bean instance, including all field values.
static BeanMetaData<? extends VulnerabilityEventDataBean> getBeanMetaData()
          Get the metadata class instance for this type.
 String getCustomerName()
          Get the value for the 'customer-name' field.
 Date getDateTime()
          Get the value for the 'time' field.
 String getIp()
          Get the value for the 'ip' field.
 String getUuid()
          Get the value for the 'uuid' field.
 boolean isCustomerNameClear()
          Get whether the value for the 'customer-name' field is clear or not.
 boolean isCustomerNameNull()
          Get whether the 'customer-name' field has been set to Null or not.
 boolean isDateTimeClear()
          Get whether the value for the 'time' field is clear or not.
 boolean isDateTimeNull()
          Get whether the 'time' field has been set to Null or not.
 boolean isIpClear()
          Get whether the value for the 'ip' field is clear or not.
 boolean isIpNull()
          Get whether the 'ip' field has been set to Null or not.
 boolean isUuidClear()
          Get whether the value for the 'uuid' field is clear or not.
 boolean isUuidNull()
          Get whether the 'uuid' field has been set to Null or not.
 void setCustomerName(String customerName)
          Set the value for the 'customer-name' field.
 void setCustomerNameNull()
          Set to Null any current value for the 'customer-name' field in the bean.
 void setDateTime(Date dateTime)
          Set the value for the 'time' field.
 void setDateTimeNull()
          Set to Null any current value for the 'time' field in the bean.
 void setIp(String ip)
          Set the value for the 'ip' field.
 void setIpNull()
          Set to Null any current value for the 'ip' field in the bean.
 void setUuid(String uuid)
          Set the value for the 'uuid' field.
 void setUuidNull()
          Set to Null any current value for the 'uuid' 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

CUSTOMER_NAME

public static final String CUSTOMER_NAME
The "bean name" of the Sentinel data object field 'CustomerName'. The value is ""customer-name"".

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

"Search for vulnerabilities from a specific customer."

See Also:
Constant Field Values

IP

public static final String IP
The "bean name" of the Sentinel data object field 'Ip'. The value is ""ip"".

The description of the 'ip' field is:

"Search for vulnerabilities from a specific IP address."

See Also:
Constant Field Values

UUID

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

The description of the 'uuid' field is:

"Used to find vulnerabilities associated with a given event ID and time."

See Also:
Constant Field Values

DT

public static final String DT
The "bean name" of the Sentinel data object field 'DateTime'. The value is ""time"".

The description of the 'time' field is:

"Used to find vulnerabilities associated with a given event ID and time."

See Also:
Constant Field Values
Constructor Detail

VulnerabilityEventDataBean

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


VulnerabilityEventDataBean

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

getDateTime

public Date getDateTime()
Get the value for the 'time' field. The description of the 'time' field is:

"Used to find vulnerabilities associated with a given event ID and time."

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

isDateTimeNull

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

"Used to find vulnerabilities associated with a given event ID and time."

See the description of Null values.

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

isDateTimeClear

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

"Used to find vulnerabilities associated with a given event ID and time."

See the description of cleared values.

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

setDateTime

public void setDateTime(Date dateTime)
Set the value for the 'time' field. The description of the 'time' field is:

"Used to find vulnerabilities associated with a given event ID and time."

Parameters:
dateTime - Value to set
See Also:
DT

clearDateTime

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

"Used to find vulnerabilities associated with a given event ID and time."

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

See the description of cleared values.

See Also:
DT

setDateTimeNull

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

"Used to find vulnerabilities associated with a given event ID and time."

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

See the description of Null values.

See Also:
DT

getUuid

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

"Used to find vulnerabilities associated with a given event ID and time."

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

isUuidNull

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

"Used to find vulnerabilities associated with a given event ID and time."

See the description of Null values.

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

isUuidClear

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

"Used to find vulnerabilities associated with a given event ID and time."

See the description of cleared values.

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

setUuid

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

"Used to find vulnerabilities associated with a given event ID and time."

Parameters:
uuid - Value to set
See Also:
UUID

clearUuid

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

"Used to find vulnerabilities associated with a given event ID and time."

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

See the description of cleared values.

See Also:
UUID

setUuidNull

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

"Used to find vulnerabilities associated with a given event ID and time."

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

See the description of Null values.

See Also:
UUID

getCustomerName

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

"Search for vulnerabilities from a specific customer."

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

isCustomerNameNull

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

"Search for vulnerabilities from a specific customer."

See the description of Null values.

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

isCustomerNameClear

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

"Search for vulnerabilities from a specific customer."

See the description of cleared values.

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

setCustomerName

public void setCustomerName(String customerName)
Set the value for the 'customer-name' field. The description of the 'customer-name' field is:

"Search for vulnerabilities from a specific customer."

Parameters:
customerName - Value to set
See Also:
CUSTOMER_NAME

clearCustomerName

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

"Search for vulnerabilities from a specific customer."

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

See the description of cleared values.

See Also:
CUSTOMER_NAME

setCustomerNameNull

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

"Search for vulnerabilities from a specific customer."

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

See the description of Null values.

See Also:
CUSTOMER_NAME

getIp

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

"Search for vulnerabilities from a specific IP address."

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

isIpNull

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

"Search for vulnerabilities from a specific IP address."

See the description of Null values.

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

isIpClear

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

"Search for vulnerabilities from a specific IP address."

See the description of cleared values.

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

setIp

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

"Search for vulnerabilities from a specific IP address."

Parameters:
ip - Value to set
See Also:
IP

clearIp

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

"Search for vulnerabilities from a specific IP address."

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

See the description of cleared values.

See Also:
IP

setIpNull

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

"Search for vulnerabilities from a specific IP address."

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

See the description of Null values.

See Also:
IP

getBeanMetaData

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

Overrides:
clone in class Object