org.kuali.kpme.pm.positiondepartmentaffiliation
Class PositionDepartmentAffiliation

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by org.kuali.kpme.core.bo.HrBusinessObject
              extended by org.kuali.kpme.pm.positiondepartmentaffiliation.PositionDepartmentAffiliation
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, HrBusinessObjectContract, PositionDepartmentAffiliationContract, org.kuali.rice.core.api.mo.common.active.Inactivatable, org.kuali.rice.core.api.mo.common.GloballyUnique, org.kuali.rice.core.api.mo.common.Versioned, org.kuali.rice.core.api.mo.ModelObjectBasic, org.kuali.rice.krad.bo.BusinessObject, org.kuali.rice.krad.bo.PersistableBusinessObject

public class PositionDepartmentAffiliation
extends HrBusinessObject
implements PositionDepartmentAffiliationContract

See Also:
Serialized Form

Field Summary
static com.google.common.collect.ImmutableList<String> EQUAL_TO_FIELDS
           
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
PositionDepartmentAffiliation()
           
 
Method Summary
 String getId()
          The unique id defined by the object, could be a combination of multiple fields
 String getPmPositionDeptAfflId()
          The primary key for a PositionDepartmentAffiliation entry saved in the database
 String getPositionDeptAfflType()
          The name of affiliation types positions may have with departments
protected  String getUniqueKey()
           
 boolean isPrimaryIndicator()
          The flag that indicates the department affiliation is the primary department that could be used to determine department's access to modify position data
 void setId(String id)
           
 void setPmPositionDeptAfflId(String pmPositionDeptAfflId)
           
 void setPositionDeptAfflType(String positionDeptAfflType)
           
 void setPrimaryIndicator(boolean primaryIndicator)
           
 
Methods inherited from class org.kuali.kpme.core.bo.HrBusinessObject
getEffectiveDate, getEffectiveLocalDate, getRelativeEffectiveDate, getTimestamp, isActive, setActive, setEffectiveDate, setEffectiveLocalDate, setRelativeEffectiveDate, setTimestamp
 
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, 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.kpme.core.api.bo.HrBusinessObjectContract
getEffectiveDate, getEffectiveLocalDate, getRelativeEffectiveDate, getTimestamp
 
Methods inherited from interface org.kuali.rice.krad.bo.PersistableBusinessObject
buildListOfDeletionAwareLists, getExtension, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from interface org.kuali.rice.krad.bo.BusinessObject
refresh
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 
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.active.Inactivatable
isActive
 

Field Detail

EQUAL_TO_FIELDS

public static final com.google.common.collect.ImmutableList<String> EQUAL_TO_FIELDS
Constructor Detail

PositionDepartmentAffiliation

public PositionDepartmentAffiliation()
Method Detail

getId

public String getId()
Description copied from interface: HrBusinessObjectContract
The unique id defined by the object, could be a combination of multiple fields

id of HrBusinessObject

Specified by:
getId in interface HrBusinessObjectContract
Specified by:
getId in class HrBusinessObject
Returns:
id of HrBusinessObject

setId

public void setId(String id)
Specified by:
setId in class HrBusinessObject

getUniqueKey

protected String getUniqueKey()
Specified by:
getUniqueKey in class HrBusinessObject

getPmPositionDeptAfflId

public String getPmPositionDeptAfflId()
Description copied from interface: PositionDepartmentAffiliationContract
The primary key for a PositionDepartmentAffiliation entry saved in the database

pmPositionDeptAfflId of a PositionDepartmentAffiliation.

Specified by:
getPmPositionDeptAfflId in interface PositionDepartmentAffiliationContract
Returns:
the pmPositionDeptAfflId

setPmPositionDeptAfflId

public void setPmPositionDeptAfflId(String pmPositionDeptAfflId)
Parameters:
pmPositionDeptAfflId - the pmPositionDeptAfflId to set

getPositionDeptAfflType

public String getPositionDeptAfflType()
Description copied from interface: PositionDepartmentAffiliationContract
The name of affiliation types positions may have with departments

positionDeptAfflType of a PositionDepartmentAffiliation.

Specified by:
getPositionDeptAfflType in interface PositionDepartmentAffiliationContract
Returns:
the positionDeptAfflType

setPositionDeptAfflType

public void setPositionDeptAfflType(String positionDeptAfflType)
Parameters:
positionDeptAfflType - the positionDeptAfflType to set

isPrimaryIndicator

public boolean isPrimaryIndicator()
Description copied from interface: PositionDepartmentAffiliationContract
The flag that indicates the department affiliation is the primary department that could be used to determine department's access to modify position data

primaryIndicator of a Position Department Affiliation.

Specified by:
isPrimaryIndicator in interface PositionDepartmentAffiliationContract
Returns:
the primaryIndicator

setPrimaryIndicator

public void setPrimaryIndicator(boolean primaryIndicator)
Parameters:
primaryIndicator - the primaryIndicator to set


Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.