com.bmc.cmdb.api
Class CMDBIntLimit

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

public class CMDBIntLimit
extends CMDBAttributeLimit

The CMDBIntLimit class defines the limit of a integer 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
CMDBIntLimit()
          Creates a default int attribute limit that has a low range of -2147483647 and a high range of 2147483647.
CMDBIntLimit(int low, int high)
          Creates an int attribute limit with the specified low and high range.
 
Method Summary
 int getHighRange()
          Gets the high range of the int attribute limit.
 int getLowRange()
          Gets the low range of the int attribute limit.
 void setHighRange(int high)
          Sets the high range of the int attribute limit
 void setLowRange(int low)
          Sets the low range of the int 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

CMDBIntLimit

public CMDBIntLimit()
Creates a default int attribute limit that has a low range of -2147483647 and a high range of 2147483647.


CMDBIntLimit

public CMDBIntLimit(int low,
                    int high)
Creates an int attribute limit with the specified low and high range.

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

getLowRange

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

Returns:
the low range of the attribute

getHighRange

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

Returns:
the high range of the attribute

setLowRange

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

Parameters:
low - the low range of the attribute

setHighRange

public void setHighRange(int high)
Sets the high range of the int attribute limit

Parameters:
high - the high range of the attribute


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