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.Object
public java.lang.String getStoreId()
getStoreId
in interface VendorIf
public void setStoreId(java.lang.String storeId)
setStoreId
in interface VendorIf
storeId
- The storeId to set.public java.lang.String getVendorName()
VendorIf
getVendorName
in interface VendorIf
public void setVendorName(java.lang.String vendorName)
VendorIf
setVendorName
in interface VendorIf
vendorName
- the vendorName to setpublic java.lang.String getVendorDesc()
VendorIf
getVendorDesc
in interface VendorIf
public void setVendorDesc(java.lang.String vendorDesc)
VendorIf
setVendorDesc
in interface VendorIf
vendorDesc
- the vendorDesc to setpublic java.lang.String getCompanyId()
VendorIf
getCompanyId
in interface VendorIf
public void setCompanyId(java.lang.String companyId)
VendorIf
setCompanyId
in interface VendorIf
companyId
- the companyId to setpublic java.lang.String getCompanyTaxId()
VendorIf
getCompanyTaxId
in interface VendorIf
public void setCompanyTaxId(java.lang.String companyTaxId)
VendorIf
setCompanyTaxId
in interface VendorIf
companyTaxId
- the companyTaxId to setpublic java.math.BigDecimal getRating()
VendorIf
public void setRating(java.math.BigDecimal rating)
VendorIf
public int getNumberReviews()
VendorIf
getNumberReviews
in interface VendorIf
public void setNumberReviews(int numberReviews)
VendorIf
setNumberReviews
in interface VendorIf
numberReviews
- the numberReviews to setpublic java.lang.String getCustom1()
getCustom1
in interface VendorIf
public void setCustom1(java.lang.String custom1)
setCustom1
in interface VendorIf
custom1
- the custom1 to setpublic java.lang.String getCustom2()
getCustom2
in interface VendorIf
public void setCustom2(java.lang.String custom2)
setCustom2
in interface VendorIf
custom2
- the custom2 to setpublic java.lang.String getCustom3()
getCustom3
in interface VendorIf
public void setCustom3(java.lang.String custom3)
setCustom3
in interface VendorIf
custom3
- the custom3 to setpublic java.lang.String getCustom4()
getCustom4
in interface VendorIf
public void setCustom4(java.lang.String custom4)
setCustom4
in interface VendorIf
custom4
- the custom4 to setpublic java.lang.String getCustom5()
getCustom5
in interface VendorIf
public void setCustom5(java.lang.String custom5)
setCustom5
in interface VendorIf
custom5
- the custom5 to setpublic int getId()
VendorIf
public void setId(int id)
VendorIf
public int getDefaultAddrId()
VendorIf
getDefaultAddrId
in interface VendorIf
public void setDefaultAddrId(int defaultAddrId)
VendorIf
setDefaultAddrId
in interface VendorIf
defaultAddrId
- the defaultAddrId to setpublic AddressIf getDefaultAddr()
VendorIf
getDefaultAddr
in interface VendorIf
public void setDefaultAddr(AddressIf defaultAddr)
VendorIf
setDefaultAddr
in interface VendorIf
defaultAddr
- the defaultAddr to setpublic AddressIf[] getAddresses()
VendorIf
getAddresses
in interface VendorIf
public void setAddresses(AddressIf[] addresses)
VendorIf
setAddresses
in interface VendorIf
addresses
- the addresses to setpublic java.util.Calendar getLastUpdated()
getLastUpdated
in interface VendorIf
public void setLastUpdated(java.util.Calendar lastUpdated)
setLastUpdated
in interface VendorIf
lastUpdated
- the lastUpdated to setpublic java.util.Calendar getDateAdded()
getDateAdded
in interface VendorIf
public void setDateAdded(java.util.Calendar dateAdded)
setDateAdded
in interface VendorIf
dateAdded
- the dateAdded to setCopyright © 2018 DS Data Systems UK Ltd.