public class ProductRelationship extends java.lang.Object implements ProductRelationshipIf
| Constructor and Description |
|---|
ProductRelationship()
Constructor
|
ProductRelationship(com.workingdogs.village.Record vr,
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() |
int |
getProdIdFrom() |
int |
getProdIdTo() |
java.lang.String |
getProdOptions()
Only used for bundles
|
int |
getProductId() |
int |
getQuantity()
Only used for bundles
|
int |
getRelationType() |
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setProdIdFrom(int prodIdFrom) |
void |
setProdIdTo(int prodIdTo) |
void |
setProdOptions(java.lang.String prodOptions)
Only used for bundles
|
void |
setProductId(int productId) |
void |
setQuantity(int quantity)
Only used for bundles
|
void |
setRelationType(int relationType) |
java.lang.String |
toString() |
public ProductRelationship()
public ProductRelationship(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 int getProductId()
getProductId in interface ProductRelationshipIfpublic void setProductId(int productId)
setProductId in interface ProductRelationshipIfproductId - the productId to setpublic int getRelationType()
getRelationType in interface ProductRelationshipIfpublic void setRelationType(int relationType)
setRelationType in interface ProductRelationshipIfrelationType - the relationType to setpublic java.lang.String getCustom1()
getCustom1 in interface ProductRelationshipIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface ProductRelationshipIfcustom1 - the custom1 to setpublic java.lang.String getCustom2()
getCustom2 in interface ProductRelationshipIfpublic void setCustom2(java.lang.String custom2)
setCustom2 in interface ProductRelationshipIfcustom2 - the custom2 to setpublic int getQuantity()
getQuantity in interface ProductRelationshipIfpublic void setQuantity(int quantity)
setQuantity in interface ProductRelationshipIfquantity - the quantity to setpublic java.lang.String getProdOptions()
getProdOptions in interface ProductRelationshipIfpublic void setProdOptions(java.lang.String prodOptions)
setProdOptions in interface ProductRelationshipIfprodOptions - the prodOptions to setpublic int getProdIdFrom()
getProdIdFrom in interface ProductRelationshipIfpublic void setProdIdFrom(int prodIdFrom)
setProdIdFrom in interface ProductRelationshipIfprodIdFrom - the prodIdFrom to setpublic int getProdIdTo()
getProdIdTo in interface ProductRelationshipIfpublic void setProdIdTo(int prodIdTo)
setProdIdTo in interface ProductRelationshipIfprodIdTo - the prodIdTo to setCopyright © 2018 DS Data Systems UK Ltd.