org.kuali.hr.time.assignment
Class Assignment

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by org.kuali.hr.time.HrBusinessObject
              extended by 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

Field Summary
static String CACHE_NAME
           
 
Fields inherited from class org.kuali.hr.time.HrBusinessObject
active, effectiveDate, timestamp
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
Assignment()
           
Assignment(String principalId, Long jobNumber, Date effectiveDate, String earnCode, Long workAreaId, Long taskId)
           
 
Method Summary
 boolean equals(Object obj)
           
 List<AssignmentAccount> getAssignmentAccounts()
           
 String getAssignmentDescription()
           
 String getAssignmentKey()
           
 String getCalGroup()
           
 String getClockText()
          Provides us with the text to display to the user for clock actions on this assignment.
 String getDept()
           
 DeptLunchRule getDeptLunchRule()
           
 Date getEffectiveDate()
           
 Boolean getHistory()
           
 String getHrJobId()
           
 String getId()
           
 Job getJob()
           
 Long getJobNumber()
           
 String getName()
           
 org.kuali.rice.kim.api.identity.Person getPrincipal()
           
 String getPrincipalId()
           
 Long getTask()
           
 Task getTaskObj()
           
 TimeCollectionRule getTimeCollectionRule()
           
 Timestamp getTimestamp()
           
 String getTkAssignmentId()
           
 Long getTkWorkAreaId()
           
 String getUniqueKey()
           
 Long getWorkArea()
           
 WorkArea getWorkAreaObj()
           
 int hashCode()
           
 boolean isActive()
           
 boolean isSynchronous()
           
 void setActive(boolean active)
           
 void setAssignmentAccounts(List<AssignmentAccount> assignmentAccounts)
           
 void setCalGroup(String calGroup)
           
 void setDept(String dept)
           
 void setDeptLunchRule(DeptLunchRule deptLunchRule)
           
 void setEffectiveDate(Date effectiveDate)
           
 void setHistory(Boolean history)
           
 void setHrJobId(String hrJobId)
           
 void setId(String id)
           
 void setJob(Job job)
           
 void setJobNumber(Long jobNumber)
           
 void setPrincipal(org.kuali.rice.kim.api.identity.Person principal)
           
 void setPrincipalId(String principalId)
           
 void setTask(Long task)
           
 void setTaskObj(Task taskObj)
           
 void setTimeCollectionRule(TimeCollectionRule timeCollectionRule)
           
 void setTimestamp(Timestamp timestamp)
           
 void setTkAssignmentId(String tkAssignmentId)
           
 void setTkWorkAreaId(Long tkWorkAreaId)
           
 void setWorkArea(Long workArea)
           
 void setWorkAreaObj(WorkArea workAreaObj)
           
 
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, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Field Detail

CACHE_NAME

public static final String CACHE_NAME
See Also:
Constant Field Values
Constructor Detail

Assignment

public Assignment()

Assignment

public Assignment(String principalId,
                  Long jobNumber,
                  Date effectiveDate,
                  String earnCode,
                  Long workAreaId,
                  Long taskId)
Method Detail

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)

getTkWorkAreaId

public Long getTkWorkAreaId()

setTkWorkAreaId

public void setTkWorkAreaId(Long tkWorkAreaId)

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-2012 The Kuali Foundation. All Rights Reserved.