org.kuali.kfs.vnd.businessobject
Class VendorContractOrganization

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.VendorContractOrganization
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 VendorContractOrganization
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements VendorRoutingComparable, org.kuali.rice.kns.bo.Inactivateable

A relation between a particular Org and a VendorContract indicating that the Org uses this Vendor Contract.

See Also:
VendorContract, org.kuali.kfs.coa.businessobject.Org, Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
VendorContractOrganization()
          Default constructor.
 
Method Summary
 Chart getChartOfAccounts()
           
 String getChartOfAccountsCode()
           
 Organization getOrganization()
           
 String getOrganizationCode()
           
 VendorContract getVendorContract()
           
 Integer getVendorContractGeneratedIdentifier()
           
 org.kuali.rice.kns.util.KualiDecimal getVendorContractPurchaseOrderLimitAmount()
           
 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.
 boolean isVendorContractExcludeIndicator()
           
 void setActive(boolean active)
           
 void setChartOfAccounts(Chart chartOfAccounts)
          Deprecated.  
 void setChartOfAccountsCode(String chartOfAccountsCode)
           
 void setOrganization(Organization organization)
          Deprecated.  
 void setOrganizationCode(String organizationCode)
           
 void setVendorContract(VendorContract vendorContract)
          Deprecated.  
 void setVendorContractExcludeIndicator(boolean vendorContractExcludeIndicator)
           
 void setVendorContractGeneratedIdentifier(Integer vendorContractGeneratedIdentifier)
           
 void setVendorContractPurchaseOrderLimitAmount(org.kuali.rice.kns.util.KualiDecimal vendorContractPurchaseOrderLimitAmount)
           
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

VendorContractOrganization

public VendorContractOrganization()
Default constructor.

Method Detail

getVendorContractGeneratedIdentifier

public Integer getVendorContractGeneratedIdentifier()

setVendorContractGeneratedIdentifier

public void setVendorContractGeneratedIdentifier(Integer vendorContractGeneratedIdentifier)

getChartOfAccountsCode

public String getChartOfAccountsCode()

setChartOfAccountsCode

public void setChartOfAccountsCode(String chartOfAccountsCode)

getOrganizationCode

public String getOrganizationCode()

setOrganizationCode

public void setOrganizationCode(String organizationCode)

getVendorContractPurchaseOrderLimitAmount

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

setVendorContractPurchaseOrderLimitAmount

public void setVendorContractPurchaseOrderLimitAmount(org.kuali.rice.kns.util.KualiDecimal vendorContractPurchaseOrderLimitAmount)

isVendorContractExcludeIndicator

public boolean isVendorContractExcludeIndicator()

setVendorContractExcludeIndicator

public void setVendorContractExcludeIndicator(boolean vendorContractExcludeIndicator)

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

getOrganization

public Organization getOrganization()

setOrganization

public void setOrganization(Organization organization)
Deprecated. 

Sets the organization attribute.

Parameters:
organization - The organization to set.

getChartOfAccounts

public Chart getChartOfAccounts()

setChartOfAccounts

public void setChartOfAccounts(Chart chartOfAccounts)
Deprecated. 

Sets the chartOfAccounts attribute.

Parameters:
chartOfAccounts - The chartOfAccounts to set.

getVendorContract

public VendorContract getVendorContract()

setVendorContract

public void setVendorContract(VendorContract vendorContract)
Deprecated. 

Sets the vendorContract attribute value.

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