org.kuali.kfs.vnd.businessobject
Class VendorCommodityCode

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
VendorCommodityCode()
          Default constructor.
VendorCommodityCode(Integer vendorHeaderGeneratedIdentifier, Integer vendorDetailAssignedIdentifier, CommodityCode commodityCode, boolean active)
           
 
Method Summary
 CommodityCode getCommodityCode()
           
 String getPurchasingCommodityCode()
          Gets the commodityCode attribute.
 VendorDetail getVendorDetail()
          Gets the vendorDetail attribute.
 Integer getVendorDetailAssignedIdentifier()
          Gets the vendorDetailAssignedIdentifier attribute.
 Integer getVendorHeaderGeneratedIdentifier()
          Gets the vendorHeaderGeneratedIdentifier attribute.
 boolean isActive()
          Gets the active attribute.
 boolean isCommodityDefaultIndicator()
          Gets the commodityDefaultIndicator attribute.
 void setActive(boolean active)
          Sets the active attribute.
 void setCommodityCode(CommodityCode commodityCode)
           
 void setCommodityDefaultIndicator(boolean commodityDefaultIndicator)
          Sets the commodityDefaultIndicator attribute.
 void setPurchasingCommodityCode(String purchasingCommodityCode)
          Sets the commodityCode attribute.
 void setVendorDetail(VendorDetail vendorDetail)
          Deprecated.  
 void setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedIdentifier)
          Sets the vendorDetailAssignedIdentifier attribute.
 void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier)
          Sets the vendorHeaderGeneratedIdentifier attribute.
 String toStringBuilder(LinkedHashMap mapper)
          This method overrides the superclass method to return the description of the commodity code.
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

VendorCommodityCode

public VendorCommodityCode()
Default constructor.


VendorCommodityCode

public VendorCommodityCode(Integer vendorHeaderGeneratedIdentifier,
                           Integer vendorDetailAssignedIdentifier,
                           CommodityCode commodityCode,
                           boolean active)
Method Detail

getVendorHeaderGeneratedIdentifier

public Integer getVendorHeaderGeneratedIdentifier()
Gets the vendorHeaderGeneratedIdentifier attribute.

Returns:
Returns the vendorHeaderGeneratedIdentifier

setVendorHeaderGeneratedIdentifier

public void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier)
Sets the vendorHeaderGeneratedIdentifier attribute.

Parameters:
vendorHeaderGeneratedIdentifier - The vendorHeaderGeneratedIdentifier to set.

getVendorDetailAssignedIdentifier

public Integer getVendorDetailAssignedIdentifier()
Gets the vendorDetailAssignedIdentifier attribute.

Returns:
Returns the vendorDetailAssignedIdentifier

setVendorDetailAssignedIdentifier

public void setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedIdentifier)
Sets the vendorDetailAssignedIdentifier attribute.

Parameters:
vendorDetailAssignedIdentifier - The vendorDetailAssignedIdentifier to set.

getPurchasingCommodityCode

public String getPurchasingCommodityCode()
Gets the commodityCode attribute.

Returns:
Returns the commodityCode

setPurchasingCommodityCode

public void setPurchasingCommodityCode(String purchasingCommodityCode)
Sets the commodityCode attribute.

Parameters:
commodityCode - The commodityCode to set.

isCommodityDefaultIndicator

public boolean isCommodityDefaultIndicator()
Gets the commodityDefaultIndicator attribute.

Returns:
Returns the commodityDefaultIndicator

setCommodityDefaultIndicator

public void setCommodityDefaultIndicator(boolean commodityDefaultIndicator)
Sets the commodityDefaultIndicator attribute.

Parameters:
commodityDefaultIndicator - The commodityDefaultIndicator to set.

isActive

public boolean isActive()
Gets the active attribute.

Specified by:
isActive in interface org.kuali.rice.kns.bo.Inactivateable
Returns:
Returns the active

setActive

public void setActive(boolean active)
Sets the active attribute.

Specified by:
setActive in interface org.kuali.rice.kns.bo.Inactivateable
Parameters:
active - The active to set.

getVendorDetail

public VendorDetail getVendorDetail()
Gets the vendorDetail attribute.

Returns:
Returns the vendorDetail.

setVendorDetail

public void setVendorDetail(VendorDetail vendorDetail)
Deprecated. 

Sets the vendorDetail attribute value.

Parameters:
vendorDetail - The vendorDetail to set.

getCommodityCode

public CommodityCode getCommodityCode()

setCommodityCode

public void setCommodityCode(CommodityCode commodityCode)

toStringMapper

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

toStringBuilder

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

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.