org.kuali.rice.krad.bo
Interface InactivatableFromTo

All Superinterfaces:
Inactivatable, MutableInactivatable
All Known Implementing Classes:
InactivatableFromToImpl, TravelAccountUseRate

public interface InactivatableFromTo
extends MutableInactivatable

Business objects that have effective dating (from to dates) should implement this interface. This translates the effective dates in terms of active/inactive status so the features built for MutableInactivatable in the frameworks can be taken advantage of


Method Summary
 Timestamp getActiveAsOfDate()
          Gets the date for which the record is being compared to in determining active/inactive
 Timestamp getActiveFromDate()
          Gets the date for which the record become active
 Timestamp getActiveToDate()
          Gets the date for which the record become inactive
 void setActiveAsOfDate(Timestamp activeAsOfDate)
          Sets the date for which the record should be compared to in determining active/inactive, if not set then the current date will be used
 void setActiveFromDate(Timestamp from)
          Sets the date for which record will be active
 void setActiveToDate(Timestamp to)
          Sets the date for which record will be active to
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.active.MutableInactivatable
setActive
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.active.Inactivatable
isActive
 

Method Detail

setActiveFromDate

void setActiveFromDate(Timestamp from)
Sets the date for which record will be active

Parameters:
from - - Timestamp value to set

getActiveFromDate

Timestamp getActiveFromDate()
Gets the date for which the record become active

Returns:
Timestamp

setActiveToDate

void setActiveToDate(Timestamp to)
Sets the date for which record will be active to

Parameters:
from - - Timestamp value to set

getActiveToDate

Timestamp getActiveToDate()
Gets the date for which the record become inactive

Returns:
Timestamp

getActiveAsOfDate

Timestamp getActiveAsOfDate()
Gets the date for which the record is being compared to in determining active/inactive

Returns:
Timestamp

setActiveAsOfDate

void setActiveAsOfDate(Timestamp activeAsOfDate)
Sets the date for which the record should be compared to in determining active/inactive, if not set then the current date will be used

Parameters:
activeAsOfDate - - Timestamp value to set


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.