com.novell.db.object.bean
Class IdentityExtAttributesBean

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

public class IdentityExtAttributesBean
extends SentinelBean

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

The description of the type is:

"A single IdentityExtAttributes object contains a name-value pair that is associated with an Identity object. The name-value pair definition is determined by the needs of the enterprise monitored by Sentinel."

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 ATTRIBUTE_NAME
          The "bean name" of the Sentinel data object field 'Name'.
static String ATTRIBUTE_VALUE
          The "bean name" of the Sentinel data object field 'Value'.
 
Constructor Summary
  IdentityExtAttributesBean()
          Construct an instance of the bean class.
protected IdentityExtAttributesBean(BeanMetaData<? extends SentinelBean> metadata)
          Constructor for use by derived classes.
 
Method Summary
 void clearName()
          Clear any current value for the 'name' field in the bean.
 void clearValue()
          Clear any current value for the 'value' field in the bean.
 IdentityExtAttributesBean clone()
          Create a duplicate of this bean instance, including all field values.
static BeanMetaData<? extends IdentityExtAttributesBean> getBeanMetaData()
          Get the metadata class instance for this type.
 String getName()
          Get the value for the 'name' field.
 String getValue()
          Get the value for the 'value' field.
 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 isValueClear()
          Get whether the value for the 'value' field is clear or not.
 boolean isValueNull()
          Get whether the 'value' field has been set to Null or not.
 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 setValue(String value)
          Set the value for the 'value' field.
 void setValueNull()
          Set to Null any current value for the 'value' 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

ATTRIBUTE_VALUE

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

The description of the 'value' field is:

"The value."

See Also:
Constant Field Values

ATTRIBUTE_NAME

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

The description of the 'name' field is:

"The name of the value. For example, "Cell phone"."

See Also:
Constant Field Values
Constructor Detail

IdentityExtAttributesBean

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


IdentityExtAttributesBean

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

getName

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

"The name of the value. For example, "Cell phone"."

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

isNameNull

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

"The name of the value. For example, "Cell phone"."

See the description of Null values.

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

isNameClear

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

"The name of the value. For example, "Cell phone"."

See the description of cleared values.

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

setName

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

"The name of the value. For example, "Cell phone"."

Parameters:
name - Value to set
See Also:
ATTRIBUTE_NAME

clearName

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

"The name of the value. For example, "Cell phone"."

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

"The name of the value. For example, "Cell phone"."

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

getValue

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

"The value."

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

isValueNull

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

"The value."

See the description of Null values.

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

isValueClear

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

"The value."

See the description of cleared values.

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

setValue

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

"The value."

Parameters:
value - Value to set
See Also:
ATTRIBUTE_VALUE

clearValue

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

"The value."

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

See the description of cleared values.

See Also:
ATTRIBUTE_VALUE

setValueNull

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

"The value."

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

See the description of Null values.

See Also:
ATTRIBUTE_VALUE

getBeanMetaData

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

Overrides:
clone in class Object