com.bmc.cmdb.api
Class CMDBDateLimit

java.lang.Object
  extended by com.bmc.cmdb.api.CMDBAttributeLimit
      extended by com.bmc.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.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
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 minimum date and maximum date values.
 
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.bmc.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 minimum date and maximum date values.

Parameters:
minDate - the minimum value for the Date attribute limit
maxDate - the maximum value for the Date attribute limit
Method Detail

getMinDate

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

Returns:
returns the minimum date of the Date attribute limit

getMaxDate

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

Returns:
returns the 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 value for the Date attribute limit

setMaxDate

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

Parameters:
maxDate - the maximum value for the Date attribute limit


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