com.novell.db.object.bean
Class ContactDataBean

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

public class ContactDataBean
extends SentinelBean

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

The description of the type is:

"null"

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 EMAIL_ADDRESS
          The "bean name" of the Sentinel data object field 'EmailAddress'.
static String NAME
          The "bean name" of the Sentinel data object field 'Name'.
static String PHONE_NUMBER
          The "bean name" of the Sentinel data object field 'PhoneNumber'.
static String ROLE
          The "bean name" of the Sentinel data object field 'Role'.
static String SEQ
          The "bean name" of the Sentinel data object field 'Seq'.
static String UUID
          The "bean name" of the Sentinel data object field 'Id'.
 
Constructor Summary
  ContactDataBean()
          Construct an instance of the bean class.
protected ContactDataBean(BeanMetaData<? extends SentinelBean> metadata)
          Constructor for use by derived classes.
 
Method Summary
 void clearEmailAddress()
          Clear any current value for the 'email-address' field in the bean.
 void clearId()
          Clear any current value for the 'id' field in the bean.
 void clearName()
          Clear any current value for the 'name' field in the bean.
 void clearPhoneNumber()
          Clear any current value for the 'phone-number' field in the bean.
 void clearRole()
          Clear any current value for the 'role' field in the bean.
 void clearSeq()
          Clear any current value for the 'seq' field in the bean.
 ContactDataBean clone()
          Create a duplicate of this bean instance, including all field values.
static BeanMetaData<? extends ContactDataBean> getBeanMetaData()
          Get the metadata class instance for this type.
 String getEmailAddress()
          Get the value for the 'email-address' field.
 String getId()
          Get the value for the 'id' field.
 String getName()
          Get the value for the 'name' field.
 String getPhoneNumber()
          Get the value for the 'phone-number' field.
 String getRole()
          Get the value for the 'role' field.
 String getSeq()
          Get the value for the 'seq' field.
 boolean isEmailAddressClear()
          Get whether the value for the 'email-address' field is clear or not.
 boolean isEmailAddressNull()
          Get whether the 'email-address' 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 isNameClear()
          Get whether the value for the 'name' field is clear or not.
 boolean isNameNull()
          Get whether the 'name' field has been set to Null or not.
 boolean isPhoneNumberClear()
          Get whether the value for the 'phone-number' field is clear or not.
 boolean isPhoneNumberNull()
          Get whether the 'phone-number' field has been set to Null or not.
 boolean isRoleClear()
          Get whether the value for the 'role' field is clear or not.
 boolean isRoleNull()
          Get whether the 'role' field has been set to Null or not.
 boolean isSeqClear()
          Get whether the value for the 'seq' field is clear or not.
 boolean isSeqNull()
          Get whether the 'seq' field has been set to Null or not.
 void setEmailAddress(String emailAddress)
          Set the value for the 'email-address' field.
 void setEmailAddressNull()
          Set to Null any current value for the 'email-address' 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 setName(String name)
          Set the value for the 'name' field.
 void setNameNull()
          Set to Null any current value for the 'name' field in the bean.
 void setPhoneNumber(String phoneNumber)
          Set the value for the 'phone-number' field.
 void setPhoneNumberNull()
          Set to Null any current value for the 'phone-number' field in the bean.
 void setRole(String role)
          Set the value for the 'role' field.
 void setRoleNull()
          Set to Null any current value for the 'role' field in the bean.
 void setSeq(String seq)
          Set the value for the 'seq' field.
 void setSeqNull()
          Set to Null any current value for the 'seq' 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

NAME

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

The description of the 'name' field is:

"A contact or responsible user of the asset."

See Also:
Constant Field Values

ROLE

public static final String ROLE
The "bean name" of the Sentinel data object field 'Role'. The value is ""role"".

The description of the 'role' field is:

"The role of the responsible contact."

See Also:
Constant Field Values

UUID

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

The description of the 'id' field is:

"No description provided."

See Also:
Constant Field Values

SEQ

public static final String SEQ
The "bean name" of the Sentinel data object field 'Seq'. The value is ""seq"".

The description of the 'seq' field is:

"Used to order the list of contacts."

See Also:
Constant Field Values

PHONE_NUMBER

public static final String PHONE_NUMBER
The "bean name" of the Sentinel data object field 'PhoneNumber'. The value is ""phone-number"".

The description of the 'phone-number' field is:

"The contact phone number."

See Also:
Constant Field Values

EMAIL_ADDRESS

public static final String EMAIL_ADDRESS
The "bean name" of the Sentinel data object field 'EmailAddress'. The value is ""email-address"".

The description of the 'email-address' field is:

"The contact email address."

See Also:
Constant Field Values
Constructor Detail

ContactDataBean

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


ContactDataBean

protected ContactDataBean(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:

"No description provided."

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

isIdNull

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

isIdClear

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

"No description provided."

See the description of cleared values.

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

setId

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

"No description provided."

Parameters:
id - Value to set
See Also:
UUID

clearId

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

"No description provided."

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

setIdNull

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

"No description provided."

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

getName

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

"A contact or responsible user of the asset."

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

isNameNull

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

"A contact or responsible user of the asset."

See the description of Null values.

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

isNameClear

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

"A contact or responsible user of the asset."

See the description of cleared values.

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

setName

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

"A contact or responsible user of the asset."

Parameters:
name - Value to set
See Also:
NAME

clearName

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

"A contact or responsible user of the asset."

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

See the description of cleared values.

See Also:
NAME

setNameNull

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

"A contact or responsible user of the asset."

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

See the description of Null values.

See Also:
NAME

getSeq

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

"Used to order the list of contacts."

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

isSeqNull

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

"Used to order the list of contacts."

See the description of Null values.

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

isSeqClear

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

"Used to order the list of contacts."

See the description of cleared values.

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

setSeq

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

"Used to order the list of contacts."

Parameters:
seq - Value to set
See Also:
SEQ

clearSeq

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

"Used to order the list of contacts."

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

See the description of cleared values.

See Also:
SEQ

setSeqNull

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

"Used to order the list of contacts."

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

See the description of Null values.

See Also:
SEQ

getRole

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

"The role of the responsible contact."

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

isRoleNull

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

"The role of the responsible contact."

See the description of Null values.

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

isRoleClear

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

"The role of the responsible contact."

See the description of cleared values.

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

setRole

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

"The role of the responsible contact."

Parameters:
role - Value to set
See Also:
ROLE

clearRole

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

"The role of the responsible contact."

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

See the description of cleared values.

See Also:
ROLE

setRoleNull

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

"The role of the responsible contact."

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

See the description of Null values.

See Also:
ROLE

getEmailAddress

public String getEmailAddress()
Get the value for the 'email-address' field. The description of the 'email-address' field is:

"The contact email address."

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

isEmailAddressNull

public boolean isEmailAddressNull()
Get whether the 'email-address' field has been set to Null or not. The description of the 'email-address' field is:

"The contact email address."

See the description of Null values.

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

isEmailAddressClear

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

"The contact email address."

See the description of cleared values.

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

setEmailAddress

public void setEmailAddress(String emailAddress)
Set the value for the 'email-address' field. The description of the 'email-address' field is:

"The contact email address."

Parameters:
emailAddress - Value to set
See Also:
EMAIL_ADDRESS

clearEmailAddress

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

"The contact email address."

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

See the description of cleared values.

See Also:
EMAIL_ADDRESS

setEmailAddressNull

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

"The contact email address."

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

See the description of Null values.

See Also:
EMAIL_ADDRESS

getPhoneNumber

public String getPhoneNumber()
Get the value for the 'phone-number' field. The description of the 'phone-number' field is:

"The contact phone number."

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

isPhoneNumberNull

public boolean isPhoneNumberNull()
Get whether the 'phone-number' field has been set to Null or not. The description of the 'phone-number' field is:

"The contact phone number."

See the description of Null values.

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

isPhoneNumberClear

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

"The contact phone number."

See the description of cleared values.

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

setPhoneNumber

public void setPhoneNumber(String phoneNumber)
Set the value for the 'phone-number' field. The description of the 'phone-number' field is:

"The contact phone number."

Parameters:
phoneNumber - Value to set
See Also:
PHONE_NUMBER

clearPhoneNumber

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

"The contact phone number."

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

See the description of cleared values.

See Also:
PHONE_NUMBER

setPhoneNumberNull

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

"The contact phone number."

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

See the description of Null values.

See Also:
PHONE_NUMBER

getBeanMetaData

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

Overrides:
clone in class Object