org.kuali.kfs.vnd.businessobject
Class VendorContract

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.kfs.vnd.businessobject.VendorContract
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, VendorRoutingComparable, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.Inactivateable, org.kuali.rice.kns.bo.PersistableBusinessObject

public class VendorContract
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements VendorRoutingComparable, org.kuali.rice.kns.bo.Inactivateable

Purchasing Contracts with specific Vendors.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
VendorContract()
          Default constructor.
 
Method Summary
 ContractManager getContractManager()
           
 Integer getContractManagerCode()
           
 org.kuali.rice.kns.util.KualiDecimal getOrganizationAutomaticPurchaseOrderLimit()
           
 PurchaseOrderCostSource getPurchaseOrderCostSource()
           
 String getPurchaseOrderCostSourceCode()
           
 Boolean getVendorB2bIndicator()
           
 CampusParameter getVendorCampus()
           
 String getVendorCampusCode()
           
 Date getVendorContractBeginningDate()
           
 String getVendorContractDescription()
           
 Date getVendorContractEndDate()
           
 Date getVendorContractExtensionDate()
           
 Integer getVendorContractGeneratedIdentifier()
           
 String getVendorContractName()
           
 List<VendorContractOrganization> getVendorContractOrganizations()
           
 VendorDetail getVendorDetail()
           
 Integer getVendorDetailAssignedIdentifier()
           
 Integer getVendorHeaderGeneratedIdentifier()
           
 String getVendorNumber()
          A concatenation of the vendorHeaderGeneratedIdentifier, a dash, and the vendorDetailAssignedIdentifier
 PaymentTermType getVendorPaymentTerms()
           
 String getVendorPaymentTermsCode()
           
 ShippingPaymentTerms getVendorShippingPaymentTerms()
           
 String getVendorShippingPaymentTermsCode()
           
 ShippingTitle getVendorShippingTitle()
           
 String getVendorShippingTitleCode()
           
 boolean isActive()
           
 boolean isEqualForRouting(Object toCompare)
          A predicate to test equality of all the persisted attributes of an instance of this class, not including member collections.
 void setActive(boolean active)
           
 void setContractManager(ContractManager contractManager)
          Deprecated.  
 void setContractManagerCode(Integer contractManagerCode)
           
 void setOrganizationAutomaticPurchaseOrderLimit(org.kuali.rice.kns.util.KualiDecimal organizationAutomaticPurchaseOrderLimit)
           
 void setPurchaseOrderCostSource(PurchaseOrderCostSource purchaseOrderCostSource)
          Deprecated.  
 void setPurchaseOrderCostSourceCode(String purchaseOrderCostSourceCode)
           
 void setVendorB2bIndicator(Boolean vendorB2bIndicator)
           
 void setVendorCampus(CampusParameter vendorCampus)
          Deprecated.  
 void setVendorCampusCode(String vendorCampusCode)
           
 void setVendorContractBeginningDate(Date vendorContractBeginningDate)
           
 void setVendorContractDescription(String vendorContractDescription)
           
 void setVendorContractEndDate(Date vendorContractEndDate)
           
 void setVendorContractExtensionDate(Date vendorContractExtensionDate)
           
 void setVendorContractGeneratedIdentifier(Integer vendorContractGeneratedIdentifier)
           
 void setVendorContractName(String vendorContractName)
           
 void setVendorContractOrganizations(List<VendorContractOrganization> vendorContractOrganizations)
           
 void setVendorDetail(VendorDetail vendorDetail)
          Deprecated.  
 void setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedIdentifier)
           
 void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier)
           
 void setVendorNumber(String vendorNumber)
          Sets the vendorNumber attribute value.
 void setVendorPaymentTerms(PaymentTermType vendorPaymentTerms)
          Deprecated.  
 void setVendorPaymentTermsCode(String vendorPaymentTermsCode)
           
 void setVendorShippingPaymentTerms(ShippingPaymentTerms vendorShippingPaymentTerms)
          Deprecated.  
 void setVendorShippingPaymentTermsCode(String vendorShippingPaymentTermsCode)
           
 void setVendorShippingTitle(ShippingTitle vendorShippingTitle)
          Deprecated.  
 void setVendorShippingTitleCode(String vendorShippingTitleCode)
           
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

VendorContract

public VendorContract()
Default constructor.

Method Detail

getVendorContractGeneratedIdentifier

public Integer getVendorContractGeneratedIdentifier()

setVendorContractGeneratedIdentifier

public void setVendorContractGeneratedIdentifier(Integer vendorContractGeneratedIdentifier)

getVendorHeaderGeneratedIdentifier

public Integer getVendorHeaderGeneratedIdentifier()

setVendorHeaderGeneratedIdentifier

public void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier)

getVendorDetailAssignedIdentifier

public Integer getVendorDetailAssignedIdentifier()

setVendorDetailAssignedIdentifier

public void setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedIdentifier)

getVendorContractName

public String getVendorContractName()

setVendorContractName

public void setVendorContractName(String vendorContractName)

getVendorContractDescription

public String getVendorContractDescription()

setVendorContractDescription

public void setVendorContractDescription(String vendorContractDescription)

getVendorCampusCode

public String getVendorCampusCode()

setVendorCampusCode

public void setVendorCampusCode(String vendorCampusCode)

getVendorContractBeginningDate

public Date getVendorContractBeginningDate()

setVendorContractBeginningDate

public void setVendorContractBeginningDate(Date vendorContractBeginningDate)

getVendorContractEndDate

public Date getVendorContractEndDate()

setVendorContractEndDate

public void setVendorContractEndDate(Date vendorContractEndDate)

getContractManagerCode

public Integer getContractManagerCode()

setContractManagerCode

public void setContractManagerCode(Integer contractManagerCode)

getPurchaseOrderCostSourceCode

public String getPurchaseOrderCostSourceCode()

setPurchaseOrderCostSourceCode

public void setPurchaseOrderCostSourceCode(String purchaseOrderCostSourceCode)

getVendorPaymentTermsCode

public String getVendorPaymentTermsCode()

setVendorPaymentTermsCode

public void setVendorPaymentTermsCode(String vendorPaymentTermsCode)

getVendorShippingPaymentTermsCode

public String getVendorShippingPaymentTermsCode()

setVendorShippingPaymentTermsCode

public void setVendorShippingPaymentTermsCode(String vendorShippingPaymentTermsCode)

getVendorShippingTitleCode

public String getVendorShippingTitleCode()

setVendorShippingTitleCode

public void setVendorShippingTitleCode(String vendorShippingTitleCode)

getVendorContractExtensionDate

public Date getVendorContractExtensionDate()

setVendorContractExtensionDate

public void setVendorContractExtensionDate(Date vendorContractExtensionDate)

getVendorB2bIndicator

public Boolean getVendorB2bIndicator()

setVendorB2bIndicator

public void setVendorB2bIndicator(Boolean vendorB2bIndicator)

getOrganizationAutomaticPurchaseOrderLimit

public org.kuali.rice.kns.util.KualiDecimal getOrganizationAutomaticPurchaseOrderLimit()

setOrganizationAutomaticPurchaseOrderLimit

public void setOrganizationAutomaticPurchaseOrderLimit(org.kuali.rice.kns.util.KualiDecimal organizationAutomaticPurchaseOrderLimit)

isActive

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

setActive

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

getVendorDetail

public VendorDetail getVendorDetail()

setVendorDetail

public void setVendorDetail(VendorDetail vendorDetail)
Deprecated. 

Sets the vendorDetail attribute.

Parameters:
vendorDetail - The vendorDetail to set.

getVendorCampus

public CampusParameter getVendorCampus()

setVendorCampus

public void setVendorCampus(CampusParameter vendorCampus)
Deprecated. 

Sets the vendorCampus attribute.

Parameters:
vendorCampus - The vendorCampus to set.

getContractManager

public ContractManager getContractManager()

setContractManager

public void setContractManager(ContractManager contractManager)
Deprecated. 

Sets the contractManager attribute.

Parameters:
contractManager - The contractManager to set.

getPurchaseOrderCostSource

public PurchaseOrderCostSource getPurchaseOrderCostSource()

setPurchaseOrderCostSource

public void setPurchaseOrderCostSource(PurchaseOrderCostSource purchaseOrderCostSource)
Deprecated. 

Sets the purchaseOrderCostSource attribute.

Parameters:
purchaseOrderCostSource - The purchaseOrderCostSource to set.

getVendorPaymentTerms

public PaymentTermType getVendorPaymentTerms()

setVendorPaymentTerms

public void setVendorPaymentTerms(PaymentTermType vendorPaymentTerms)
Deprecated. 

Sets the vendorPaymentTerms attribute.

Parameters:
vendorPaymentTerms - The vendorPaymentTerms to set.

getVendorShippingPaymentTerms

public ShippingPaymentTerms getVendorShippingPaymentTerms()

setVendorShippingPaymentTerms

public void setVendorShippingPaymentTerms(ShippingPaymentTerms vendorShippingPaymentTerms)
Deprecated. 

Sets the vendorShippingPaymentTerms attribute.

Parameters:
vendorShippingPaymentTerms - The vendorShippingPaymentTerms to set.

getVendorShippingTitle

public ShippingTitle getVendorShippingTitle()

setVendorShippingTitle

public void setVendorShippingTitle(ShippingTitle vendorShippingTitle)
Deprecated. 

Sets the vendorShippingTitle attribute.

Parameters:
vendorShippingTitle - The vendorShippingTitle to set.

getVendorContractOrganizations

public List<VendorContractOrganization> getVendorContractOrganizations()

setVendorContractOrganizations

public void setVendorContractOrganizations(List<VendorContractOrganization> vendorContractOrganizations)

getVendorNumber

public String getVendorNumber()
A concatenation of the vendorHeaderGeneratedIdentifier, a dash, and the vendorDetailAssignedIdentifier

Returns:
Returns the vendorNumber.

setVendorNumber

public void setVendorNumber(String vendorNumber)
Sets the vendorNumber attribute value.

Parameters:
vendorNumber - The vendorNumber to set.

isEqualForRouting

public boolean isEqualForRouting(Object toCompare)
Description copied from interface: VendorRoutingComparable
A predicate to test equality of all the persisted attributes of an instance of this class, not including member collections. This is used to help determine whether to route.

Specified by:
isEqualForRouting in interface VendorRoutingComparable
Parameters:
toCompare - An Object, which should be of this class if the comparison is to be meaningful.
Returns:
True if all non-derived attributes of the given object other than collections are equal to this one's. False if the given object is null or of a different class.
See Also:
org.kuali.kfs.vnd.document.routing.VendorRoutingComparable#isEqualForRouting(java.lang.Object)

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.