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

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.AwardOrganization
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 AwardOrganization
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements Primaryable, org.kuali.rice.kns.bo.Inactivateable

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
AwardOrganization()
          Default no-args 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()
           
 boolean isAwardPrimaryOrganizationIndicator()
          Gets the awardPrimaryOrganizationIndicator attribute.
 boolean isPrimary()
           
 void setActive(boolean active)
           
 void setAwardPrimaryOrganizationIndicator(boolean awardPrimaryOrganizationIndicator)
          Sets the awardPrimaryOrganizationIndicator attribute.
 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 setOrganization(Organization organization)
          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 setOrganizationCode(String organizationCode)
          Sets the organizationCode attribute.
 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
 

Constructor Detail

AwardOrganization

public AwardOrganization()
Default no-args 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.

isAwardPrimaryOrganizationIndicator

public boolean isAwardPrimaryOrganizationIndicator()
Gets the awardPrimaryOrganizationIndicator attribute.

Returns:
Returns the awardPrimaryOrganizationIndicator

setAwardPrimaryOrganizationIndicator

public void setAwardPrimaryOrganizationIndicator(boolean awardPrimaryOrganizationIndicator)
Sets the awardPrimaryOrganizationIndicator attribute.

Parameters:
awardPrimaryOrganizationIndicator - The awardPrimaryOrganizationIndicator to set.

getChartOfAccounts

public Chart getChartOfAccounts()
Gets the chartOfAccounts attribute.

Returns:
Returns the chartOfAccounts

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.

getOrganization

public Organization getOrganization()
Gets the organization attribute.

Returns:
Returns the organization

setOrganization

@Deprecated
public void setOrganization(Organization organization)
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 organization attribute.

Parameters:
organization - The organization to set.

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

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)

toStringMapper

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


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