edu.sampleu.financial.bo
Class VendorDetail

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by edu.sampleu.financial.bo.VendorDetail
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Versioned, ModelObjectBasic, BusinessObject, PersistableBusinessObject

public class VendorDetail
extends PersistableBusinessObjectBase

Contains all data for a specific parent or division Vendor, including a link to the VendorHeader, which only contains information about the parent company, but can be shared between division Vendors.

See Also:
org.kuali.kfs.vnd.businessobject.VendorHeader, Serialized Form

Field Summary
private  boolean activeIndicator
           
private  String defaultAddressCity
           
private  String defaultAddressCountryCode
           
private  String defaultAddressInternationalProvince
           
private  String defaultAddressLine1
           
private  String defaultAddressLine2
           
private  String defaultAddressPostalCode
           
private  String defaultAddressStateCode
           
private  String defaultFaxNumber
           
private static org.apache.log4j.Logger LOG
           
private  VendorDetail soldToVendorDetail
           
private  boolean taxableIndicator
           
private  List<VendorAddress> vendorAddresses
           
private  Boolean vendorConfirmationIndicator
           
private  Boolean vendorCreditCardIndicator
           
private  Integer vendorDetailAssignedIdentifier
           
private  String vendorDunsNumber
           
private  boolean vendorFirstLastNameIndicator
           
private  String vendorFirstName
           
private  VendorHeader vendorHeader
           
private  Integer vendorHeaderGeneratedIdentifier
           
private  String vendorInactiveReasonCode
           
private  String vendorLastName
           
private  KualiDecimal vendorMinimumOrderAmount
           
private  String vendorName
           
private  String vendorNumber
           
private  boolean vendorParentIndicator
           
private  String vendorParentName
           
private  PaymentTermType vendorPaymentTerms
           
private  String vendorPaymentTermsCode
           
private  Boolean vendorPrepaymentIndicator
           
private  String vendorRemitName
           
private  Date vendorRestrictedDate
           
private  Boolean vendorRestrictedIndicator
           
private  String vendorRestrictedReasonText
           
private  ShippingPaymentTerms vendorShippingPaymentTerms
           
private  String vendorShippingPaymentTermsCode
           
private  String vendorShippingTitleCode
           
private  Integer vendorSoldToAssignedIdentifier
           
private  Integer vendorSoldToGeneratedIdentifier
           
private  String vendorSoldToName
           
private  String vendorSoldToNumber
           
private  String vendorStateForLookup
           
private  String vendorUrlAddress
           
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
VendorDetail()
          Default constructor.
 
Method Summary
 String getAltVendorName()
           
 String getDefaultAddressCity()
           
 String getDefaultAddressCountryCode()
           
 String getDefaultAddressInternationalProvince()
           
 String getDefaultAddressLine1()
          Deprecated.  
 String getDefaultAddressLine2()
           
 String getDefaultAddressPostalCode()
           
 String getDefaultAddressStateCode()
           
 String getDefaultFaxNumber()
           
 VendorDetail getSoldToVendorDetail()
           
 List<VendorAddress> getVendorAddresses()
          Deprecated.  
 Boolean getVendorConfirmationIndicator()
           
 Boolean getVendorCreditCardIndicator()
           
 Integer getVendorDetailAssignedIdentifier()
           
 String getVendorDunsNumber()
           
 String getVendorFirstName()
           
 VendorHeader getVendorHeader()
           
 Integer getVendorHeaderGeneratedIdentifier()
           
 String getVendorInactiveReasonCode()
           
 String getVendorLastName()
           
 KualiDecimal getVendorMinimumOrderAmount()
           
 String getVendorName()
           
 String getVendorNumber()
          A concatenation of the vendorHeaderGeneratedIdentifier, a dash, and the vendorDetailAssignedIdentifier
 String getVendorParentName()
           
 PaymentTermType getVendorPaymentTerms()
           
 String getVendorPaymentTermsCode()
           
 Boolean getVendorPrepaymentIndicator()
           
 String getVendorRemitName()
           
 Date getVendorRestrictedDate()
           
 Boolean getVendorRestrictedIndicator()
           
 String getVendorRestrictedReasonText()
           
 ShippingPaymentTerms getVendorShippingPaymentTerms()
          Deprecated.  
 String getVendorShippingPaymentTermsCode()
           
 String getVendorShippingTitleCode()
           
 Integer getVendorSoldToAssignedIdentifier()
           
 Integer getVendorSoldToGeneratedIdentifier()
           
 String getVendorSoldToName()
          Gets the vendorSoldToName attribute.
 String getVendorSoldToNumber()
          Gets the vendorSoldToNumber attribute.
 String getVendorStateForLookup()
           
 String getVendorUrlAddress()
           
 boolean isActiveIndicator()
           
 boolean isTaxableIndicator()
           
 boolean isVendorDebarred()
           
 boolean isVendorFirstLastNameIndicator()
           
 boolean isVendorParentIndicator()
           
 void setActiveIndicator(boolean activeIndicator)
           
 void setAltVendorName(String altVendorName)
           
 void setDefaultAddressCity(String defaultAddressCity)
           
 void setDefaultAddressCountryCode(String defaultAddressCountryCode)
           
 void setDefaultAddressInternationalProvince(String defaultAddressInternationalProvince)
           
 void setDefaultAddressLine1(String defaultAddressLine1)
           
 void setDefaultAddressLine2(String defaultAddressLine2)
           
 void setDefaultAddressPostalCode(String defaultAddressPostalCode)
           
 void setDefaultAddressStateCode(String defaultAddressStateCode)
           
 void setDefaultFaxNumber(String defaultFaxNumber)
           
 void setSoldToVendorDetail(VendorDetail soldToVendorDetail)
           
 void setTaxableIndicator(boolean taxableIndicator)
           
 void setVendorAddresses(List<VendorAddress> vendorAddresses)
           
 void setVendorConfirmationIndicator(Boolean vendorConfirmationIndicator)
           
 void setVendorCreditCardIndicator(Boolean vendorCreditCardIndicator)
           
 void setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedIdentifier)
           
 void setVendorDunsNumber(String vendorDunsNumber)
           
 void setVendorFirstLastNameIndicator(boolean vendorFirstLastNameIndicator)
           
 void setVendorFirstName(String vendorFirstName)
           
 void setVendorHeader(VendorHeader vendorHeader)
           
 void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier)
           
 void setVendorInactiveReasonCode(String vendorInactiveReasonCode)
           
 void setVendorLastName(String vendorLastName)
           
 void setVendorMinimumOrderAmount(KualiDecimal vendorMinimumOrderAmount)
           
 void setVendorName(String vendorName)
           
 void setVendorNumber(String vendorNumber)
          Sets the vendorNumber attribute value.
 void setVendorParentIndicator(boolean vendorParentIndicator)
           
 void setVendorParentName(String vendorParentName)
           
 void setVendorPaymentTerms(PaymentTermType vendorPaymentTerms)
          Deprecated.  
 void setVendorPaymentTermsCode(String vendorPaymentTermsCode)
           
 void setVendorPrepaymentIndicator(Boolean vendorPrepaymentIndicator)
           
 void setVendorRemitName(String vendorRemitName)
           
 void setVendorRestrictedDate(Date vendorRestrictedDate)
           
 void setVendorRestrictedIndicator(Boolean vendorRestrictedIndicator)
           
 void setVendorRestrictedReasonText(String vendorRestrictedReasonText)
           
 void setVendorShippingPaymentTerms(ShippingPaymentTerms vendorShippingPaymentTerms)
          Deprecated.  
 void setVendorShippingPaymentTermsCode(String vendorShippingPaymentTermsCode)
           
 void setVendorShippingTitleCode(String vendorShippingTitleCode)
           
 void setVendorSoldToAssignedIdentifier(Integer vendorSoldToAssignedIdentifier)
           
 void setVendorSoldToGeneratedIdentifier(Integer vendorSoldToGeneratedIdentifier)
           
 void setVendorSoldToName(String vendorSoldToName)
           
 void setVendorSoldToNumber(String vendorSoldToNumber)
          Sets the vendorSoldToNumber attribute value.
 void setVendorStateForLookup(String vendorStateForLookup)
           
 void setVendorUrlAddress(String vendorUrlAddress)
           
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder, toStringMapper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Field Detail

LOG

private static org.apache.log4j.Logger LOG

vendorHeaderGeneratedIdentifier

private Integer vendorHeaderGeneratedIdentifier

vendorDetailAssignedIdentifier

private Integer vendorDetailAssignedIdentifier

vendorNumber

private String vendorNumber

vendorParentIndicator

private boolean vendorParentIndicator

vendorName

private String vendorName

vendorFirstName

private String vendorFirstName

vendorLastName

private String vendorLastName

vendorStateForLookup

private String vendorStateForLookup

activeIndicator

private boolean activeIndicator

vendorInactiveReasonCode

private String vendorInactiveReasonCode

vendorDunsNumber

private String vendorDunsNumber

vendorPaymentTermsCode

private String vendorPaymentTermsCode

vendorShippingTitleCode

private String vendorShippingTitleCode

vendorShippingPaymentTermsCode

private String vendorShippingPaymentTermsCode

vendorConfirmationIndicator

private Boolean vendorConfirmationIndicator

vendorPrepaymentIndicator

private Boolean vendorPrepaymentIndicator

vendorCreditCardIndicator

private Boolean vendorCreditCardIndicator

vendorMinimumOrderAmount

private KualiDecimal vendorMinimumOrderAmount

vendorUrlAddress

private String vendorUrlAddress

vendorRemitName

private String vendorRemitName

vendorRestrictedIndicator

private Boolean vendorRestrictedIndicator

vendorRestrictedReasonText

private String vendorRestrictedReasonText

vendorRestrictedDate

private Date vendorRestrictedDate

vendorSoldToNumber

private String vendorSoldToNumber

vendorSoldToGeneratedIdentifier

private Integer vendorSoldToGeneratedIdentifier

vendorSoldToAssignedIdentifier

private Integer vendorSoldToAssignedIdentifier

vendorSoldToName

private String vendorSoldToName

vendorFirstLastNameIndicator

private boolean vendorFirstLastNameIndicator

taxableIndicator

private boolean taxableIndicator

vendorAddresses

private List<VendorAddress> vendorAddresses

vendorHeader

private VendorHeader vendorHeader

vendorPaymentTerms

private PaymentTermType vendorPaymentTerms

vendorShippingPaymentTerms

private ShippingPaymentTerms vendorShippingPaymentTerms

soldToVendorDetail

private VendorDetail soldToVendorDetail

vendorParentName

private String vendorParentName

defaultAddressLine1

private String defaultAddressLine1

defaultAddressLine2

private String defaultAddressLine2

defaultAddressCity

private String defaultAddressCity

defaultAddressStateCode

private String defaultAddressStateCode

defaultAddressInternationalProvince

private String defaultAddressInternationalProvince

defaultAddressPostalCode

private String defaultAddressPostalCode

defaultAddressCountryCode

private String defaultAddressCountryCode

defaultFaxNumber

private String defaultFaxNumber
Constructor Detail

VendorDetail

public VendorDetail()
Default constructor.

Method Detail

getVendorHeaderGeneratedIdentifier

public Integer getVendorHeaderGeneratedIdentifier()

setVendorHeaderGeneratedIdentifier

public void setVendorHeaderGeneratedIdentifier(Integer vendorHeaderGeneratedIdentifier)

getVendorDetailAssignedIdentifier

public Integer getVendorDetailAssignedIdentifier()

setVendorDetailAssignedIdentifier

public void setVendorDetailAssignedIdentifier(Integer vendorDetailAssignedIdentifier)

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. If vendorNumber is empty, clears header and detail IDs. If vendorNumber is invalid, leaves header and detail IDs as were.

Parameters:
vendorNumber - The vendorNumber to set.

getVendorName

public String getVendorName()

setVendorName

public void setVendorName(String vendorName)

getVendorSoldToGeneratedIdentifier

public Integer getVendorSoldToGeneratedIdentifier()

setVendorSoldToGeneratedIdentifier

public void setVendorSoldToGeneratedIdentifier(Integer vendorSoldToGeneratedIdentifier)

getVendorSoldToAssignedIdentifier

public Integer getVendorSoldToAssignedIdentifier()

setVendorSoldToAssignedIdentifier

public void setVendorSoldToAssignedIdentifier(Integer vendorSoldToAssignedIdentifier)

getVendorSoldToNumber

public String getVendorSoldToNumber()
Gets the vendorSoldToNumber attribute.

Returns:
Returns the vendorSoldToNumber.

setVendorSoldToNumber

public void setVendorSoldToNumber(String vendorSoldToNumber)
Sets the vendorSoldToNumber attribute value. If vendorSoldToNumber is empty, clears soldToVendor header and detail IDs. If vendorSoldToNumber is invalid, leaves soldToVendor header and detail IDs as were.

Parameters:
vendorSoldToNumber - The vendorSoldToNumber to set.

getVendorSoldToName

public String getVendorSoldToName()
Gets the vendorSoldToName attribute.

Returns:
Returns the vendorSoldToName

setVendorSoldToName

public void setVendorSoldToName(String vendorSoldToName)

getAltVendorName

public String getAltVendorName()

setAltVendorName

public void setAltVendorName(String altVendorName)

getVendorRemitName

public String getVendorRemitName()

setVendorRemitName

public void setVendorRemitName(String vendorRemitName)

isVendorParentIndicator

public boolean isVendorParentIndicator()

setVendorParentIndicator

public void setVendorParentIndicator(boolean vendorParentIndicator)

isTaxableIndicator

public boolean isTaxableIndicator()

setTaxableIndicator

public void setTaxableIndicator(boolean taxableIndicator)

isVendorDebarred

public boolean isVendorDebarred()

isActiveIndicator

public boolean isActiveIndicator()

setActiveIndicator

public void setActiveIndicator(boolean activeIndicator)

getVendorPaymentTermsCode

public String getVendorPaymentTermsCode()

setVendorPaymentTermsCode

public void setVendorPaymentTermsCode(String vendorPaymentTermsCode)

getVendorShippingPaymentTermsCode

public String getVendorShippingPaymentTermsCode()

setVendorShippingPaymentTermsCode

public void setVendorShippingPaymentTermsCode(String vendorShippingPaymentTermsCode)

getVendorConfirmationIndicator

public Boolean getVendorConfirmationIndicator()

setVendorConfirmationIndicator

public void setVendorConfirmationIndicator(Boolean vendorConfirmationIndicator)

getVendorPrepaymentIndicator

public Boolean getVendorPrepaymentIndicator()

setVendorPrepaymentIndicator

public void setVendorPrepaymentIndicator(Boolean vendorPrepaymentIndicator)

getVendorCreditCardIndicator

public Boolean getVendorCreditCardIndicator()

setVendorCreditCardIndicator

public void setVendorCreditCardIndicator(Boolean vendorCreditCardIndicator)

getVendorMinimumOrderAmount

public KualiDecimal getVendorMinimumOrderAmount()

setVendorMinimumOrderAmount

public void setVendorMinimumOrderAmount(KualiDecimal vendorMinimumOrderAmount)

getVendorUrlAddress

public String getVendorUrlAddress()

setVendorUrlAddress

public void setVendorUrlAddress(String vendorUrlAddress)

getVendorRestrictedIndicator

public Boolean getVendorRestrictedIndicator()

setVendorRestrictedIndicator

public void setVendorRestrictedIndicator(Boolean vendorRestrictedIndicator)

getVendorRestrictedReasonText

public String getVendorRestrictedReasonText()

setVendorRestrictedReasonText

public void setVendorRestrictedReasonText(String vendorRestrictedReasonText)

getVendorRestrictedDate

public Date getVendorRestrictedDate()

setVendorRestrictedDate

public void setVendorRestrictedDate(Date vendorRestrictedDate)

getVendorDunsNumber

public String getVendorDunsNumber()

setVendorDunsNumber

public void setVendorDunsNumber(String vendorDunsNumber)

getVendorHeader

public VendorHeader getVendorHeader()

setVendorHeader

public void setVendorHeader(VendorHeader vendorHeader)

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()
Deprecated. 

Sets the vendorShippingTitle attribute.

Parameters:
vendorShippingTitle - The vendorShippingTitle to set.

setVendorShippingPaymentTerms

public void setVendorShippingPaymentTerms(ShippingPaymentTerms vendorShippingPaymentTerms)
Deprecated. 

Sets the vendorShippingPaymentTerms attribute.

Parameters:
vendorShippingPaymentTerms - The vendorShippingPaymentTerms to set.

getVendorAddresses

public List<VendorAddress> getVendorAddresses()
Deprecated. 

Sets the vendorInactiveReason attribute value.

Parameters:
vendorInactiveReason - The vendorInactiveReason to set.

setVendorAddresses

public void setVendorAddresses(List<VendorAddress> vendorAddresses)

getVendorFirstName

public String getVendorFirstName()

setVendorFirstName

public void setVendorFirstName(String vendorFirstName)

getVendorLastName

public String getVendorLastName()

setVendorLastName

public void setVendorLastName(String vendorLastName)

getSoldToVendorDetail

public VendorDetail getSoldToVendorDetail()

setSoldToVendorDetail

public void setSoldToVendorDetail(VendorDetail soldToVendorDetail)

isVendorFirstLastNameIndicator

public boolean isVendorFirstLastNameIndicator()

setVendorFirstLastNameIndicator

public void setVendorFirstLastNameIndicator(boolean vendorFirstLastNameIndicator)

getVendorStateForLookup

public String getVendorStateForLookup()

setVendorStateForLookup

public void setVendorStateForLookup(String vendorStateForLookup)

getDefaultAddressLine1

public String getDefaultAddressLine1()
Deprecated. 

Sets the vendorRestrictedPerson attribute.

Parameters:
vendorRestrictedPerson - The vendorRestrictedPerson to set.

setDefaultAddressLine1

public void setDefaultAddressLine1(String defaultAddressLine1)

getDefaultAddressCity

public String getDefaultAddressCity()

setDefaultAddressCity

public void setDefaultAddressCity(String defaultAddressCity)

getDefaultAddressLine2

public String getDefaultAddressLine2()

setDefaultAddressLine2

public void setDefaultAddressLine2(String defaultAddressLine2)

getDefaultAddressPostalCode

public String getDefaultAddressPostalCode()

setDefaultAddressPostalCode

public void setDefaultAddressPostalCode(String defaultAddressPostalCode)

getDefaultAddressStateCode

public String getDefaultAddressStateCode()

setDefaultAddressStateCode

public void setDefaultAddressStateCode(String defaultAddressStateCode)

getDefaultAddressInternationalProvince

public String getDefaultAddressInternationalProvince()

setDefaultAddressInternationalProvince

public void setDefaultAddressInternationalProvince(String defaultAddressInternationalProvince)

getDefaultAddressCountryCode

public String getDefaultAddressCountryCode()

setDefaultAddressCountryCode

public void setDefaultAddressCountryCode(String defaultAddressCountryCode)

getDefaultFaxNumber

public String getDefaultFaxNumber()

setDefaultFaxNumber

public void setDefaultFaxNumber(String defaultFaxNumber)

setVendorParentName

public void setVendorParentName(String vendorParentName)

getVendorInactiveReasonCode

public String getVendorInactiveReasonCode()

setVendorInactiveReasonCode

public void setVendorInactiveReasonCode(String vendorInactiveReasonCode)

getVendorShippingTitleCode

public String getVendorShippingTitleCode()

setVendorShippingTitleCode

public void setVendorShippingTitleCode(String vendorShippingTitleCode)

getVendorParentName

public String getVendorParentName()


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.