com.bmc.cmdb.api
Class CMDBRealLimit

java.lang.Object
  extended by com.bmc.cmdb.api.CMDBAttributeLimit
      extended by com.bmc.cmdb.api.CMDBRealLimit

public class CMDBRealLimit
extends CMDBAttributeLimit

The CMDBRealLimit class defines the limit of a real attribute.


Field Summary
 
Fields inherited from class com.bmc.cmdb.api.CMDBAttributeLimit
CMDB_ATTR_DATA_TYPE_ATTACH, CMDB_ATTR_DATA_TYPE_ATTACH_POOL, CMDB_ATTR_DATA_TYPE_CHAR, CMDB_ATTR_DATA_TYPE_CURRENCY, CMDB_ATTR_DATA_TYPE_DATE, CMDB_ATTR_DATA_TYPE_DECIMAL, CMDB_ATTR_DATA_TYPE_DIARY, CMDB_ATTR_DATA_TYPE_ENUM, CMDB_ATTR_DATA_TYPE_INTEGER, CMDB_ATTR_DATA_TYPE_NULL, CMDB_ATTR_DATA_TYPE_REAL, CMDB_ATTR_DATA_TYPE_TIME, CMDB_ATTR_DATA_TYPE_TIME_OF_DAY
 
Constructor Summary
CMDBRealLimit()
          Creates a default real attribute limit that has a low range of -1.845e+019, a high range of 1.845e+019, and a precision of 6.
CMDBRealLimit(double low, double high, int precision)
          Creates a real attribute limit with the specified low, high, and precision range.
 
Method Summary
 double getHighRange()
          Gets the high range of the real attribute limit.
 double getLowRange()
          Gets the low range of the real attribute limit.
 int getPrecision()
          Gets the precision of the real attribute limit.
 void setHighRange(double high)
          Sets the high range of the real attribute limit.
 void setLowRange(double low)
          Sets the low range of the real attribute limit.
 void setPrecision(int precision)
          Sets the precision of the real attribute limit.
 
Methods inherited from class com.bmc.cmdb.api.CMDBAttributeLimit
getDataType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMDBRealLimit

public CMDBRealLimit()
Creates a default real attribute limit that has a low range of -1.845e+019, a high range of 1.845e+019, and a precision of 6.


CMDBRealLimit

public CMDBRealLimit(double low,
                     double high,
                     int precision)
Creates a real attribute limit with the specified low, high, and precision range.

Parameters:
low - the low range specified
high - the high range specified
precision - the precision specified
Method Detail

getLowRange

public double getLowRange()
Gets the low range of the real attribute limit.

Returns:
the low range of the attribute limit

getHighRange

public double getHighRange()
Gets the high range of the real attribute limit.

Returns:
the high range of the attribute limit

getPrecision

public int getPrecision()
Gets the precision of the real attribute limit.

Returns:
the precision of the attribute limit

setLowRange

public void setLowRange(double low)
Sets the low range of the real attribute limit.

Parameters:
low - the low range of the attribute limit to set

setHighRange

public void setHighRange(double high)
Sets the high range of the real attribute limit.

Parameters:
high - the high range of the attribute limit to set

setPrecision

public void setPrecision(int precision)
Sets the precision of the real attribute limit.

Parameters:
precision - the precision of the attribute limit to set


(c) Copyright 2004-2007 BMC Software, Inc.