org.kuali.rice.kns.bo
Class InactivatableFromToImpl
java.lang.Object
org.kuali.rice.kns.bo.BusinessObjectBase
org.kuali.rice.kns.bo.PersistableBusinessObjectBase
org.kuali.rice.kns.bo.InactivatableFromToImpl
- All Implemented Interfaces:
- Serializable, org.apache.ojb.broker.PersistenceBrokerAware, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.Inactivateable, org.kuali.rice.kns.bo.InactivateableFromTo, PersistableBusinessObject
- Direct Known Subclasses:
- KimAbstractMemberImpl
public abstract class InactivatableFromToImpl
- extends PersistableBusinessObjectBase
- implements org.kuali.rice.kns.bo.InactivateableFromTo
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes |
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject |
prepareForWorkflow |
activeFromDate
protected Timestamp activeFromDate
activeToDate
protected Timestamp activeToDate
activeAsOfDate
protected Timestamp activeAsOfDate
current
protected boolean current
InactivatableFromToImpl
public InactivatableFromToImpl()
isActive
public boolean isActive()
- Returns active if the
getActiveAsOfDate()
(current time used if not set) is between
the from and to dates. Null dates are considered to indicate an open range.
- Specified by:
isActive
in interface org.kuali.rice.kns.bo.Inactivateable
setActive
public void setActive(boolean active)
- Specified by:
setActive
in interface org.kuali.rice.kns.bo.Inactivateable
setActiveFromDate
public void setActiveFromDate(Timestamp from)
- Specified by:
setActiveFromDate
in interface org.kuali.rice.kns.bo.InactivateableFromTo
setActiveToDate
public void setActiveToDate(Timestamp to)
- Specified by:
setActiveToDate
in interface org.kuali.rice.kns.bo.InactivateableFromTo
getActiveFromDate
public Timestamp getActiveFromDate()
- Specified by:
getActiveFromDate
in interface org.kuali.rice.kns.bo.InactivateableFromTo
getActiveToDate
public Timestamp getActiveToDate()
- Specified by:
getActiveToDate
in interface org.kuali.rice.kns.bo.InactivateableFromTo
getActiveAsOfDate
public Timestamp getActiveAsOfDate()
- Specified by:
getActiveAsOfDate
in interface org.kuali.rice.kns.bo.InactivateableFromTo
setActiveAsOfDate
public void setActiveAsOfDate(Timestamp activeAsOfDate)
- Specified by:
setActiveAsOfDate
in interface org.kuali.rice.kns.bo.InactivateableFromTo
isCurrent
public boolean isCurrent()
setCurrent
public void setCurrent(boolean current)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.