org.kuali.kpme.tklm.time.rules.timecollection
Class TimeCollectionRule

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.tklm.time.rules.timecollection.TimeCollectionRule
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, HrBusinessObjectContract, TimeCollectionRuleContract, 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 TimeCollectionRule
extends HrBusinessObject
implements TimeCollectionRuleContract

See Also:
Serialized Form

Field Summary
static com.google.common.collect.ImmutableList<String> CACHE_FLUSH
           
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
TimeCollectionRule()
           
 
Method Summary
 Department getDepartmentObj()
          The Department object associated with the TimeCollectionRule
 String getDept()
          The department name associated with the TimeCollectionRule
 Boolean getHistory()
          The history flag of the TimeCollectionRule
 String getHrDeptId()
          The id of the Department object associated with the TimeCollectionRule
 String getHrPayTypeId()
          The id of the PayType object associated with the TimeCollectionRule
 String getId()
          The unique id defined by the object, could be a combination of multiple fields
 String getPayType()
          The pay type associated with the TimeCollectionRule
 PayType getPayTypeObj()
          The PayType object associated with the TimeCollectionRule
 String getTkTimeCollectionRuleId()
          The primary key of a TimeCollectionRule entry saved in a database
 String getTkWorkAreaId()
          The id of the WorkArea object associated with the TimeCollectionRule
 String getUniqueKey()
           
 String getUserPrincipalId()
          The principal Id of user who created the TimeCollectionRule
 Long getWorkArea()
          The work area number associated with the TimeCollectionRule
 WorkArea getWorkAreaObj()
          The WorkArea object associated with the TimeCollectionRule
 boolean isClockUserFl()
          The flag to indicate if clock entry will be required for recording time based on the department and work area
 void setClockUserFl(boolean clockUserFl)
           
 void setDepartmentObj(Department departmentObj)
           
 void setDept(String dept)
           
 void setHistory(Boolean history)
           
 void setHrDeptId(String hrDeptId)
           
 void setHrPayTypeId(String hrPayTypeId)
           
 void setId(String id)
           
 void setPayType(String payType)
           
 void setPayTypeObj(PayType payTypeObj)
           
 void setTkTimeCollectionRuleId(String tkTimeCollectionRuleId)
           
 void setTkWorkAreaId(String tkWorkAreaId)
           
 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

CACHE_FLUSH

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

TimeCollectionRule

public TimeCollectionRule()
Method Detail

getDepartmentObj

public Department getDepartmentObj()
Description copied from interface: TimeCollectionRuleContract
The Department object associated with the TimeCollectionRule

departmentObj of a TimeCollectionRule

Specified by:
getDepartmentObj in interface TimeCollectionRuleContract
Returns:
departmentObj for TimeCollectionRule

getPayType

public String getPayType()
Description copied from interface: TimeCollectionRuleContract
The pay type associated with the TimeCollectionRule

payType of a TimeCollectionRule

Specified by:
getPayType in interface TimeCollectionRuleContract
Returns:
payType for TimeCollectionRule

setPayType

public void setPayType(String payType)

getHrPayTypeId

public String getHrPayTypeId()
Description copied from interface: TimeCollectionRuleContract
The id of the PayType object associated with the TimeCollectionRule

hrPayTypeId of a TimeCollectionRule

Specified by:
getHrPayTypeId in interface TimeCollectionRuleContract
Returns:
hrPayTypeId for TimeCollectionRule

setHrPayTypeId

public void setHrPayTypeId(String hrPayTypeId)

getPayTypeObj

public PayType getPayTypeObj()
Description copied from interface: TimeCollectionRuleContract
The PayType object associated with the TimeCollectionRule

payTypeObj of a TimeCollectionRule

Specified by:
getPayTypeObj in interface TimeCollectionRuleContract
Returns:
payTypeObj for TimeCollectionRule

setPayTypeObj

public void setPayTypeObj(PayType payTypeObj)

setDepartmentObj

public void setDepartmentObj(Department departmentObj)

getWorkAreaObj

public WorkArea getWorkAreaObj()
Description copied from interface: TimeCollectionRuleContract
The WorkArea object associated with the TimeCollectionRule

workAreaObj of a TimeCollectionRule

Specified by:
getWorkAreaObj in interface TimeCollectionRuleContract
Returns:
workAreaObj for TimeCollectionRule

setWorkAreaObj

public void setWorkAreaObj(WorkArea workAreaObj)

getWorkArea

public Long getWorkArea()
Description copied from interface: TimeCollectionRuleContract
The work area number associated with the TimeCollectionRule

workArea of a TimeCollectionRule

Specified by:
getWorkArea in interface TimeCollectionRuleContract
Returns:
workArea for TimeCollectionRule

setWorkArea

public void setWorkArea(Long workArea)

isClockUserFl

public boolean isClockUserFl()
Description copied from interface: TimeCollectionRuleContract
The flag to indicate if clock entry will be required for recording time based on the department and work area

clockUserFl flag of a TimeCollectionRule

Specified by:
isClockUserFl in interface TimeCollectionRuleContract
Returns:
Y if required, N if not

setClockUserFl

public void setClockUserFl(boolean clockUserFl)

getUserPrincipalId

public String getUserPrincipalId()
Description copied from interface: TimeCollectionRuleContract
The principal Id of user who created the TimeCollectionRule

This field is auto populated.

Specified by:
getUserPrincipalId in interface TimeCollectionRuleContract
Returns:
userPrincipalId for TimeCollectionRule

setUserPrincipalId

public void setUserPrincipalId(String userPrincipalId)

getTkTimeCollectionRuleId

public String getTkTimeCollectionRuleId()
Description copied from interface: TimeCollectionRuleContract
The primary key of a TimeCollectionRule entry saved in a database

tkTimeCollectionRuleId of a TimeCollectionRule

Specified by:
getTkTimeCollectionRuleId in interface TimeCollectionRuleContract
Returns:
tkTimeCollectionRuleId for TimeCollectionRule

setTkTimeCollectionRuleId

public void setTkTimeCollectionRuleId(String tkTimeCollectionRuleId)

getDept

public String getDept()
Description copied from interface: TimeCollectionRuleContract
The department name associated with the TimeCollectionRule

dept of a TimeCollectionRule

Specified by:
getDept in interface TimeCollectionRuleContract
Returns:
dept for TimeCollectionRule

setDept

public void setDept(String dept)

getTkWorkAreaId

public String getTkWorkAreaId()
Description copied from interface: TimeCollectionRuleContract
The id of the WorkArea object associated with the TimeCollectionRule

tkWorkAreaId of a TimeCollectionRule

Specified by:
getTkWorkAreaId in interface TimeCollectionRuleContract
Returns:
tkWorkAreaId for TimeCollectionRule

setTkWorkAreaId

public void setTkWorkAreaId(String tkWorkAreaId)

getHrDeptId

public String getHrDeptId()
Description copied from interface: TimeCollectionRuleContract
The id of the Department object associated with the TimeCollectionRule

hrDeptId of a TimeCollectionRule

Specified by:
getHrDeptId in interface TimeCollectionRuleContract
Returns:
hrDeptId for TimeCollectionRule

setHrDeptId

public void setHrDeptId(String hrDeptId)

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

getHistory

public Boolean getHistory()
Description copied from interface: TimeCollectionRuleContract
The history flag of the TimeCollectionRule

history flag of a TimeCollectionRule

Specified by:
getHistory in interface TimeCollectionRuleContract
Returns:
Y if on, N if not

setHistory

public void setHistory(Boolean history)


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