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

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.ProposalOrganization
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, Primaryable, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.Inactivateable, org.kuali.rice.kns.bo.PersistableBusinessObject

public class ProposalOrganization
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements Primaryable, org.kuali.rice.kns.bo.Inactivateable

Represents a relationship between a Proposal and an .

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
ProposalOrganization()
          Default constructor.
 
Method Summary
 Chart getChartOfAccounts()
          Gets the chartOfAccounts attribute.
 String getChartOfAccountsCode()
          Gets the chartOfAccountsCode attribute.
 Organization getOrganization()
          Gets the organization attribute.
 String getOrganizationCode()
          Gets the organizationCode attribute.
 Long getProposalNumber()
          Gets the proposalNumber attribute.
 boolean isActive()
          Gets the active attribute.
 boolean isPrimary()
           
 boolean isProposalPrimaryOrganizationIndicator()
           
 void setActive(boolean active)
          Sets the active attribute value.
 void setChartOfAccounts(Chart chartOfAccounts)
          Deprecated.  
 void setChartOfAccountsCode(String chartOfAccountsCode)
          Sets the chartOfAccountsCode attribute.
 void setOrganization(Organization organization)
          Deprecated.  
 void setOrganizationCode(String organizationCode)
          Sets the organizationCode attribute.
 void setProposalNumber(Long proposalNumber)
          Sets the proposalNumber attribute.
 void setProposalPrimaryOrganizationIndicator(boolean proposalPrimaryOrganizationIndicator)
           
 String toString()
          This can be displayed by Proposal.xml lookup results.
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, 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
 

Constructor Detail

ProposalOrganization

public ProposalOrganization()
Default constructor.

Method Detail

getChartOfAccountsCode

public String getChartOfAccountsCode()
Gets the chartOfAccountsCode attribute.

Returns:
Returns the chartOfAccountsCode

setChartOfAccountsCode

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

Parameters:
chartOfAccountsCode - The chartOfAccountsCode to set.

getOrganizationCode

public String getOrganizationCode()
Gets the organizationCode attribute.

Returns:
Returns the organizationCode

setOrganizationCode

public void setOrganizationCode(String organizationCode)
Sets the organizationCode attribute.

Parameters:
organizationCode - The organizationCode to set.

getProposalNumber

public Long getProposalNumber()
Gets the proposalNumber attribute.

Returns:
Returns the proposalNumber

setProposalNumber

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

Parameters:
proposalNumber - The proposalNumber to set.

isProposalPrimaryOrganizationIndicator

public boolean isProposalPrimaryOrganizationIndicator()
Returns:
Returns the proposalPrimaryOrganizationIndicator.

isPrimary

public boolean isPrimary()
Specified by:
isPrimary in interface Primaryable
Returns:
whether this BO instance is the primary one within a collection. This is normally exclusive of any other BOs in the same collection.
See Also:
Primaryable.isPrimary()

setProposalPrimaryOrganizationIndicator

public void setProposalPrimaryOrganizationIndicator(boolean proposalPrimaryOrganizationIndicator)
Parameters:
proposalPrimaryOrganizationIndicator - The proposalPrimaryOrganizationIndicator 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 attribute.

setActive

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

Specified by:
setActive in interface org.kuali.rice.kns.bo.Inactivateable
Parameters:
active - true if the instance is active, false otherwise

getOrganization

public Organization getOrganization()
Gets the organization attribute.

Returns:
Returns the organization

setOrganization

public void setOrganization(Organization organization)
Deprecated. 

Sets the organization attribute.

Parameters:
organization - The organization to set.

getChartOfAccounts

public Chart getChartOfAccounts()
Gets the chartOfAccounts attribute.

Returns:
Returns the chartOfAccounts

setChartOfAccounts

public void setChartOfAccounts(Chart chartOfAccounts)
Deprecated. 

Sets the chartOfAccounts attribute.

Parameters:
chartOfAccounts - The chartOfAccounts to set.

toStringMapper

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

toString

public String toString()
This can be displayed by Proposal.xml lookup results.

Overrides:
toString in class org.kuali.rice.kns.bo.BusinessObjectBase
See Also:
Object.toString()


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