org.kuali.rice.kim.impl.identity.citizenship
Class EntityCitizenshipStatusHistoryBo

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by org.kuali.rice.kim.impl.identity.CodedAttributeBo
              extended by org.kuali.rice.kim.impl.identity.citizenship.EntityCitizenshipStatusBo
                  extended by 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

Field Summary
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, newCollectionRecord, objectId, versionNumber
 
Constructor Summary
EntityCitizenshipStatusHistoryBo()
           
 
Method Summary
static EntityCitizenshipStatusHistoryBo from(CodedAttributeHistory immutable)
           
static EntityCitizenshipStatusHistoryBo from(CodedAttribute immutable, Timestamp fromDate, Timestamp toDate)
           
 org.joda.time.DateTime getActiveFromDate()
          Gets the date for which the record become active.
 Timestamp getActiveFromDateValue()
           
 org.joda.time.DateTime getActiveToDate()
          Gets the date for which the record become inactive.
 Timestamp getActiveToDateValue()
           
 Long getHistoryId()
           
 boolean isActive(org.joda.time.DateTime activeAsOfDate)
          Returns if the record is active for a given Time.
 boolean isActive(Timestamp activeAsOfDate)
           
 boolean isActiveNow()
           
 void setActiveFromDateValue(Timestamp activeFromDateValue)
           
 void setActiveToDateValue(Timestamp activeToDateValue)
           
 void setHistoryId(Long historyId)
           
static CodedAttributeHistory to(EntityCitizenshipStatusHistoryBo bo)
           
 
Methods inherited from class org.kuali.rice.kim.impl.identity.citizenship.EntityCitizenshipStatusBo
from
 
Methods inherited from class org.kuali.rice.kim.impl.identity.CodedAttributeBo
from, getCode, getName, getSortCode, isActive, setActive, setCode, setName, setSortCode
 
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 class org.kuali.rice.krad.bo.BusinessObjectBase
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kim.impl.identity.CodedAttributeHistoryBoContract
setActive, setCode, setName, setObjectId, setSortCode, setVersionNumber
 
Methods inherited from interface org.kuali.rice.kim.api.identity.CodedAttributeContract
getName, getSortCode
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned
getVersionNumber
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique
getObjectId
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.Coded
getCode
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.active.Inactivatable
isActive
 
Methods inherited from interface org.kuali.rice.kim.framework.identity.citizenship.EntityCitizenshipStatusEbo
getCode, getName, getObjectId, getSortCode, getVersionNumber, isActive
 
Methods inherited from interface org.kuali.rice.krad.bo.BusinessObject
refresh
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Constructor Detail

EntityCitizenshipStatusHistoryBo

public EntityCitizenshipStatusHistoryBo()
Method Detail

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.