| Constructor and Description |
|---|
Vendor()
Empty Constructor
|
Vendor(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the Vendor object from a Record object
|
| Modifier and Type | Method and Description |
|---|---|
AddressIf[] |
getAddresses()
All vendor addresses
|
java.lang.String |
getCompanyId()
Company identifier such as the company registration number
|
java.lang.String |
getCompanyTaxId()
Company tax identifier field such as the VAT number
|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.lang.String |
getCustom5() |
java.util.Calendar |
getDateAdded() |
AddressIf |
getDefaultAddr()
The vendor's default address
|
int |
getDefaultAddrId()
The default address id
|
int |
getId()
The numeric vendor id
|
java.util.Calendar |
getLastUpdated() |
int |
getNumberReviews()
The number of reviews received by the vendor
|
java.math.BigDecimal |
getRating()
Rating based on customer reviews
|
java.lang.String |
getStoreId()
Used in multi-store mode to configure the engine to use the correct store.
|
java.lang.String |
getVendorDesc()
A description of the vendor
|
java.lang.String |
getVendorName()
The name of the vendor
|
void |
setAddresses(AddressIf[] addresses)
All vendor addresses
|
void |
setCompanyId(java.lang.String companyId)
Company identifier such as the company registration number
|
void |
setCompanyTaxId(java.lang.String companyTaxId)
Company tax identifier field such as the VAT number
|
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setCustom3(java.lang.String custom3) |
void |
setCustom4(java.lang.String custom4) |
void |
setCustom5(java.lang.String custom5) |
void |
setDateAdded(java.util.Calendar dateAdded) |
void |
setDefaultAddr(AddressIf defaultAddr)
The vendor's default address
|
void |
setDefaultAddrId(int defaultAddrId)
The default address id
|
void |
setId(int id)
The numeric vendor id
|
void |
setLastUpdated(java.util.Calendar lastUpdated) |
void |
setNumberReviews(int numberReviews)
The number of reviews received by the vendor
|
void |
setRating(java.math.BigDecimal rating)
Rating based on customer reviews
|
void |
setStoreId(java.lang.String storeId)
Used in multi-store mode to configure the engine to use the correct store.
|
void |
setVendorDesc(java.lang.String vendorDesc)
A description of the vendor
|
void |
setVendorName(java.lang.String vendorName)
he name of the vendor
|
java.lang.String |
toString() |
public Vendor()
public Vendor(com.workingdogs.village.Record vr,
KKCriteria c)
throws com.workingdogs.village.DataSetException
vr - Record containing datac - Criteria containing column namescom.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getStoreId()
getStoreId in interface VendorIfpublic void setStoreId(java.lang.String storeId)
setStoreId in interface VendorIfstoreId - The storeId to set.public java.lang.String getVendorName()
VendorIfgetVendorName in interface VendorIfpublic void setVendorName(java.lang.String vendorName)
VendorIfsetVendorName in interface VendorIfvendorName - the vendorName to setpublic java.lang.String getVendorDesc()
VendorIfgetVendorDesc in interface VendorIfpublic void setVendorDesc(java.lang.String vendorDesc)
VendorIfsetVendorDesc in interface VendorIfvendorDesc - the vendorDesc to setpublic java.lang.String getCompanyId()
VendorIfgetCompanyId in interface VendorIfpublic void setCompanyId(java.lang.String companyId)
VendorIfsetCompanyId in interface VendorIfcompanyId - the companyId to setpublic java.lang.String getCompanyTaxId()
VendorIfgetCompanyTaxId in interface VendorIfpublic void setCompanyTaxId(java.lang.String companyTaxId)
VendorIfsetCompanyTaxId in interface VendorIfcompanyTaxId - the companyTaxId to setpublic java.math.BigDecimal getRating()
VendorIfpublic void setRating(java.math.BigDecimal rating)
VendorIfpublic int getNumberReviews()
VendorIfgetNumberReviews in interface VendorIfpublic void setNumberReviews(int numberReviews)
VendorIfsetNumberReviews in interface VendorIfnumberReviews - the numberReviews to setpublic java.lang.String getCustom1()
getCustom1 in interface VendorIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface VendorIfcustom1 - the custom1 to setpublic java.lang.String getCustom2()
getCustom2 in interface VendorIfpublic void setCustom2(java.lang.String custom2)
setCustom2 in interface VendorIfcustom2 - the custom2 to setpublic java.lang.String getCustom3()
getCustom3 in interface VendorIfpublic void setCustom3(java.lang.String custom3)
setCustom3 in interface VendorIfcustom3 - the custom3 to setpublic java.lang.String getCustom4()
getCustom4 in interface VendorIfpublic void setCustom4(java.lang.String custom4)
setCustom4 in interface VendorIfcustom4 - the custom4 to setpublic java.lang.String getCustom5()
getCustom5 in interface VendorIfpublic void setCustom5(java.lang.String custom5)
setCustom5 in interface VendorIfcustom5 - the custom5 to setpublic int getId()
VendorIfpublic void setId(int id)
VendorIfpublic int getDefaultAddrId()
VendorIfgetDefaultAddrId in interface VendorIfpublic void setDefaultAddrId(int defaultAddrId)
VendorIfsetDefaultAddrId in interface VendorIfdefaultAddrId - the defaultAddrId to setpublic AddressIf getDefaultAddr()
VendorIfgetDefaultAddr in interface VendorIfpublic void setDefaultAddr(AddressIf defaultAddr)
VendorIfsetDefaultAddr in interface VendorIfdefaultAddr - the defaultAddr to setpublic AddressIf[] getAddresses()
VendorIfgetAddresses in interface VendorIfpublic void setAddresses(AddressIf[] addresses)
VendorIfsetAddresses in interface VendorIfaddresses - the addresses to setpublic java.util.Calendar getLastUpdated()
getLastUpdated in interface VendorIfpublic void setLastUpdated(java.util.Calendar lastUpdated)
setLastUpdated in interface VendorIflastUpdated - the lastUpdated to setpublic java.util.Calendar getDateAdded()
getDateAdded in interface VendorIfpublic void setDateAdded(java.util.Calendar dateAdded)
setDateAdded in interface VendorIfdateAdded - the dateAdded to setCopyright © 2018 DS Data Systems UK Ltd.