com.novell.db.object.bean
Class IpDataBean

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

public class IpDataBean
extends SentinelBean

An automatically-generated "bean" class for the Sentinel data object type 'ip-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 HOSTNAME
          The "bean name" of the Sentinel data object field 'HostName'.
static String IP_ADDRESS
          The "bean name" of the Sentinel data object field 'IpAddress'.
static String UUID
          The "bean name" of the Sentinel data object field 'Id'.
 
Constructor Summary
  IpDataBean()
          Construct an instance of the bean class.
protected IpDataBean(BeanMetaData<? extends SentinelBean> metadata)
          Constructor for use by derived classes.
 
Method Summary
 void clearHostName()
          Clear any current value for the 'hostname' field in the bean.
 void clearId()
          Clear any current value for the 'id' field in the bean.
 void clearIpAddress()
          Clear any current value for the 'ip-address' field in the bean.
 IpDataBean clone()
          Create a duplicate of this bean instance, including all field values.
static BeanMetaData<? extends IpDataBean> getBeanMetaData()
          Get the metadata class instance for this type.
 String getHostName()
          Get the value for the 'hostname' field.
 String getId()
          Get the value for the 'id' field.
 String getIpAddress()
          Get the value for the 'ip-address' field.
 boolean isHostNameClear()
          Get whether the value for the 'hostname' field is clear or not.
 boolean isHostNameNull()
          Get whether the 'hostname' 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 isIpAddressClear()
          Get whether the value for the 'ip-address' field is clear or not.
 boolean isIpAddressNull()
          Get whether the 'ip-address' field has been set to Null or not.
 void setHostName(String hostName)
          Set the value for the 'hostname' field.
 void setHostNameNull()
          Set to Null any current value for the 'hostname' 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 setIpAddress(String ipAddress)
          Set the value for the 'ip-address' field.
 void setIpAddressNull()
          Set to Null any current value for the 'ip-address' 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

HOSTNAME

public static final String HOSTNAME
The "bean name" of the Sentinel data object field 'HostName'. The value is ""hostname"".

The description of the 'hostname' field is:

"The host name of the asset."

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

IP_ADDRESS

public static final String IP_ADDRESS
The "bean name" of the Sentinel data object field 'IpAddress'. The value is ""ip-address"".

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

"The IP address of the asset."

See Also:
Constant Field Values
Constructor Detail

IpDataBean

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


IpDataBean

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

getIpAddress

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

"The IP address of the asset."

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

isIpAddressNull

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

"The IP address of the asset."

See the description of Null values.

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

isIpAddressClear

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

"The IP address of the asset."

See the description of cleared values.

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

setIpAddress

public void setIpAddress(String ipAddress)
Set the value for the 'ip-address' field. The description of the 'ip-address' field is:

"The IP address of the asset."

Parameters:
ipAddress - Value to set
See Also:
IP_ADDRESS

clearIpAddress

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

"The IP address of the asset."

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

See the description of cleared values.

See Also:
IP_ADDRESS

setIpAddressNull

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

"The IP address of the asset."

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

See the description of Null values.

See Also:
IP_ADDRESS

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

getHostName

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

"The host name of the asset."

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

isHostNameNull

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

"The host name of the asset."

See the description of Null values.

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

isHostNameClear

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

"The host name of the asset."

See the description of cleared values.

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

setHostName

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

"The host name of the asset."

Parameters:
hostName - Value to set
See Also:
HOSTNAME

clearHostName

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

"The host name of the asset."

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

See the description of cleared values.

See Also:
HOSTNAME

setHostNameNull

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

"The host name of the asset."

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

See the description of Null values.

See Also:
HOSTNAME

getBeanMetaData

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

Overrides:
clone in class Object