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

java.lang.Object
  extended by org.kuali.kfs.integration.cg.businessobject.AwardAccount
All Implemented Interfaces:
Serializable, ContractsAndGrantsAccountAwardInformation, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.ExternalizableBusinessObject, org.kuali.rice.kns.bo.Inactivateable

public class AwardAccount
extends Object
implements 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

Constructor Summary
AwardAccount()
           
 
Method Summary
 Account getAccount()
          Gets the account attribute.
 String getAccountNumber()
          Gets the accountNumber attribute.
 Chart getChartOfAccounts()
          Gets the chartOfAccounts attribute.
 String getChartOfAccountsCode()
          Gets the chartOfAccountsCode attribute.
 String getPrincipalId()
          Gets the principalId attribute.
 String getProjectDirectorName()
          Gets the name of the project director for the associated award.
 Long getProposalNumber()
          Gets the proposalNumber attribute.
 boolean isActive()
           
 void prepareForWorkflow()
           
 void refresh()
           
 void setAccountNumber(String accountNumber)
          Sets the accountNumber attribute.
 void setActive(boolean active)
           
 void setChartOfAccountsCode(String chartOfAccountsCode)
          Sets the chartOfAccountsCode attribute.
 void setPrincipalId(String principalId)
          Sets the principalId attribute.
 void setProposalNumber(Long proposalNumber)
          Sets the proposalNumber attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AwardAccount

public AwardAccount()
Method Detail

getProposalNumber

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

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

setProposalNumber

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

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: ContractsAndGrantsAccountAwardInformation
Gets the principalId attribute.

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

setPrincipalId

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

Parameters:
principalId - The principalId to set.

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()

getAccount

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

Specified by:
getAccount in interface ContractsAndGrantsAccountAwardInformation
Returns:
Returns the account

getChartOfAccounts

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

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

prepareForWorkflow

public void prepareForWorkflow()
Specified by:
prepareForWorkflow in interface org.kuali.rice.kns.bo.BusinessObject

refresh

public void refresh()
Specified by:
refresh in interface org.kuali.rice.kns.bo.BusinessObject


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