com.novell.db.object.bean
Class AdvisorEventDataBean

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

public class AdvisorEventDataBean
extends SentinelBean

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

The description of the type is:

"An Advisor Event Data object contains event information required to search for advisor attacks in the system such as the attack name 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 ATTACK_PAIR
          The "bean name" of the Sentinel data object field 'AttackPair'.
static String DT
          The "bean name" of the Sentinel data object field 'DateTime'.
static String UUID
          The "bean name" of the Sentinel data object field 'Uuid'.
 
Constructor Summary
  AdvisorEventDataBean()
          Construct an instance of the bean class.
protected AdvisorEventDataBean(BeanMetaData<? extends SentinelBean> metadata)
          Constructor for use by derived classes.
 
Method Summary
 void clearAttackPair()
          Clear any current value for the 'attack-pair' field in the bean.
 void clearDateTime()
          Clear any current value for the 'time' field in the bean.
 void clearUuid()
          Clear any current value for the 'uuid' field in the bean.
 AdvisorEventDataBean clone()
          Create a duplicate of this bean instance, including all field values.
 String getAttackPair()
          Get the value for the 'attack-pair' field.
static BeanMetaData<? extends AdvisorEventDataBean> getBeanMetaData()
          Get the metadata class instance for this type.
 Date getDateTime()
          Get the value for the 'time' field.
 String getUuid()
          Get the value for the 'uuid' field.
 boolean isAttackPairClear()
          Get whether the value for the 'attack-pair' field is clear or not.
 boolean isAttackPairNull()
          Get whether the 'attack-pair' 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 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 setAttackPair(String attackPair)
          Set the value for the 'attack-pair' field.
 void setAttackPairNull()
          Set to Null any current value for the 'attack-pair' 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 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

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

ATTACK_PAIR

public static final String ATTACK_PAIR
The "bean name" of the Sentinel data object field 'AttackPair'. The value is ""attack-pair"".

The description of the 'attack-pair' field is:

"The vulnerability attack name which is built from the product name (RV31) and attack name (RT1) event fields."

See Also:
Constant Field Values
Constructor Detail

AdvisorEventDataBean

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


AdvisorEventDataBean

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

getAttackPair

public String getAttackPair()
Get the value for the 'attack-pair' field. The description of the 'attack-pair' field is:

"The vulnerability attack name which is built from the product name (RV31) and attack name (RT1) event fields."

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

isAttackPairNull

public boolean isAttackPairNull()
Get whether the 'attack-pair' field has been set to Null or not. The description of the 'attack-pair' field is:

"The vulnerability attack name which is built from the product name (RV31) and attack name (RT1) event fields."

See the description of Null values.

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

isAttackPairClear

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

"The vulnerability attack name which is built from the product name (RV31) and attack name (RT1) event fields."

See the description of cleared values.

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

setAttackPair

public void setAttackPair(String attackPair)
Set the value for the 'attack-pair' field. The description of the 'attack-pair' field is:

"The vulnerability attack name which is built from the product name (RV31) and attack name (RT1) event fields."

Parameters:
attackPair - Value to set
See Also:
ATTACK_PAIR

clearAttackPair

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

"The vulnerability attack name which is built from the product name (RV31) and attack name (RT1) event fields."

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

See the description of cleared values.

See Also:
ATTACK_PAIR

setAttackPairNull

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

"The vulnerability attack name which is built from the product name (RV31) and attack name (RT1) event fields."

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

See the description of Null values.

See Also:
ATTACK_PAIR

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

getBeanMetaData

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

Overrides:
clone in class Object