public class AdminProductRelationship
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
custom1
custom1
|
private java.lang.String |
custom2
custom2
|
private java.lang.String |
prodOptions
prodOptions
|
private int |
productId
productId
|
private int |
quantity
quantity
|
private int |
relationType
relationType
|
Constructor and Description |
---|
AdminProductRelationship()
Constructor
|
AdminProductRelationship(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the Product object from a Record object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getProdOptions() |
int |
getProductId() |
int |
getQuantity() |
int |
getRelationType() |
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setProdOptions(java.lang.String prodOptions) |
void |
setProductId(int productId) |
void |
setQuantity(int quantity) |
void |
setRelationType(int relationType) |
java.lang.String |
toString() |
private int productId
private int relationType
private int quantity
private java.lang.String prodOptions
private java.lang.String custom1
private java.lang.String custom2
public AdminProductRelationship()
public AdminProductRelationship(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 int getProductId()
public void setProductId(int productId)
productId
- the productId to setpublic int getRelationType()
public void setRelationType(int relationType)
relationType
- the relationType 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 int getQuantity()
public void setQuantity(int quantity)
quantity
- the quantity to setpublic java.lang.String getProdOptions()
public void setProdOptions(java.lang.String prodOptions)
prodOptions
- the prodOptions to setCopyright © 2018 DS Data Systems UK Ltd.