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

java.lang.Object
  extended by org.kuali.kfs.module.external.kc.businessobject.Agency
All Implemented Interfaces:
Serializable, ContractsAndGrantsAgency, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.ExternalizableBusinessObject

public class Agency
extends Object
implements ContractsAndGrantsAgency

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

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.
 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 prepareForWorkflow()
           
 void refresh()
           
 void setActive(boolean active)
          Sets the active attribute value.
 void setAgencyNumber(String agencyNumber)
          Sets the agencyNumber attribute.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

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.

Returns:
Returns the active.

setActive

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

Parameters:
active - The active to set.

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.