public class AdminVendor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private AdminAddress[] |
addresses
Addresses
|
private java.lang.String |
companyId
company identifier such as the company registration number
|
private java.lang.String |
companyTaxId
company tax identifier field such as the VAT number
|
private java.lang.String |
custom1
custom1
|
private java.lang.String |
custom2
custom2
|
private java.lang.String |
custom3
custom3
|
private java.lang.String |
custom4
custom4
|
private java.lang.String |
custom5
custom5
|
private java.util.Date |
dateAdded
Date time of insert
|
private AdminAddress |
defaultAddr
defaultAddr
|
private int |
defaultAddrId
defaultAddrId
|
private int |
id
Id
|
private java.util.Date |
lastUpdated
Date time of last update
|
private int |
numberReviews
The number of reviews available for the vendor
|
private java.math.BigDecimal |
rating
Rating based on customer reviews
|
private java.lang.String |
storeId
storeId
|
private java.lang.String |
vendorDesc
vendor description
|
private java.lang.String |
vendorName
vendor name
|
Constructor and Description |
---|
AdminVendor()
Empty Constructor
|
AdminVendor(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the AdminVendor object from a Record object
|
Modifier and Type | Method and Description |
---|---|
AdminAddress[] |
getAddresses() |
java.lang.String |
getCompanyId() |
java.lang.String |
getCompanyTaxId() |
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.lang.String |
getCustom5() |
java.util.Date |
getDateAdded() |
AdminAddress |
getDefaultAddr() |
int |
getDefaultAddrId() |
int |
getId() |
java.util.Date |
getLastUpdated() |
int |
getNumberReviews() |
java.math.BigDecimal |
getRating() |
java.lang.String |
getStoreId()
Used in multi-store mode to configure the engine to use the correct store.
|
java.lang.String |
getVendorDesc() |
java.lang.String |
getVendorName() |
void |
setAddresses(AdminAddress[] addresses) |
void |
setCompanyId(java.lang.String companyId) |
void |
setCompanyTaxId(java.lang.String companyTaxId) |
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.Date dateAdded) |
void |
setDefaultAddr(AdminAddress defaultAddr) |
void |
setDefaultAddrId(int defaultAddrId) |
void |
setId(int id) |
void |
setLastUpdated(java.util.Date lastUpdated) |
void |
setNumberReviews(int numberReviews) |
void |
setRating(java.math.BigDecimal rating) |
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) |
void |
setVendorName(java.lang.String vendorName) |
java.lang.String |
toString() |
private int id
private java.lang.String storeId
private java.lang.String vendorName
private java.lang.String vendorDesc
private java.lang.String companyId
private java.lang.String companyTaxId
private java.math.BigDecimal rating
private int numberReviews
private java.lang.String custom1
private java.lang.String custom2
private java.lang.String custom3
private java.lang.String custom4
private java.lang.String custom5
private java.util.Date lastUpdated
private java.util.Date dateAdded
private int defaultAddrId
private AdminAddress defaultAddr
private AdminAddress[] addresses
public AdminVendor()
public AdminVendor(com.workingdogs.village.Record vr, com.konakart.db.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()
public void setStoreId(java.lang.String storeId)
storeId
- The storeId to set.public java.lang.String getVendorName()
public void setVendorName(java.lang.String vendorName)
vendorName
- the vendorName to setpublic java.lang.String getVendorDesc()
public void setVendorDesc(java.lang.String vendorDesc)
vendorDesc
- the vendorDesc to setpublic java.lang.String getCompanyId()
public void setCompanyId(java.lang.String companyId)
companyId
- the companyId to setpublic java.lang.String getCompanyTaxId()
public void setCompanyTaxId(java.lang.String companyTaxId)
companyTaxId
- the companyTaxId to setpublic java.math.BigDecimal getRating()
public void setRating(java.math.BigDecimal rating)
rating
- the rating to setpublic int getNumberReviews()
public void setNumberReviews(int numberReviews)
numberReviews
- the numberReviews to setpublic java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setpublic java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- the custom2 to setpublic java.lang.String getCustom3()
public void setCustom3(java.lang.String custom3)
custom3
- the custom3 to setpublic java.lang.String getCustom4()
public void setCustom4(java.lang.String custom4)
custom4
- the custom4 to setpublic java.lang.String getCustom5()
public void setCustom5(java.lang.String custom5)
custom5
- the custom5 to setpublic java.util.Date getLastUpdated()
public void setLastUpdated(java.util.Date lastUpdated)
lastUpdated
- the lastUpdated to setpublic java.util.Date getDateAdded()
public void setDateAdded(java.util.Date dateAdded)
dateAdded
- the dateAdded to setpublic AdminAddress getDefaultAddr()
public void setDefaultAddr(AdminAddress defaultAddr)
defaultAddr
- the defaultAddr to setpublic AdminAddress[] getAddresses()
public void setAddresses(AdminAddress[] addresses)
addresses
- the addresses to setpublic int getId()
public void setId(int id)
id
- the id to setpublic int getDefaultAddrId()
public void setDefaultAddrId(int defaultAddrId)
defaultAddrId
- the defaultAddrId to setCopyright © 2018 DS Data Systems UK Ltd.