org.kuali.rice.kim.impl.identity.citizenship
Class EntityCitizenshipStatusHistoryBo
java.lang.Object
org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
org.kuali.rice.kim.impl.identity.CodedAttributeBo
org.kuali.rice.kim.impl.identity.citizenship.EntityCitizenshipStatusBo
org.kuali.rice.kim.impl.identity.citizenship.EntityCitizenshipStatusHistoryBo
- All Implemented Interfaces:
- Serializable, org.apache.ojb.broker.PersistenceBrokerAware, Inactivatable, InactivatableFromTo, Coded, GloballyUnique, Historical, Versioned, ModelObjectBasic, CodedAttributeContract, CodedAttributeHistoryContract, EntityCitizenshipStatusEbo, CodedAttributeHistoryBoContract, BusinessObject, ExternalizableBusinessObject, PersistableBusinessObject
@Entity
public class EntityCitizenshipStatusHistoryBo
- extends EntityCitizenshipStatusBo
- implements CodedAttributeHistoryBoContract
- See Also:
- Serialized Form
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
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, setVersionNumber |
Methods inherited from interface org.kuali.rice.core.api.mo.common.Coded |
getCode |
EntityCitizenshipStatusHistoryBo
public EntityCitizenshipStatusHistoryBo()
getHistoryId
public Long getHistoryId()
- Specified by:
getHistoryId
in interface Historical
setHistoryId
public void setHistoryId(Long historyId)
- Specified by:
setHistoryId
in interface CodedAttributeHistoryBoContract
getActiveFromDateValue
public Timestamp getActiveFromDateValue()
setActiveFromDateValue
public void setActiveFromDateValue(Timestamp activeFromDateValue)
- Specified by:
setActiveFromDateValue
in interface CodedAttributeHistoryBoContract
getActiveToDateValue
public Timestamp getActiveToDateValue()
setActiveToDateValue
public void setActiveToDateValue(Timestamp activeToDateValue)
- Specified by:
setActiveToDateValue
in interface CodedAttributeHistoryBoContract
isActive
public boolean isActive(Timestamp activeAsOfDate)
isActive
public boolean isActive(org.joda.time.DateTime activeAsOfDate)
- Description copied from interface:
InactivatableFromTo
- Returns if the record is active for a given Time.
If the activeAsOfDate is null will return null.
- Specified by:
isActive
in interface InactivatableFromTo
- Returns:
- true if active false if not
isActiveNow
public boolean isActiveNow()
- Specified by:
isActiveNow
in interface Historical
getActiveFromDate
public org.joda.time.DateTime getActiveFromDate()
- Description copied from interface:
InactivatableFromTo
- Gets the date for which the record become active. Can be null.
- Specified by:
getActiveFromDate
in interface InactivatableFromTo
- Returns:
- Timestamp of active from date
getActiveToDate
public org.joda.time.DateTime getActiveToDate()
- Description copied from interface:
InactivatableFromTo
- Gets the date for which the record become inactive. Can be null.
- Specified by:
getActiveToDate
in interface InactivatableFromTo
- Returns:
- Timestamp of active to date
to
public static CodedAttributeHistory to(EntityCitizenshipStatusHistoryBo bo)
from
public static EntityCitizenshipStatusHistoryBo from(CodedAttributeHistory immutable)
from
public static EntityCitizenshipStatusHistoryBo from(CodedAttribute immutable,
Timestamp fromDate,
Timestamp toDate)
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.