org.kuali.hr.time.assignment
Class Assignment
java.lang.Object
org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
org.kuali.hr.time.HrBusinessObject
org.kuali.hr.time.assignment.Assignment
- All Implemented Interfaces:
- Serializable, org.apache.ojb.broker.PersistenceBrokerAware, 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 Assignment
- extends HrBusinessObject
- See Also:
- Serialized Form
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
extension, versionNumber |
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 interface org.kuali.rice.core.api.mo.ModelObjectBasic |
toString |
CACHE_NAME
public static final String CACHE_NAME
- See Also:
- Constant Field Values
Assignment
public Assignment()
Assignment
public Assignment(String principalId,
Long jobNumber,
Date effectiveDate,
String earnCode,
Long workAreaId,
Long taskId)
getAssignmentAccounts
public List<AssignmentAccount> getAssignmentAccounts()
setAssignmentAccounts
public void setAssignmentAccounts(List<AssignmentAccount> assignmentAccounts)
getPrincipalId
public String getPrincipalId()
setPrincipalId
public void setPrincipalId(String principalId)
getName
public String getName()
getJob
public Job getJob()
setJob
public void setJob(Job job)
getJobNumber
public Long getJobNumber()
setJobNumber
public void setJobNumber(Long jobNumber)
getHrJobId
public String getHrJobId()
setHrJobId
public void setHrJobId(String hrJobId)
getEffectiveDate
public Date getEffectiveDate()
- Overrides:
getEffectiveDate
in class HrBusinessObject
setEffectiveDate
public void setEffectiveDate(Date effectiveDate)
- Overrides:
setEffectiveDate
in class HrBusinessObject
isActive
public boolean isActive()
- Overrides:
isActive
in class HrBusinessObject
setActive
public void setActive(boolean active)
- Overrides:
setActive
in class HrBusinessObject
getClockText
public String getClockText()
- Provides us with the text to display to the user for clock actions on
this assignment.
- Returns:
getTkAssignmentId
public String getTkAssignmentId()
setTkAssignmentId
public void setTkAssignmentId(String tkAssignmentId)
getTimestamp
public Timestamp getTimestamp()
- Overrides:
getTimestamp
in class HrBusinessObject
setTimestamp
public void setTimestamp(Timestamp timestamp)
- Overrides:
setTimestamp
in class HrBusinessObject
setWorkArea
public void setWorkArea(Long workArea)
setTask
public void setTask(Long task)
getDept
public String getDept()
setDept
public void setDept(String dept)
getWorkAreaObj
public WorkArea getWorkAreaObj()
setWorkAreaObj
public void setWorkAreaObj(WorkArea workAreaObj)
getWorkArea
public Long getWorkArea()
getTask
public Long getTask()
setTimeCollectionRule
public void setTimeCollectionRule(TimeCollectionRule timeCollectionRule)
getTimeCollectionRule
public TimeCollectionRule getTimeCollectionRule()
isSynchronous
public boolean isSynchronous()
getDeptLunchRule
public DeptLunchRule getDeptLunchRule()
setDeptLunchRule
public void setDeptLunchRule(DeptLunchRule deptLunchRule)
getAssignmentDescription
public String getAssignmentDescription()
getPrincipal
public org.kuali.rice.kim.api.identity.Person getPrincipal()
setPrincipal
public void setPrincipal(org.kuali.rice.kim.api.identity.Person principal)
getTaskObj
public Task getTaskObj()
setTaskObj
public void setTaskObj(Task taskObj)
getHistory
public Boolean getHistory()
setHistory
public void setHistory(Boolean history)
getUniqueKey
public String getUniqueKey()
- Specified by:
getUniqueKey
in class HrBusinessObject
getId
public String getId()
- Specified by:
getId
in class HrBusinessObject
setId
public void setId(String id)
- Specified by:
setId
in class HrBusinessObject
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
getCalGroup
public String getCalGroup()
setCalGroup
public void setCalGroup(String calGroup)
getAssignmentKey
public String getAssignmentKey()
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.