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

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

public class AwardSubcontractor
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements org.kuali.rice.kns.bo.Inactivateable

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
AwardSubcontractor()
          Default constructor.
 
Method Summary
 String getAwardSubcontractorAmendmentNumber()
          Gets the awardSubcontractorAmendmentNumber attribute.
 String getAwardSubcontractorDescription()
          Gets the awardSubcontractorDescription attribute.
 String getAwardSubcontractorNumber()
          Gets the awardSubcontractorNumber attribute.
 Long getProposalNumber()
          Gets the proposalNumber attribute.
 SubContractor getSubcontractor()
          Gets the subcontractor attribute.
 org.kuali.rice.kns.util.KualiDecimal getSubcontractorAmount()
          Gets the subcontractorAmount attribute.
 String getSubcontractorAuditHistoryText()
          Gets the subcontractorAuditHistoryText attribute.
 String getSubcontractorContactFirstName()
          Gets the subcontractorContactFirstName attribute.
 String getSubcontractorContactLastName()
          Gets the subcontractorContactLastName attribute.
 String getSubcontractorNumber()
          Gets the subcontractorNumber attribute.
 boolean isActive()
           
 void setActive(boolean active)
           
 void setAwardSubcontractorAmendmentNumber(String awardSubcontractorAmendmentNumber)
          Sets the awardSubcontractorAmendmentNumber attribute.
 void setAwardSubcontractorDescription(String awardSubcontractorDescription)
          Sets the awardSubcontractorDescription attribute value.
 void setAwardSubcontractorNumber(String awardSubcontractorNumber)
          Sets the awardSubcontractorNumber attribute.
 void setProposalNumber(Long proposalNumber)
          Sets the proposalNumber attribute.
 void setSubcontractor(SubContractor subcontractor)
          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 setSubcontractorAmount(org.kuali.rice.kns.util.KualiDecimal subcontractorAmount)
          Sets the subcontractorAmount attribute.
 void setSubcontractorAuditHistoryText(String subcontractorAuditHistoryText)
          Sets the subcontractorAuditHistoryText attribute.
 void setSubcontractorContactFirstName(String subcontractorContactFirstName)
          Sets the subcontractorContactFirstName attribute.
 void setSubcontractorContactLastName(String subcontractorContactLastName)
          Sets the subcontractorContactLastName attribute.
 void setSubcontractorNumber(String subcontractorNumber)
          Sets the subcontractorNumber 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

AwardSubcontractor

public AwardSubcontractor()
Default constructor.

Method Detail

getAwardSubcontractorAmendmentNumber

public String getAwardSubcontractorAmendmentNumber()
Gets the awardSubcontractorAmendmentNumber attribute.

Returns:
Returns the awardSubcontractorAmendmentNumber

setAwardSubcontractorAmendmentNumber

public void setAwardSubcontractorAmendmentNumber(String awardSubcontractorAmendmentNumber)
Sets the awardSubcontractorAmendmentNumber attribute.

Parameters:
awardSubcontractorAmendmentNumber - The awardSubcontractorAmendmentNumber to set.

getAwardSubcontractorNumber

public String getAwardSubcontractorNumber()
Gets the awardSubcontractorNumber attribute.

Returns:
Returns the awardSubcontractorNumber

setAwardSubcontractorNumber

public void setAwardSubcontractorNumber(String awardSubcontractorNumber)
Sets the awardSubcontractorNumber attribute.

Parameters:
awardSubcontractorNumber - The awardSubcontractorNumber to set.

getSubcontractorNumber

public String getSubcontractorNumber()
Gets the subcontractorNumber attribute.

Returns:
Returns the subcontractorNumber

setSubcontractorNumber

public void setSubcontractorNumber(String subcontractorNumber)
Sets the subcontractorNumber attribute.

Parameters:
subcontractorNumber - The subcontractorNumber 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.

getSubcontractorAmount

public org.kuali.rice.kns.util.KualiDecimal getSubcontractorAmount()
Gets the subcontractorAmount attribute.

Returns:
Returns the subcontractorAmount

setSubcontractorAmount

public void setSubcontractorAmount(org.kuali.rice.kns.util.KualiDecimal subcontractorAmount)
Sets the subcontractorAmount attribute.

Parameters:
subcontractorAmount - The subcontractorAmount to set.

getSubcontractorContactFirstName

public String getSubcontractorContactFirstName()
Gets the subcontractorContactFirstName attribute.

Returns:
Returns the subcontractorContactFirstName

setSubcontractorContactFirstName

public void setSubcontractorContactFirstName(String subcontractorContactFirstName)
Sets the subcontractorContactFirstName attribute.

Parameters:
subcontractorContactFirstName - The subcontractorContactFirstName to set.

getSubcontractorContactLastName

public String getSubcontractorContactLastName()
Gets the subcontractorContactLastName attribute.

Returns:
Returns the subcontractorContactLastName

setSubcontractorContactLastName

public void setSubcontractorContactLastName(String subcontractorContactLastName)
Sets the subcontractorContactLastName attribute.

Parameters:
subcontractorContactLastName - The subcontractorContactLastName to set.

getSubcontractorAuditHistoryText

public String getSubcontractorAuditHistoryText()
Gets the subcontractorAuditHistoryText attribute.

Returns:
Returns the subcontractorAuditHistoryText

setSubcontractorAuditHistoryText

public void setSubcontractorAuditHistoryText(String subcontractorAuditHistoryText)
Sets the subcontractorAuditHistoryText attribute.

Parameters:
subcontractorAuditHistoryText - The subcontractorAuditHistoryText to set.

getAwardSubcontractorDescription

public String getAwardSubcontractorDescription()
Gets the awardSubcontractorDescription attribute.

Returns:
Returns the awardSubcontractorDescription.

setAwardSubcontractorDescription

public void setAwardSubcontractorDescription(String awardSubcontractorDescription)
Sets the awardSubcontractorDescription attribute value.

Parameters:
awardSubcontractorDescription - The awardSubcontractorDescription to set.

getSubcontractor

public SubContractor getSubcontractor()
Gets the subcontractor attribute.

Returns:
Returns the subcontractor.

setSubcontractor

@Deprecated
public void setSubcontractor(SubContractor subcontractor)
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 subcontractor attribute.

Parameters:
subcontractor - The subcontractor to set.

setActive

public void setActive(boolean active)
Specified by:
setActive in interface org.kuali.rice.kns.bo.Inactivateable
See Also:
Inactivateable.setActive(boolean)

isActive

public boolean isActive()
Specified by:
isActive in interface org.kuali.rice.kns.bo.Inactivateable
See Also:
Inactivateable.isActive()

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.