org.kuali.kfs.vnd.businessobject
Class VendorSupplierDiversity

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

Relationship between a Vendor and a SupplierDiversity.

See Also:
SupplierDiversity, Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
VendorSupplierDiversity()
          Default constructor.
 
Method Summary
 VendorHeader getVendorHeader()
           
 Integer getVendorHeaderGeneratedIdentifier()
           
 SupplierDiversity getVendorSupplierDiversity()
           
 String getVendorSupplierDiversityCode()
           
 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 setVendorHeader(VendorHeader vendorHeader)
          Deprecated.  
 void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier)
           
 void setVendorSupplierDiversity(SupplierDiversity vendorSupplierDiversity)
          Deprecated.  
 void setVendorSupplierDiversityCode(String vendorSupplierDiversityCode)
           
 String toStringBuilder(LinkedHashMap mapper)
          This method overrides the superclass method to return the description of the supplier diversity.
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
 
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

VendorSupplierDiversity

public VendorSupplierDiversity()
Default constructor.

Method Detail

getVendorHeaderGeneratedIdentifier

public Integer getVendorHeaderGeneratedIdentifier()

setVendorHeaderGeneratedIdentifier

public void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier)

getVendorSupplierDiversityCode

public String getVendorSupplierDiversityCode()

setVendorSupplierDiversityCode

public void setVendorSupplierDiversityCode(String vendorSupplierDiversityCode)

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

getVendorHeader

public VendorHeader getVendorHeader()

setVendorHeader

public void setVendorHeader(VendorHeader vendorHeader)
Deprecated. 

Sets the vendorHeader attribute value.

Parameters:
vendorHeader - The vendorHeader to set.

getVendorSupplierDiversity

public SupplierDiversity getVendorSupplierDiversity()

setVendorSupplierDiversity

public void setVendorSupplierDiversity(SupplierDiversity vendorSupplierDiversity)
Deprecated. 

Sets the vendorSupplierDiversity attribute value.

Parameters:
vendorSupplierDiversity - The vendorSupplierDiversity to set.

toStringMapper

protected LinkedHashMap toStringMapper()
Specified by:
toStringMapper in class org.kuali.rice.kns.bo.BusinessObjectBase
See Also:
BusinessObjectBase.toStringMapper()

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)

toStringBuilder

public String toStringBuilder(LinkedHashMap mapper)
This method overrides the superclass method to return the description of the supplier diversity.

Overrides:
toStringBuilder in class org.kuali.rice.kns.bo.BusinessObjectBase
Parameters:
mapper - A LinkedHashMap
Returns:
A String rendition of this object.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.