org.kuali.kfs.module.cg.businessobject
Class AwardAccount

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.cg.businessobject.AwardAccount
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, ContractsAndGrantsAccountAwardInformation, CGProjectDirector, 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 AwardAccount
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements CGProjectDirector, org.kuali.rice.kns.bo.Inactivateable, ContractsAndGrantsAccountAwardInformation

This class represents an association between an award and an account. It's like a reference to the account from the award. This way an award can maintain a collection of these references instead of owning accounts directly.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
AwardAccount()
          Default constructor.
 
Method Summary
 Account getAccount()
          Gets the account attribute.
 String getAccountNumber()
          Gets the accountNumber attribute.
 Award getAward()
           
 Chart getChartOfAccounts()
          Gets the chartOfAccounts attribute.
 String getChartOfAccountsCode()
          Gets the chartOfAccountsCode attribute.
 String getPrincipalId()
          Gets the principalId attribute.
 org.kuali.rice.kim.bo.Person getProjectDirector()
          Gets the project director attribute.
 String getProjectDirectorName()
          Gets the name of the project director for the associated award.
 Long getProposalNumber()
          Gets the proposalNumber attribute.
 boolean isActive()
           
 void setAccount(Account account)
          Deprecated. Setter is required by OJB, but should not be used to modify this attribute. This attribute is set on the initial creation of the object and should not be changed.
 void setAccountNumber(String accountNumber)
          Sets the accountNumber attribute.
 void setActive(boolean active)
           
 void setAward(Award award)
          This method sets the associated award to the value provided.
 void setChartOfAccounts(Chart chartOfAccounts)
          Deprecated. Setter is required by OJB, but should not be used to modify this attribute. This attribute is set on the initial creation of the object and should not be changed.
 void setChartOfAccountsCode(String chartOfAccountsCode)
          Sets the chartOfAccountsCode attribute.
 void setPrincipalId(String principalId)
          Sets the principalId attribute.
 void setProjectDirector(org.kuali.rice.kim.bo.Person projectDirector)
          Deprecated. Setter is required by OJB, but should not be used to modify this attribute. This attribute is set on the initial creation of the object and should not be changed.
 void setProposalNumber(Long proposalNumber)
          Sets the proposalNumber attribute.
protected  LinkedHashMap toStringMapper()
           
 
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.BusinessObject
prepareForWorkflow, refresh
 

Constructor Detail

AwardAccount

public AwardAccount()
Default constructor.

Method Detail

getProposalNumber

public Long getProposalNumber()
Description copied from interface: CGProjectDirector
Gets the proposalNumber attribute.

Specified by:
getProposalNumber in interface ContractsAndGrantsAccountAwardInformation
Specified by:
getProposalNumber in interface CGProjectDirector
Returns:
Returns the proposalNumber
See Also:
org.kuali.kfs.integration.businessobject.cg.ContractsAndGrantsAccountAwardInformation#getProposalNumber()

setProposalNumber

public void setProposalNumber(Long proposalNumber)
Sets the proposalNumber attribute.

Specified by:
setProposalNumber in interface CGProjectDirector
Parameters:
proposalNumber - The proposalNumber to set.

getChartOfAccountsCode

public String getChartOfAccountsCode()
Description copied from interface: ContractsAndGrantsAccountAwardInformation
Gets the chartOfAccountsCode attribute.

Specified by:
getChartOfAccountsCode in interface ContractsAndGrantsAccountAwardInformation
Returns:
Returns the chartOfAccountsCode
See Also:
org.kuali.kfs.integration.businessobject.cg.ContractsAndGrantsAccountAwardInformation#getChartOfAccountsCode()

setChartOfAccountsCode

public void setChartOfAccountsCode(String chartOfAccountsCode)
Sets the chartOfAccountsCode attribute.

Parameters:
chartOfAccountsCode - The chartOfAccountsCode to set.

getAccountNumber

public String getAccountNumber()
Description copied from interface: ContractsAndGrantsAccountAwardInformation
Gets the accountNumber attribute.

Specified by:
getAccountNumber in interface ContractsAndGrantsAccountAwardInformation
Returns:
Returns the accountNumber
See Also:
org.kuali.kfs.integration.businessobject.cg.ContractsAndGrantsAccountAwardInformation#getAccountNumber()

setAccountNumber

public void setAccountNumber(String accountNumber)
Sets the accountNumber attribute.

Parameters:
accountNumber - The accountNumber to set.

getPrincipalId

public String getPrincipalId()
Description copied from interface: CGProjectDirector
Gets the principalId attribute.

Specified by:
getPrincipalId in interface ContractsAndGrantsAccountAwardInformation
Specified by:
getPrincipalId in interface CGProjectDirector
Returns:
Returns the principalId
See Also:
org.kuali.kfs.integration.businessobject.cg.ContractsAndGrantsAccountAwardInformation#getPrincipalId()

setPrincipalId

public void setPrincipalId(String principalId)
Sets the principalId attribute.

Specified by:
setPrincipalId in interface CGProjectDirector
Parameters:
principalId - The principalId to set.

getAccount

public Account getAccount()
Description copied from interface: ContractsAndGrantsAccountAwardInformation
Gets the account attribute.

Specified by:
getAccount in interface ContractsAndGrantsAccountAwardInformation
Returns:
Returns the account
See Also:
org.kuali.kfs.integration.businessobject.cg.ContractsAndGrantsAccountAwardInformation#getAccount()

setAccount

@Deprecated
public void setAccount(Account account)
Deprecated. Setter is required by OJB, but should not be used to modify this attribute. This attribute is set on the initial creation of the object and should not be changed.

Sets the account attribute.

Parameters:
account - The account to set.

getChartOfAccounts

public Chart getChartOfAccounts()
Description copied from interface: ContractsAndGrantsAccountAwardInformation
Gets the chartOfAccounts attribute.

Specified by:
getChartOfAccounts in interface ContractsAndGrantsAccountAwardInformation
Returns:
Returns the chartOfAccounts
See Also:
org.kuali.kfs.integration.businessobject.cg.ContractsAndGrantsAccountAwardInformation#getChartOfAccounts()

setChartOfAccounts

@Deprecated
public void setChartOfAccounts(Chart chartOfAccounts)
Deprecated. Setter is required by OJB, but should not be used to modify this attribute. This attribute is set on the initial creation of the object and should not be changed.

Sets the chartOfAccounts attribute.

Parameters:
chartOfAccounts - The chartOfAccounts to set.

getProjectDirector

public org.kuali.rice.kim.bo.Person getProjectDirector()
Description copied from interface: CGProjectDirector
Gets the project director attribute.

Specified by:
getProjectDirector in interface CGProjectDirector
Returns:
the projectDirector.
See Also:
org.kuali.kfs.integration.businessobject.cg.ContractsAndGrantsAccountAwardInformation#getProjectDirector()

setProjectDirector

@Deprecated
public void setProjectDirector(org.kuali.rice.kim.bo.Person projectDirector)
Deprecated. Setter is required by OJB, but should not be used to modify this attribute. This attribute is set on the initial creation of the object and should not be changed.

Sets the project director attribute

Specified by:
setProjectDirector in interface CGProjectDirector
Parameters:
projectDirector - The projectDirector to set.

toStringMapper

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

getAward

public Award getAward()
See Also:
org.kuali.kfs.integration.businessobject.cg.ContractsAndGrantsAccountAwardInformation#getAward()

setAward

public void setAward(Award award)
This method sets the associated award to the value provided.

Parameters:
award - Value to be assigned to the associated Award object.

isActive

public boolean isActive()
Specified by:
isActive in interface org.kuali.rice.kns.bo.Inactivateable
See Also:
Inactivateable.isActive()

setActive

public void setActive(boolean active)
Specified by:
setActive in interface org.kuali.rice.kns.bo.Inactivateable
See Also:
Inactivateable.setActive(boolean)

getProjectDirectorName

public String getProjectDirectorName()
Description copied from interface: ContractsAndGrantsAccountAwardInformation
Gets the name of the project director for the associated award.

Specified by:
getProjectDirectorName in interface ContractsAndGrantsAccountAwardInformation
Returns:
the name of the project director
See Also:
ContractsAndGrantsAccountAwardInformation.getProjectDirectorName()


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