org.kuali.kpme.core.assignment.account
Class AssignmentAccount

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.assignment.account.AssignmentAccount
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, AssignmentAccountContract, HrBusinessObjectContract, 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 AssignmentAccount
extends HrBusinessObject
implements AssignmentAccountContract

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
AssignmentAccount()
           
 
Method Summary
 String getAccountNbr()
          Account component of the chart of accounts to be charged when time recorded against this work area and task.
 Account getAccountObj()
          Account component of the chart of accounts to be charged when time recorded against this work area and task.
 Assignment getAssignmentObj()
          Assignment object this AssignmentAccoutn is associated with
 String getEarnCode()
          The earn code for which earnings will be charged to the account identified.
 EarnCode getEarnCodeObj()
          The earn code for which earnings will be charged to the account identified.
 String getFinCoaCd()
          Chart component of the chart of accounts (COA) to be charged when time recorded against this work area and task.
 String getFinObjectCd()
          Object code component of the chart of accounts to be charged when time recorded against this work area and task.
 String getFinSubObjCd()
          Optional - sub-object component of the chart of accounts to be charged when time recorded against this work area and task.
 String getId()
          The unique id defined by the object, could be a combination of multiple fields
 ObjectCode getObjectCodeObj()
          Object code component of the chart of accounts to be charged when time recorded against this work area and task.
 String getOrgRefId()
          Optional funding attribute, free form entry field
 BigDecimal getPercent()
          Percent of earnings recorded against assignment to be paid by the defined account.
 String getProjectCd()
          Optional project code component of the chart of accounts to be charged when time recorded against this work area and task, must be established on the project table.
 ProjectCode getProjectCodeObj()
          Optional project code component of the chart of accounts to be charged when time recorded against this work area and task, must be established on the project table.
 SubAccount getSubAccountObj()
          Optional - sub-account component of the chart of accounts to be charged when time recorded against this work area and task.
 String getSubAcctNbr()
          Optional - sub-account component of the chart of accounts to be charged when time recorded against this work area and task.
 SubObjectCode getSubObjectCodeObj()
          Optional - sub-object component of the chart of accounts to be charged when time recorded against this work area and task.
 String getTkAssignAcctId()
          The Primary Key of an AssignmentAccount entry saved in a database
 String getTkAssignmentId()
          Id of the Assignment object associated with this AssignmentAccount
 String getUniqueKey()
           
 void setAccountNbr(String accountNbr)
           
 void setAccountObj(Account accountObj)
           
 void setAssignmentObj(Assignment assignmentObj)
           
 void setEarnCode(String earnCode)
           
 void setEarnCodeObj(EarnCode earnCodeObj)
           
 void setFinCoaCd(String finCoaCd)
           
 void setFinObjectCd(String finObjectCd)
           
 void setFinSubObjCd(String finSubObjCd)
           
 void setId(String id)
           
 void setObjectCodeObj(ObjectCode objectCodeObj)
           
 void setOrgRefId(String orgRefId)
           
 void setPercent(BigDecimal percent)
           
 void setProjectCd(String projectCd)
           
 void setProjectCodeObj(ProjectCode projectCodeObj)
           
 void setSubAccountObj(SubAccount subAccountObj)
           
 void setSubAcctNbr(String subAcctNbr)
           
 void setSubObjectCodeObj(SubObjectCode subObjectCodeObj)
           
 void setTkAssignAcctId(String tkAssignAcctId)
           
 void setTkAssignmentId(String tkAssignmentId)
           
 
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
 

Constructor Detail

AssignmentAccount

public AssignmentAccount()
Method Detail

getAssignmentObj

public Assignment getAssignmentObj()
Description copied from interface: AssignmentAccountContract
Assignment object this AssignmentAccoutn is associated with

assignmentObj of AssignmentAccount

Specified by:
getAssignmentObj in interface AssignmentAccountContract
Returns:
assignmentObj for AssignmentAccount

setAssignmentObj

public void setAssignmentObj(Assignment assignmentObj)

getFinCoaCd

public String getFinCoaCd()
Description copied from interface: AssignmentAccountContract
Chart component of the chart of accounts (COA) to be charged when time recorded against this work area and task.

finCoaCd of AssignmentAccount

Specified by:
getFinCoaCd in interface AssignmentAccountContract
Returns:
finCoaCd for AssignmentAccount

setFinCoaCd

public void setFinCoaCd(String finCoaCd)

getAccountNbr

public String getAccountNbr()
Description copied from interface: AssignmentAccountContract
Account component of the chart of accounts to be charged when time recorded against this work area and task. An account for any department can be entered and is not limited to only accounts associated with the job department.

accountNbr of AssignmentAccount

Specified by:
getAccountNbr in interface AssignmentAccountContract
Returns:
accountNbr for AssignmentAccount

setAccountNbr

public void setAccountNbr(String accountNbr)

getSubAcctNbr

public String getSubAcctNbr()
Description copied from interface: AssignmentAccountContract
Optional - sub-account component of the chart of accounts to be charged when time recorded against this work area and task. Sub-account value must be defined for the account selected to be available for entry.

subAccountNbr of AssignmentAccount

Specified by:
getSubAcctNbr in interface AssignmentAccountContract
Returns:
subAccountNbr for AssignmentAccount

setSubAcctNbr

public void setSubAcctNbr(String subAcctNbr)

getFinObjectCd

public String getFinObjectCd()
Description copied from interface: AssignmentAccountContract
Object code component of the chart of accounts to be charged when time recorded against this work area and task.

finObjectCd of AssignmentAccount

Specified by:
getFinObjectCd in interface AssignmentAccountContract
Returns:
finObjectCd for AssignmentAccount

setFinObjectCd

public void setFinObjectCd(String finObjectCd)

getFinSubObjCd

public String getFinSubObjCd()
Description copied from interface: AssignmentAccountContract
Optional - sub-object component of the chart of accounts to be charged when time recorded against this work area and task. Sub-object must be associated with the object code.

finSubObjCd of AssignmentAccount

Specified by:
getFinSubObjCd in interface AssignmentAccountContract
Returns:
finSubObjCd for AssignmentAccount

setFinSubObjCd

public void setFinSubObjCd(String finSubObjCd)

getProjectCd

public String getProjectCd()
Description copied from interface: AssignmentAccountContract
Optional project code component of the chart of accounts to be charged when time recorded against this work area and task, must be established on the project table.

projectCd of AssignmentAccount

Specified by:
getProjectCd in interface AssignmentAccountContract
Returns:
projectCd for AssignmentAccount

setProjectCd

public void setProjectCd(String projectCd)

getOrgRefId

public String getOrgRefId()
Description copied from interface: AssignmentAccountContract
Optional funding attribute, free form entry field

orgRefId of AssignmentAccount

Specified by:
getOrgRefId in interface AssignmentAccountContract
Returns:
orgRefId for AssignmentAccount

setOrgRefId

public void setOrgRefId(String orgRefId)

getPercent

public BigDecimal getPercent()
Description copied from interface: AssignmentAccountContract
Percent of earnings recorded against assignment to be paid by the defined account. Total of accounts for an earn code must be 100%

percent of AssignmentAccount

Specified by:
getPercent in interface AssignmentAccountContract
Returns:
percent for AssignmentAccount

setPercent

public void setPercent(BigDecimal percent)

getTkAssignAcctId

public String getTkAssignAcctId()
Description copied from interface: AssignmentAccountContract
The Primary Key of an AssignmentAccount entry saved in a database

tkAssignAcctId of AssignmentAccount

Specified by:
getTkAssignAcctId in interface AssignmentAccountContract
Returns:
tkAssignAcctId of AssignmentAccount

setTkAssignAcctId

public void setTkAssignAcctId(String tkAssignAcctId)

getTkAssignmentId

public String getTkAssignmentId()
Description copied from interface: AssignmentAccountContract
Id of the Assignment object associated with this AssignmentAccount

tkAssignmentId of AssignmentAccount

Specified by:
getTkAssignmentId in interface AssignmentAccountContract
Returns:
tkAssignmentId of AssignmentAccount

setTkAssignmentId

public void setTkAssignmentId(String tkAssignmentId)

getEarnCode

public String getEarnCode()
Description copied from interface: AssignmentAccountContract
The earn code for which earnings will be charged to the account identified. Funding must be defined for the job’s regular pay earn code. If an earn code’s funding is different from the regular earn code, define it here. Anything not defined will follow the regular earn code’s funding.

earnCode of AssignmentAccount

Specified by:
getEarnCode in interface AssignmentAccountContract
Returns:
earnCode of AssignmentAccount

setEarnCode

public void setEarnCode(String earnCode)

getAccountObj

public Account getAccountObj()
Description copied from interface: AssignmentAccountContract
Account component of the chart of accounts to be charged when time recorded against this work area and task. An account for any department can be entered and is not limited to only accounts associated with the job department.

accountObj of AssignmentAccount

Specified by:
getAccountObj in interface AssignmentAccountContract
Returns:
accountObj for AssignmentAccount

setAccountObj

public void setAccountObj(Account accountObj)

getSubAccountObj

public SubAccount getSubAccountObj()
Description copied from interface: AssignmentAccountContract
Optional - sub-account component of the chart of accounts to be charged when time recorded against this work area and task. Sub-account value must be defined for the account selected to be available for entry.

subAccountObj of AssignmentAccount

Specified by:
getSubAccountObj in interface AssignmentAccountContract
Returns:
subAccountObj for AssignmentAccount

setSubAccountObj

public void setSubAccountObj(SubAccount subAccountObj)

getObjectCodeObj

public ObjectCode getObjectCodeObj()
Description copied from interface: AssignmentAccountContract
Object code component of the chart of accounts to be charged when time recorded against this work area and task.

objectCodeObj of AssignmentAccount

Specified by:
getObjectCodeObj in interface AssignmentAccountContract
Returns:
objectCodeObj for AssignmentAccount

setObjectCodeObj

public void setObjectCodeObj(ObjectCode objectCodeObj)

getSubObjectCodeObj

public SubObjectCode getSubObjectCodeObj()
Description copied from interface: AssignmentAccountContract
Optional - sub-object component of the chart of accounts to be charged when time recorded against this work area and task. Sub-object must be associated with the object code.

subObjectCodeObj of AssignmentAccount

Specified by:
getSubObjectCodeObj in interface AssignmentAccountContract
Returns:
subObjectCodeObj for AssignmentAccount

setSubObjectCodeObj

public void setSubObjectCodeObj(SubObjectCode subObjectCodeObj)

getProjectCodeObj

public ProjectCode getProjectCodeObj()
Description copied from interface: AssignmentAccountContract
Optional project code component of the chart of accounts to be charged when time recorded against this work area and task, must be established on the project table.

projectCodeObj of AssignmentAccount

Specified by:
getProjectCodeObj in interface AssignmentAccountContract
Returns:
projectCodeObj for AssignmentAccount

setProjectCodeObj

public void setProjectCodeObj(ProjectCode projectCodeObj)

getEarnCodeObj

public EarnCode getEarnCodeObj()
Description copied from interface: AssignmentAccountContract
The earn code for which earnings will be charged to the account identified. Funding must be defined for the job’s regular pay earn code. If an earn code’s funding is different from the regular earn code, define it here. Anything not defined will follow the regular earn code’s funding.

earnCodeObj of AssignmentAccount

Specified by:
getEarnCodeObj in interface AssignmentAccountContract
Returns:
earnCodeObj of AssignmentAccount

setEarnCodeObj

public void setEarnCodeObj(EarnCode earnCodeObj)

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