com.remedy.cmdb.api
Class CMDBDateLimit

java.lang.Object
  extended bycom.remedy.cmdb.api.CMDBAttributeLimit
      extended bycom.remedy.cmdb.api.CMDBDateLimit

public class CMDBDateLimit
extends CMDBAttributeLimit

The CMDBDateLimit class defines the limit of a date attribute.


Field Summary
 
Fields inherited from class com.remedy.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
CMDBDateLimit()
          Default constructor to create a date attribute limit with a maximum date of 9999-12-31.
CMDBDateLimit(int minDate, int maxDate)
          Creates a date attribute limit with the specified information.
 
Method Summary
 int getMaxDate()
          Gets the maximum date of the date attribute limit.
 int getMinDate()
          Gets the minimum date of the date attribute limit.
 void setMaxDate(int maxDate)
          Sets the maximum date of the date attribute limit.
 void setMinDate(int minDate)
          Sets the minimum date of the date attribute limit.
 
Methods inherited from class com.remedy.cmdb.api.CMDBAttributeLimit
getDataType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMDBDateLimit

public CMDBDateLimit()
Default constructor to create a date attribute limit with a maximum date of 9999-12-31.


CMDBDateLimit

public CMDBDateLimit(int minDate,
                     int maxDate)
Creates a date attribute limit with the specified information.

Parameters:
minDate - the minimum date value
maxDate - the maximum date value
Method Detail

getMinDate

public int getMinDate()
Gets the minimum date of the date attribute limit.

Returns:
minimum date of the date attribute limit

getMaxDate

public int getMaxDate()
Gets the maximum date of the date attribute limit.

Returns:
maximum date of the date attribute limit

setMinDate

public void setMinDate(int minDate)
Sets the minimum date of the date attribute limit.

Parameters:
minDate - the minimum date of the date attribute limit

setMaxDate

public void setMaxDate(int maxDate)
Sets the maximum date of the date attribute limit.

Parameters:
maxDate - the maximum date of the date attribute limit