org.kuali.kfs.module.ld.businessobject
Class LaborObject

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.kfs.module.ld.businessobject.LaborObject
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, LaborLedgerObject, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.ExternalizableBusinessObject, org.kuali.rice.kns.bo.Inactivateable, org.kuali.rice.kns.bo.PersistableBusinessObject

public class LaborObject
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements LaborLedgerObject, org.kuali.rice.kns.bo.Inactivateable

Labor business object for LaborObject.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
LaborObject()
          Default constructor.
 
Method Summary
 Chart getChartOfAccounts()
          Gets the chartOfAccounts
 String getChartOfAccountsCode()
          Gets the chartOfAccountsCode
 ObjectCode getFinancialObject()
          Gets the financialObject
 String getFinancialObjectCode()
          Gets the financialObjectCode
 String getFinancialObjectFringeOrSalaryCode()
          Gets the financialObjectFringeOrSalaryCode
 String getFinancialObjectPayTypeCode()
          Gets the financialObjectPayTypeCode
 LaborLedgerPositionObjectGroup getLaborLedgerPositionObjectGroup()
          Gets the laborLedgerpositionObjectGroup
 String getLaborObjectCodeViewer()
          This method (a hack by any other name...) returns a string so that an Labor Object Code can have a link to view its own inquiry page after a look up
 SystemOptions getOption()
          Gets the option
 PositionObjectGroup getPositionObjectGroup()
          Gets the positionObjectGroup attribute.
 String getPositionObjectGroupCode()
          Gets the positionObjectGroupCode
 Integer getUniversityFiscalYear()
          Gets the universityFiscalYear
 boolean isActive()
          Gets the active attribute.
 boolean isDetailPositionRequiredIndicator()
          Gets the detailPositionRequiredIndicator
 boolean isFinancialObjectHoursRequiredIndicator()
          Gets the financialObjectHoursRequiredIndicator
 void setActive(boolean active)
          Sets the active attribute value.
 void setChartOfAccounts(Chart chartOfAccounts)
          Deprecated. 
 void setChartOfAccountsCode(String chartOfAccountsCode)
          Sets the chartOfAccountsCode
 void setDetailPositionRequiredIndicator(boolean detailPositionRequiredIndicator)
          Sets the detailPositionRequiredIndicator
 void setFinancialObject(ObjectCode financialObject)
          Deprecated. 
 void setFinancialObjectCode(String financialObjectCode)
          Sets the financialObjectCode
 void setFinancialObjectFringeOrSalaryCode(String financialObjectFringeOrSalaryCode)
          Sets the financialObjectFringeOrSalaryCode
 void setFinancialObjectHoursRequiredIndicator(boolean financialObjectHoursRequiredIndicator)
          Sets the financialObjectHoursRequiredIndicator
 void setFinancialObjectPayTypeCode(String financialObjectPayTypeCode)
          Sets the financialObjectPayTypeCode
 void setLaborLedgerPositionObjectGroup(LaborLedgerPositionObjectGroup laborLedgerPositionObjectGroup)
          Deprecated. 
 void setOption(SystemOptions option)
          Sets the option
 void setPositionObjectGroup(PositionObjectGroup positionObjectGroup)
          Deprecated. 
 void setPositionObjectGroupCode(String positionObjectGroupCode)
          Sets the positionObjectGroupCode
 void setUniversityFiscalYear(Integer universityFiscalYear)
          Sets the universityFiscalYear
protected  LinkedHashMap toStringMapper()
          construct the key list of the business object.
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.bo.PersistableBusinessObject
addNote, buildListOfDeletionAwareLists, deleteNote, getBoNote, getBoNotes, getExtension, getObjectId, getVersionNumber, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from interface org.apache.ojb.broker.PersistenceBrokerAware
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow, refresh
 

Constructor Detail

LaborObject

public LaborObject()
Default constructor.

Method Detail

getUniversityFiscalYear

public Integer getUniversityFiscalYear()
Gets the universityFiscalYear

Specified by:
getUniversityFiscalYear in interface LaborLedgerObject
Returns:
Returns the universityFiscalYear

setUniversityFiscalYear

public void setUniversityFiscalYear(Integer universityFiscalYear)
Sets the universityFiscalYear

Specified by:
setUniversityFiscalYear in interface LaborLedgerObject
Parameters:
universityFiscalYear - The universityFiscalYear to set.

getChartOfAccountsCode

public String getChartOfAccountsCode()
Gets the chartOfAccountsCode

Specified by:
getChartOfAccountsCode in interface LaborLedgerObject
Returns:
Returns the chartOfAccountsCode

setChartOfAccountsCode

public void setChartOfAccountsCode(String chartOfAccountsCode)
Sets the chartOfAccountsCode

Specified by:
setChartOfAccountsCode in interface LaborLedgerObject
Parameters:
chartOfAccountsCode - The chartOfAccountsCode to set.

getFinancialObjectCode

public String getFinancialObjectCode()
Gets the financialObjectCode

Specified by:
getFinancialObjectCode in interface LaborLedgerObject
Returns:
Returns the financialObjectCode

setFinancialObjectCode

public void setFinancialObjectCode(String financialObjectCode)
Sets the financialObjectCode

Specified by:
setFinancialObjectCode in interface LaborLedgerObject
Parameters:
financialObjectCode - The financialObjectCode to set.

isDetailPositionRequiredIndicator

public boolean isDetailPositionRequiredIndicator()
Gets the detailPositionRequiredIndicator

Specified by:
isDetailPositionRequiredIndicator in interface LaborLedgerObject
Returns:
Returns the detailPositionRequiredIndicator

setDetailPositionRequiredIndicator

public void setDetailPositionRequiredIndicator(boolean detailPositionRequiredIndicator)
Sets the detailPositionRequiredIndicator

Specified by:
setDetailPositionRequiredIndicator in interface LaborLedgerObject
Parameters:
detailPositionRequiredIndicator - The detailPositionRequiredIndicator to set.

isFinancialObjectHoursRequiredIndicator

public boolean isFinancialObjectHoursRequiredIndicator()
Gets the financialObjectHoursRequiredIndicator

Specified by:
isFinancialObjectHoursRequiredIndicator in interface LaborLedgerObject
Returns:
Returns the financialObjectHoursRequiredIndicator

setFinancialObjectHoursRequiredIndicator

public void setFinancialObjectHoursRequiredIndicator(boolean financialObjectHoursRequiredIndicator)
Sets the financialObjectHoursRequiredIndicator

Specified by:
setFinancialObjectHoursRequiredIndicator in interface LaborLedgerObject
Parameters:
financialObjectHoursRequiredIndicator - The financialObjectHoursRequiredIndicator to set.

getFinancialObjectPayTypeCode

public String getFinancialObjectPayTypeCode()
Gets the financialObjectPayTypeCode

Specified by:
getFinancialObjectPayTypeCode in interface LaborLedgerObject
Returns:
Returns the financialObjectPayTypeCode

setFinancialObjectPayTypeCode

public void setFinancialObjectPayTypeCode(String financialObjectPayTypeCode)
Sets the financialObjectPayTypeCode

Specified by:
setFinancialObjectPayTypeCode in interface LaborLedgerObject
Parameters:
financialObjectPayTypeCode - The financialObjectPayTypeCode to set.

getFinancialObjectFringeOrSalaryCode

public String getFinancialObjectFringeOrSalaryCode()
Gets the financialObjectFringeOrSalaryCode

Specified by:
getFinancialObjectFringeOrSalaryCode in interface LaborLedgerObject
Returns:
Returns the financialObjectFringeOrSalaryCode

setFinancialObjectFringeOrSalaryCode

public void setFinancialObjectFringeOrSalaryCode(String financialObjectFringeOrSalaryCode)
Sets the financialObjectFringeOrSalaryCode

Specified by:
setFinancialObjectFringeOrSalaryCode in interface LaborLedgerObject
Parameters:
financialObjectFringeOrSalaryCode - The financialObjectFringeOrSalaryCode to set.

getPositionObjectGroupCode

public String getPositionObjectGroupCode()
Gets the positionObjectGroupCode

Specified by:
getPositionObjectGroupCode in interface LaborLedgerObject
Returns:
Returns the positionObjectGroupCode

setPositionObjectGroupCode

public void setPositionObjectGroupCode(String positionObjectGroupCode)
Sets the positionObjectGroupCode

Specified by:
setPositionObjectGroupCode in interface LaborLedgerObject
Parameters:
positionObjectGroupCode - The positionObjectGroupCode to set.

getFinancialObject

public ObjectCode getFinancialObject()
Gets the financialObject

Specified by:
getFinancialObject in interface LaborLedgerObject
Returns:
Returns the financialObject

setFinancialObject

@Deprecated
public void setFinancialObject(ObjectCode financialObject)
Deprecated. 

Sets the financialObject

Specified by:
setFinancialObject in interface LaborLedgerObject
Parameters:
financialObject - The financialObject to set.

getChartOfAccounts

public Chart getChartOfAccounts()
Gets the chartOfAccounts

Specified by:
getChartOfAccounts in interface LaborLedgerObject
Returns:
Returns the chartOfAccounts

setChartOfAccounts

@Deprecated
public void setChartOfAccounts(Chart chartOfAccounts)
Deprecated. 

Sets the chartOfAccounts

Specified by:
setChartOfAccounts in interface LaborLedgerObject
Parameters:
chartOfAccounts - The chartOfAccounts to set.

getPositionObjectGroup

public PositionObjectGroup getPositionObjectGroup()
Gets the positionObjectGroup attribute.

Returns:
Returns the positionObjectGroup.

setPositionObjectGroup

@Deprecated
public void setPositionObjectGroup(PositionObjectGroup positionObjectGroup)
Deprecated. 

Sets the positionObjectGroup attribute value.

Parameters:
positionObjectGroup - The positionObjectGroup to set.

getLaborLedgerPositionObjectGroup

public LaborLedgerPositionObjectGroup getLaborLedgerPositionObjectGroup()
Description copied from interface: LaborLedgerObject
Gets the laborLedgerpositionObjectGroup

Specified by:
getLaborLedgerPositionObjectGroup in interface LaborLedgerObject
Returns:
Returns the laborLedgerpositionObjectGroup.
See Also:
org.kuali.kfs.bo.LaborLedgerObject#getLaborLedgerPositionObjectGroup()

setLaborLedgerPositionObjectGroup

@Deprecated
public void setLaborLedgerPositionObjectGroup(LaborLedgerPositionObjectGroup laborLedgerPositionObjectGroup)
Deprecated. 

Description copied from interface: LaborLedgerObject
Sets the laborLedgerpositionObjectGroup

Specified by:
setLaborLedgerPositionObjectGroup in interface LaborLedgerObject
See Also:
org.kuali.kfs.bo.LaborLedgerObject#setLaborLedgerPositionObjectGroup(org.kuali.kfs.bo.LaborLedgerPositionObjectGroup)

getOption

public SystemOptions getOption()
Gets the option

Specified by:
getOption in interface LaborLedgerObject
Returns:
Returns the option.

setOption

public void setOption(SystemOptions option)
Sets the option

Specified by:
setOption in interface LaborLedgerObject
Parameters:
option - The option to set.

isActive

public boolean isActive()
Gets the active attribute.

Specified by:
isActive in interface org.kuali.rice.kns.bo.Inactivateable
Returns:
Returns the active.

setActive

public void setActive(boolean active)
Sets the active attribute value.

Specified by:
setActive in interface org.kuali.rice.kns.bo.Inactivateable
Parameters:
active - The active to set.

getLaborObjectCodeViewer

public String getLaborObjectCodeViewer()
This method (a hack by any other name...) returns a string so that an Labor Object Code can have a link to view its own inquiry page after a look up

Returns:
the String "View Labor Object Code"

toStringMapper

protected LinkedHashMap toStringMapper()
construct the key list of the business object.

Specified by:
toStringMapper in class org.kuali.rice.kns.bo.BusinessObjectBase
See Also:
BusinessObjectBase.toStringMapper()


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.