org.kuali.kfs.module.purap.businessobject
Class ContractManagerAssignmentDetail

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

public class ContractManagerAssignmentDetail
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase

Assign Contract Manager Detail Business Object. Defines attributes in Assign Contract Manager tab.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
ContractManagerAssignmentDetail()
          Default constructor.
ContractManagerAssignmentDetail(ContractManagerAssignmentDocument acmDocument, RequisitionDocument requisitionDocument)
          Constructs a ContractManagerAssignmentDetail object from an existing ContractManagerAssignmentDocument object.
 
Method Summary
 ContractManager getContractManager()
           
 ContractManagerAssignmentDocument getContractManagerAssignmentDocument()
           
 Integer getContractManagerCode()
          Returns the default contract manager code if the first line item of the requisition contains commodity codes with one contract manager whose campus code matches the delivery campus code on the requisition.
 String getCreateDate()
          Returns the formatted string of the create date.
 String getDeliveryCampusCode()
           
 String getDocumentNumber()
           
 RequisitionDocument getRequisition()
           
 Integer getRequisitionIdentifier()
           
 String getVendorName()
           
 void setContractManager(ContractManager contractManager)
          Deprecated.  
 void setContractManagerAssignmentDocument(ContractManagerAssignmentDocument contractManagerAssignmentDocument)
           
 void setContractManagerCode(Integer contractManagerCode)
           
 void setCreateDate(String createDate)
           
 void setDeliveryCampusCode(String deliveryCampusCode)
           
 void setDocumentNumber(String documentNumber)
           
 void setRequisition(RequisitionDocument requisition)
          Deprecated.  
 void setRequisitionIdentifier(Integer requisitionIdentifier)
           
 void setVendorName(String vendorName)
           
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

ContractManagerAssignmentDetail

public ContractManagerAssignmentDetail()
Default constructor.


ContractManagerAssignmentDetail

public ContractManagerAssignmentDetail(ContractManagerAssignmentDocument acmDocument,
                                       RequisitionDocument requisitionDocument)
Constructs a ContractManagerAssignmentDetail object from an existing ContractManagerAssignmentDocument object.

Parameters:
acmDocument - the ContractManagerAssignmentDocument to copy from.
requisitionDocument - reference to the related requisition document.
Method Detail

getDocumentNumber

public String getDocumentNumber()

setDocumentNumber

public void setDocumentNumber(String documentNumber)

getRequisitionIdentifier

public Integer getRequisitionIdentifier()

setRequisitionIdentifier

public void setRequisitionIdentifier(Integer requisitionIdentifier)

getContractManagerCode

public Integer getContractManagerCode()
Returns the default contract manager code if the first line item of the requisition contains commodity codes with one contract manager whose campus code matches the delivery campus code on the requisition. If there are more than one contract managers of the same campus code as the delivery code, we'll return null. If the first line item of the requisition does not contain commodity code, or contain commodity code that does not have contract manager, we'll also return null

Returns:
Integer the default contract manager code if applicable, or null.

setContractManagerCode

public void setContractManagerCode(Integer contractManagerCode)

getContractManager

public ContractManager getContractManager()

setContractManager

public void setContractManager(ContractManager contractManager)
Deprecated. 


getRequisition

public RequisitionDocument getRequisition()

setRequisition

public void setRequisition(RequisitionDocument requisition)
Deprecated. 


getContractManagerAssignmentDocument

public ContractManagerAssignmentDocument getContractManagerAssignmentDocument()

setContractManagerAssignmentDocument

public void setContractManagerAssignmentDocument(ContractManagerAssignmentDocument contractManagerAssignmentDocument)

getCreateDate

public String getCreateDate()
                     throws org.kuali.rice.kew.exception.WorkflowException
Returns the formatted string of the create date. If the createDate is currently null, we'll get the createDate from the workflowDocument.

Returns:
Throws:
org.kuali.rice.kew.exception.WorkflowException

setCreateDate

public void setCreateDate(String createDate)

getDeliveryCampusCode

public String getDeliveryCampusCode()

setDeliveryCampusCode

public void setDeliveryCampusCode(String deliveryCampusCode)

getVendorName

public String getVendorName()

setVendorName

public void setVendorName(String vendorName)

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.