org.kuali.kfs.module.external.kc.businessobject
Class AwardAccount

java.lang.Object
  extended by org.kuali.kfs.module.external.kc.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()
          Default constructor.
AwardAccount(ContractsAndGrantsAwardAccount awardAccountDTO, String accountNumber, String chartOfAccountsCode, String cfdaNumber)
           
 
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()
           
 String getProjectDirectorName()
          Gets the name of the project director for the associated award.
 Long getProposalNumber()
          Gets the proposalNumber attribute.
 boolean isActive()
           
 boolean isFederalSponsor()
           
 boolean isNewCollectionRecord()
           
 void prepareForWorkflow()
           
 void refresh()
           
 void setAccount(Account account)
          Deprecated. 
 void setAccountNumber(String accountNumber)
          Sets the accountNumber attribute.
 void setActive(boolean active)
           
 void setAward(Award award)
           
 void setChartOfAccounts(Chart chartOfAccounts)
          Deprecated. 
 void setChartOfAccountsCode(String chartOfAccountsCode)
          Sets the chartOfAccountsCode attribute.
 void setFederalSponsor(boolean federalSponsor)
           
 void setNewCollectionRecord(boolean newCollectionRecord)
           
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AwardAccount

public AwardAccount()
Default constructor.


AwardAccount

public AwardAccount(ContractsAndGrantsAwardAccount awardAccountDTO,
                    String accountNumber,
                    String chartOfAccountsCode,
                    String cfdaNumber)
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.

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. 

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. 

Sets the chartOfAccounts attribute.

Parameters:
chartOfAccounts - The chartOfAccounts to set.

getProjectDirector

public org.kuali.rice.kim.bo.Person getProjectDirector()
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

Parameters:
projectDirector - The projectDirector to set.

toStringMapper

protected LinkedHashMap toStringMapper()
See Also:
BusinessObjectBase.toStringMapper()

getAward

public Award getAward()

setAward

public void setAward(Award award)

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

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

isNewCollectionRecord

public boolean isNewCollectionRecord()

setNewCollectionRecord

public void setNewCollectionRecord(boolean newCollectionRecord)

isFederalSponsor

public boolean isFederalSponsor()

setFederalSponsor

public void setFederalSponsor(boolean federalSponsor)


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