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.EntityAffiliationBase
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
@Entity
public class EntityAffiliationHistoryBo
- extends EntityAffiliationBase
- implements EntityAffiliationHistoryContract
- See Also:
- Serialized Form
Methods inherited from class org.kuali.rice.kim.impl.identity.affiliation.EntityAffiliationBase |
getActive, getAffiliationTypeCode, getCampusCode, getDefaultValue, getEntityId, isActive, isDefaultValue, setActive, setAffiliationTypeCode, setCampusCode, setDefaultValue, setEntityId |
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 |
EntityAffiliationHistoryBo
public EntityAffiliationHistoryBo()
getHistoryId
public Long getHistoryId()
- Specified by:
getHistoryId
in interface Historical
setHistoryId
public void setHistoryId(Long historyId)
getId
public String getId()
- Description copied from interface:
Identifiable
- The unique identifier for an object. This can be null.
- Specified by:
getId
in interface Identifiable
- Returns:
- the id
setId
public void setId(String id)
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:
EntityAffiliationHistoryContract
- Gets this
EntityAffiliationHistory
's type.
- Specified by:
getAffiliationType
in interface EntityAffiliationContract
- Specified by:
getAffiliationType
in interface EntityAffiliationHistoryContract
- Returns:
- the type for this
EntityAffiliationHistory
, 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
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.