com.novell.db.object.bean
Class ExternalDataBean

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

public class ExternalDataBean
extends SentinelBean

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

The description of the type is:

"A External Data object contains additional information added to an incident."

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 CREATOR
          The "bean name" of the Sentinel data object field 'Creator'.
static String DATE_CREATED
          The "bean name" of the Sentinel data object field 'DateCreated'.
static String DATE_MODIFIED
          The "bean name" of the Sentinel data object field 'DateModified'.
static String EXT_DATA
          The "bean name" of the Sentinel data object field 'Data'.
static String EXT_DATA_TYPE
          The "bean name" of the Sentinel data object field 'DataType'.
static String MODIFIER
          The "bean name" of the Sentinel data object field 'Modifier'.
static String SOURCE_DATA_ID
          The "bean name" of the Sentinel data object field 'Id'.
static String SOURCE_NAME
          The "bean name" of the Sentinel data object field 'Source'.
 
Constructor Summary
  ExternalDataBean()
          Construct an instance of the bean class.
protected ExternalDataBean(BeanMetaData<? extends SentinelBean> metadata)
          Constructor for use by derived classes.
 
Method Summary
 void clearData()
          Clear any current value for the 'data' field in the bean.
 void clearDataType()
          Clear any current value for the 'type' field in the bean.
 void clearId()
          Clear any current value for the 'id' field in the bean.
 void clearSource()
          Clear any current value for the 'source' field in the bean.
 ExternalDataBean clone()
          Create a duplicate of this bean instance, including all field values.
static BeanMetaData<? extends ExternalDataBean> getBeanMetaData()
          Get the metadata class instance for this type.
 String getCreatorLink()
          Get the URL for the 'creator' field.
 String getData()
          Get the value for the 'data' field.
 String getDataType()
          Get the value for the 'type' field.
 Date getDateCreated()
          Get the value for the 'createdate' field.
 Date getDateModified()
          Get the value for the 'moddate' field.
 String getId()
          Get the value for the 'id' field.
 String getModifierLink()
          Get the URL for the 'modifier' field.
 String getSource()
          Get the value for the 'source' field.
 boolean isCreatorLinkClear()
          Get whether the value for the 'creator' URL field is clear or not.
 boolean isCreatorLinkNull()
          Get whether the 'creator' URL field has been set to Null or not.
 boolean isDataClear()
          Get whether the value for the 'data' field is clear or not.
 boolean isDataNull()
          Get whether the 'data' field has been set to Null or not.
 boolean isDataTypeClear()
          Get whether the value for the 'type' field is clear or not.
 boolean isDataTypeNull()
          Get whether the 'type' field has been set to Null or not.
 boolean isDateCreatedClear()
          Get whether the value for the 'createdate' field is clear or not.
 boolean isDateCreatedNull()
          Get whether the 'createdate' field has been set to Null or not.
 boolean isDateModifiedClear()
          Get whether the value for the 'moddate' field is clear or not.
 boolean isDateModifiedNull()
          Get whether the 'moddate' field has been set to Null or not.
 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 isModifierLinkClear()
          Get whether the value for the 'modifier' URL field is clear or not.
 boolean isModifierLinkNull()
          Get whether the 'modifier' URL field has been set to Null or not.
 boolean isSourceClear()
          Get whether the value for the 'source' field is clear or not.
 boolean isSourceNull()
          Get whether the 'source' field has been set to Null or not.
 void setData(String data)
          Set the value for the 'data' field.
 void setDataNull()
          Set to Null any current value for the 'data' field in the bean.
 void setDataType(String dataType)
          Set the value for the 'type' field.
 void setDataTypeNull()
          Set to Null any current value for the 'type' field in the bean.
 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 setSource(String source)
          Set the value for the 'source' field.
 void setSourceNull()
          Set to Null any current value for the 'source' 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

EXT_DATA_TYPE

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

The description of the 'type' field is:

"The type of data included from the external data source."

See Also:
Constant Field Values

DATE_MODIFIED

public static final String DATE_MODIFIED
The "bean name" of the Sentinel data object field 'DateModified'. The value is ""moddate"".

The description of the 'moddate' field is:

"The date and time when the object was last modified."

See Also:
Constant Field Values

SOURCE_NAME

public static final String SOURCE_NAME
The "bean name" of the Sentinel data object field 'Source'. The value is ""source"".

The description of the 'source' field is:

"The source of the external data"

See Also:
Constant Field Values

SOURCE_DATA_ID

public static final String SOURCE_DATA_ID
The "bean name" of the Sentinel data object field 'Id'. The value is ""id"".

The description of the 'id' field is:

"Unique identifier for the external data."

See Also:
Constant Field Values

CREATOR

public static final String CREATOR
The "bean name" of the Sentinel data object field 'Creator'. The value is ""creator"".

The description of the 'creator' field is:

"The URL of the Sentinel User object that represents the creator of the object."

See Also:
Constant Field Values

EXT_DATA

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

The description of the 'data' field is:

"The data from the external data source."

See Also:
Constant Field Values

MODIFIER

public static final String MODIFIER
The "bean name" of the Sentinel data object field 'Modifier'. The value is ""modifier"".

The description of the 'modifier' field is:

"The URL of the Sentinel User object that represents the last modifier of the object."

See Also:
Constant Field Values

DATE_CREATED

public static final String DATE_CREATED
The "bean name" of the Sentinel data object field 'DateCreated'. The value is ""createdate"".

The description of the 'createdate' field is:

"The date and time when the object was created."

See Also:
Constant Field Values
Constructor Detail

ExternalDataBean

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


ExternalDataBean

protected ExternalDataBean(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 for the external data."

Returns:
The field's value in the bean instance, if any (may return null).
See Also:
SOURCE_DATA_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 for the external data."

See the description of Null values.

Returns:
true if the field value has been marked as null, false otherwise.
See Also:
setIdNull(), SOURCE_DATA_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 for the external data."

See the description of cleared values.

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

setId

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

"Unique identifier for the external data."

Parameters:
id - Value to set
See Also:
SOURCE_DATA_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 for the external data."

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:
SOURCE_DATA_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 for the external data."

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:
SOURCE_DATA_ID

getDateModified

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

"The date and time when the object was last modified."

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

isDateModifiedNull

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

"The date and time when the object was last modified."

See the description of Null values.

Returns:
true if the field value has been marked as null, false otherwise.
See Also:
DATE_MODIFIED

isDateModifiedClear

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

"The date and time when the object was last modified."

See the description of cleared values.

Returns:
true if the field value has been cleared, false otherwise.
See Also:
DATE_MODIFIED

getSource

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

"The source of the external data"

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

isSourceNull

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

"The source of the external data"

See the description of Null values.

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

isSourceClear

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

"The source of the external data"

See the description of cleared values.

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

setSource

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

"The source of the external data"

Parameters:
source - Value to set
See Also:
SOURCE_NAME

clearSource

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

"The source of the external data"

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

See the description of cleared values.

See Also:
SOURCE_NAME

setSourceNull

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

"The source of the external data"

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

See the description of Null values.

See Also:
SOURCE_NAME

getDateCreated

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

"The date and time when the object was created."

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

isDateCreatedNull

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

"The date and time when the object was created."

See the description of Null values.

Returns:
true if the field value has been marked as null, false otherwise.
See Also:
DATE_CREATED

isDateCreatedClear

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

"The date and time when the object was created."

See the description of cleared values.

Returns:
true if the field value has been cleared, false otherwise.
See Also:
DATE_CREATED

getData

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

"The data from the external data source."

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

isDataNull

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

"The data from the external data source."

See the description of Null values.

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

isDataClear

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

"The data from the external data source."

See the description of cleared values.

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

setData

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

"The data from the external data source."

Parameters:
data - Value to set
See Also:
EXT_DATA

clearData

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

"The data from the external data source."

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

See the description of cleared values.

See Also:
EXT_DATA

setDataNull

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

"The data from the external data source."

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

See the description of Null values.

See Also:
EXT_DATA

getDataType

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

"The type of data included from the external data source."

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

isDataTypeNull

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

"The type of data included from the external data source."

See the description of Null values.

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

isDataTypeClear

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

"The type of data included from the external data source."

See the description of cleared values.

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

setDataType

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

"The type of data included from the external data source."

Parameters:
dataType - Value to set
See Also:
EXT_DATA_TYPE

clearDataType

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

"The type of data included from the external data source."

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

See the description of cleared values.

See Also:
EXT_DATA_TYPE

setDataTypeNull

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

"The type of data included from the external data source."

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

See the description of Null values.

See Also:
EXT_DATA_TYPE

getModifierLink

public String getModifierLink()
Get the URL for the 'modifier' field. The description of the 'modifier' field is:

"The URL of the Sentinel User object that represents the last modifier of the object."

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

isModifierLinkNull

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

"The URL of the Sentinel User object that represents the last modifier of the object."

See the description of Null values.

Returns:
true if the field value has been marked as null, false otherwise.
See Also:
MODIFIER

isModifierLinkClear

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

"The URL of the Sentinel User object that represents the last modifier of the object."

See the description of cleared values.

Returns:
true if the field value has been cleared, false otherwise.
See Also:
MODIFIER

getCreatorLink

public String getCreatorLink()
Get the URL for the 'creator' field. The description of the 'creator' field is:

"The URL of the Sentinel User object that represents the creator of the object."

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

isCreatorLinkNull

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

"The URL of the Sentinel User object that represents the creator of the object."

See the description of Null values.

Returns:
true if the field value has been marked as null, false otherwise.
See Also:
CREATOR

isCreatorLinkClear

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

"The URL of the Sentinel User object that represents the creator of the object."

See the description of cleared values.

Returns:
true if the field value has been cleared, false otherwise.
See Also:
CREATOR

getBeanMetaData

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

Overrides:
clone in class Object