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

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

This class defines an agency as it is used and referenced within the Contracts and Grants portion of a college or university financial system.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
Agency()
          Default no-arg constructor.
 
Method Summary
 boolean equals(Agency agency)
          This method compares the passed in agency object against this agency object to check for equality.
 String getAgencyNumber()
          Gets the agencyNumber attribute.
 AgencyType getAgencyType()
          Gets the agencyType attribute.
 String getAgencyTypeCode()
          Gets the agencyTypeCode attribute.
 String getFullName()
          Gets the fullName attribute.
 org.kuali.rice.kns.util.KualiDecimal getIndirectAmount()
          Gets the indirectAmount attribute.
 String getReportingName()
          Gets the reportingName attribute.
 Agency getReportsToAgency()
          Gets the reportsToAgency attribute.
 String getReportsToAgencyNumber()
          Gets the reportsToAgencyNumber attribute.
 boolean isActive()
          Gets the active attribute.
 boolean isInStateIndicator()
          Gets the inStateIndicator attribute.
 void setActive(boolean active)
          Sets the active attribute value.
 void setAgencyNumber(String agencyNumber)
          Sets the agencyNumber attribute.
 void setAgencyType(AgencyType agencyType)
          Deprecated.  
 void setAgencyTypeCode(String agencyTypeCode)
          Sets the agencyTypeCode attribute value.
 void setFullName(String fullName)
          Sets the fullName attribute.
 void setIndirectAmount(org.kuali.rice.kns.util.KualiDecimal indirectAmount)
          Sets the indirectAmount attribute.
 void setInStateIndicator(boolean inStateIndicator)
          Sets the inStateIndicator attribute.
 void setReportingName(String reportingName)
          Sets the reportingName attribute.
 void setReportsToAgency(Agency reportsToAgencyNumber)
          Deprecated.  
 void setReportsToAgencyNumber(String reportsToAgencyNumber)
          Sets the reportsToAgencyNumber attribute value.
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

Agency

public Agency()
Default no-arg constructor.

Method Detail

getAgencyTypeCode

public String getAgencyTypeCode()
Gets the agencyTypeCode attribute.

Returns:
Returns the agencyTypeCode.

setAgencyTypeCode

public void setAgencyTypeCode(String agencyTypeCode)
Sets the agencyTypeCode attribute value.

Parameters:
agencyTypeCode - The agencyTypeCode to set.

getReportsToAgencyNumber

public String getReportsToAgencyNumber()
Gets the reportsToAgencyNumber attribute.

Returns:
Returns the reportsToAgencyNumber.

setReportsToAgencyNumber

public void setReportsToAgencyNumber(String reportsToAgencyNumber)
Sets the reportsToAgencyNumber attribute value.

Parameters:
reportsToAgencyNumber - The reportsToAgencyNumber to set.

getAgencyNumber

public String getAgencyNumber()
Gets the agencyNumber attribute.

Specified by:
getAgencyNumber in interface ContractsAndGrantsAgency
Returns:
Returns the agencyNumber

setAgencyNumber

public void setAgencyNumber(String agencyNumber)
Sets the agencyNumber attribute.

Parameters:
agencyNumber - The agencyNumber to set.

getReportingName

public String getReportingName()
Gets the reportingName attribute.

Returns:
Returns the reportingName

setReportingName

public void setReportingName(String reportingName)
Sets the reportingName attribute.

Parameters:
reportingName - The reportingName to set.

getFullName

public String getFullName()
Gets the fullName attribute.

Returns:
Returns the fullName

setFullName

public void setFullName(String fullName)
Sets the fullName attribute.

Parameters:
fullName - The fullName to set.

getIndirectAmount

public org.kuali.rice.kns.util.KualiDecimal getIndirectAmount()
Gets the indirectAmount attribute.

Returns:
Returns the indirectAmount

setIndirectAmount

public void setIndirectAmount(org.kuali.rice.kns.util.KualiDecimal indirectAmount)
Sets the indirectAmount attribute.

Parameters:
indirectAmount - The indirectAmount to set.

isInStateIndicator

public boolean isInStateIndicator()
Gets the inStateIndicator attribute.

Returns:
Returns the inStateIndicator

setInStateIndicator

public void setInStateIndicator(boolean inStateIndicator)
Sets the inStateIndicator attribute.

Parameters:
inStateIndicator - The inStateIndicator to set.

getReportsToAgency

public Agency getReportsToAgency()
Gets the reportsToAgency attribute.

Returns:
Returns the reportsToAgency

setReportsToAgency

public void setReportsToAgency(Agency reportsToAgencyNumber)
Deprecated. 

Sets the reportsToAgency attribute.

Parameters:
reportsToAgencyNumber - The reportsToAgency to set.

getAgencyType

public AgencyType getAgencyType()
Gets the agencyType attribute.

Returns:
Returns the agencyType

setAgencyType

public void setAgencyType(AgencyType agencyType)
Deprecated. 

Sets the agencyType attribute.

Parameters:
agencyType - The agencyType to set.

toStringMapper

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

equals

public boolean equals(Agency agency)
This method compares the passed in agency object against this agency object to check for equality. Equality is defined by if the agency passed in has the same agency number as the agency being compared to.

Parameters:
agency - The agency object to be compared.
Returns:
True if the agency passed in is determined to be equal, false otherwise.

isActive

public boolean isActive()
Gets the active attribute.

Specified by:
isActive in interface org.kuali.rice.kns.bo.Inactivateable
Returns:
Returns the active.

setActive

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

Specified by:
setActive in interface org.kuali.rice.kns.bo.Inactivateable
Parameters:
active - The active to set.


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