@MappedSuperclass public abstract class InactivatableFromToImpl extends PersistableBusinessObjectBase implements InactivatableFromTo
| Modifier and Type | Field and Description |
|---|---|
protected Timestamp |
activeAsOfDate |
protected Timestamp |
activeFromDate |
protected Timestamp |
activeToDate |
protected boolean |
current |
extension, newCollectionRecord, objectId, versionNumber| Constructor and Description |
|---|
InactivatableFromToImpl() |
| Modifier and Type | Method and Description |
|---|---|
Timestamp |
getActiveAsOfDate() |
Timestamp |
getActiveFromDate() |
Timestamp |
getActiveToDate() |
boolean |
isActive()
Returns active if the
getActiveAsOfDate() (current time used if not set) is between
the from and to dates. |
boolean |
isCurrent() |
void |
setActive(boolean active) |
void |
setActiveAsOfDate(Timestamp activeAsOfDate) |
void |
setActiveFromDate(Timestamp from) |
void |
setActiveToDate(Timestamp to) |
void |
setCurrent(boolean current) |
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, getObjectId, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumbertoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoStringprotected Timestamp activeFromDate
protected Timestamp activeToDate
protected Timestamp activeAsOfDate
protected boolean current
public InactivatableFromToImpl()
public boolean isActive()
getActiveAsOfDate() (current time used if not set) is between
the from and to dates. Null dates are considered to indicate an open range.isActive in interface Inactivatablepublic void setActive(boolean active)
setActive in interface MutableInactivatablepublic void setActiveFromDate(Timestamp from)
setActiveFromDate in interface InactivatableFromTopublic void setActiveToDate(Timestamp to)
setActiveToDate in interface InactivatableFromTopublic Timestamp getActiveFromDate()
getActiveFromDate in interface InactivatableFromTopublic Timestamp getActiveToDate()
getActiveToDate in interface InactivatableFromTopublic Timestamp getActiveAsOfDate()
getActiveAsOfDate in interface InactivatableFromTopublic void setActiveAsOfDate(Timestamp activeAsOfDate)
setActiveAsOfDate in interface InactivatableFromTopublic boolean isCurrent()
public void setCurrent(boolean current)
Copyright © 2005–2018 The Kuali Foundation. All rights reserved.