org.kuali.rice.kim.impl.identity.affiliation
Class EntityAffiliationHistoryBo
java.lang.Object
org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
org.kuali.rice.kim.impl.identity.affiliation.EntityAffiliationBo
org.kuali.rice.kim.impl.identity.affiliation.EntityAffiliationHistoryBo
- All Implemented Interfaces:
- Serializable, org.apache.ojb.broker.PersistenceBrokerAware, Inactivatable, InactivatableFromTo, Defaultable, GloballyUnique, Historical, Identifiable, Versioned, ModelObjectBasic, EntityAffiliationContract, EntityAffiliationHistoryContract, BusinessObject, PersistableBusinessObject
public class EntityAffiliationHistoryBo
- extends EntityAffiliationBo
- implements EntityAffiliationHistoryContract
- See Also:
- Serialized Form
Methods inherited from class org.kuali.rice.kim.impl.identity.affiliation.EntityAffiliationBo |
from, getActive, getAffiliationTypeCode, getCampusCode, getDefaultValue, getEntityId, getId, isActive, isDefaultValue, setActive, setAffiliationType, setAffiliationTypeCode, setCampusCode, setDefaultValue, setEntityId, setId, to |
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, getObjectId, getPersistenceStructureService, 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.Identifiable |
getId |
EntityAffiliationHistoryBo
public EntityAffiliationHistoryBo()
getHistoryId
public Long getHistoryId()
- Specified by:
getHistoryId
in interface Historical
setHistoryId
public void setHistoryId(Long historyId)
getActiveFromDateValue
public Timestamp getActiveFromDateValue()
setActiveFromDateValue
public void setActiveFromDateValue(Timestamp activeFromDateValue)
getActiveToDateValue
public Timestamp getActiveToDateValue()
setActiveToDateValue
public void setActiveToDateValue(Timestamp activeToDateValue)
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
getAffiliationType
public EntityAffiliationTypeHistoryBo getAffiliationType()
- Description copied from interface:
EntityAffiliationContract
- Gets this
KimEntityAffiliation
's type.
- Specified by:
getAffiliationType
in interface EntityAffiliationContract
- Specified by:
getAffiliationType
in interface EntityAffiliationHistoryContract
- Overrides:
getAffiliationType
in class EntityAffiliationBo
- Returns:
- the type for this
KimEntityAffiliation
, or null if none has been assigned.
setAffiliationType
public void setAffiliationType(EntityAffiliationTypeHistoryBo affiliationType)
to
public static EntityAffiliationHistory to(EntityAffiliationHistoryBo bo)
- Converts a mutable EntityAffiliationHistoryBo to an immutable AddressTypeHistory representation.
- Parameters:
bo
-
- Returns:
- an immutable AddressTypeHistory
from
public static EntityAffiliationHistoryBo from(EntityAffiliationHistory immutable)
- Creates a AddressTypeHistory business object from an immutable representation of a AddressTypeHistory.
- Parameters:
immutable
- an immutable AddressType
- Returns:
- a AddressTypeBo
from
public static EntityAffiliationHistoryBo from(EntityAffiliation im,
Timestamp fromDate,
Timestamp toDate)
- Creates a AddressType business object from an immutable representation of a AddressType.
- Parameters:
im
- an immutable AddressType
- Returns:
- a AddressTypeBo
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.