org.kuali.kpme.core.task
Class Task

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.core.task.Task
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, HrBusinessObjectContract, TaskContract, 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 Task
extends HrBusinessObject
implements TaskContract

See Also:
Serialized Form

Field Summary
static String CACHE_NAME
           
static com.google.common.collect.ImmutableList<String> EQUAL_TO_FIELDS
           
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
Task()
           
 
Method Summary
 String getAdministrativeDescription()
          Additional description field.
 String getDescription()
          Text field used to identify the task.
 String getId()
          The unique id defined by the object, could be a combination of multiple fields
 Long getTask()
          Numeric value for the task
 String getTkTaskId()
          The Primary Key of a Task entry saved in a database
 String getUniqueKey()
           
 String getUserPrincipalId()
          TODO: is this field needed???
 Long getWorkArea()
          WorkArea string of the WorkArea object associated with a Task
 WorkArea getWorkAreaObj()
          WorkArea object associated with a Task
 void setAdministrativeDescription(String administrativeDescription)
           
 void setDescription(String description)
           
 void setId(String id)
           
 void setTask(Long task)
           
 void setTkTaskId(String tkTaskId)
           
 void setUserPrincipalId(String userPrincipalId)
           
 void setWorkArea(Long workArea)
           
 void setWorkAreaObj(WorkArea workAreaObj)
           
 
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

CACHE_NAME

public static final String CACHE_NAME
See Also:
Constant Field Values

EQUAL_TO_FIELDS

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

Task

public Task()
Method Detail

getTkTaskId

public String getTkTaskId()
Description copied from interface: TaskContract
The Primary Key of a Task entry saved in a database

tkTaskId of Task

Specified by:
getTkTaskId in interface TaskContract
Returns:
tkTaskId for Task

setTkTaskId

public void setTkTaskId(String tkTaskId)

getTask

public Long getTask()
Description copied from interface: TaskContract
Numeric value for the task

task of Task

Specified by:
getTask in interface TaskContract
Returns:
task for Task

setTask

public void setTask(Long task)

getWorkArea

public Long getWorkArea()
Description copied from interface: TaskContract
WorkArea string of the WorkArea object associated with a Task

workArea of Task

Specified by:
getWorkArea in interface TaskContract
Returns:
workArea for Task

setWorkArea

public void setWorkArea(Long workArea)

getDescription

public String getDescription()
Description copied from interface: TaskContract
Text field used to identify the task. This description is presented to the employee when selecting the assignment to clock in or manually record their time

description of Task

Specified by:
getDescription in interface TaskContract
Returns:
description for Task

setDescription

public void setDescription(String description)

getAdministrativeDescription

public String getAdministrativeDescription()
Description copied from interface: TaskContract
Additional description field. This could be longer since it is not going to be displayed on the timesheet assignment drop down.

administrativeDescription of Task

Specified by:
getAdministrativeDescription in interface TaskContract
Returns:
administrativeDescription for Task

setAdministrativeDescription

public void setAdministrativeDescription(String administrativeDescription)

getUserPrincipalId

public String getUserPrincipalId()
Description copied from interface: TaskContract
TODO: is this field needed???

Specified by:
getUserPrincipalId in interface TaskContract
Returns:
userPricipalId for Task

setUserPrincipalId

public void setUserPrincipalId(String userPrincipalId)

getWorkAreaObj

public WorkArea getWorkAreaObj()
Description copied from interface: TaskContract
WorkArea object associated with a Task

workAreaObj of Task

Specified by:
getWorkAreaObj in interface TaskContract
Returns:
workAreaObj for Task

setWorkAreaObj

public void setWorkAreaObj(WorkArea workAreaObj)

getUniqueKey

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

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


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