|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.konakartadmin.app.AdminProductOption
public class AdminProductOption
Product Option object for the Admin App
Field Summary | |
---|---|
private java.lang.String |
custom1
custom field |
private java.lang.String |
custom2
custom field |
private int |
id
id |
private int |
languageId
languageId |
private java.lang.String |
name
name |
private int |
type
type of option |
static int |
TYPE_SIMPLE
Constant to define the Option type |
static int |
TYPE_VARIABLE_QUANTITY
Constant to define the Option type. |
private AdminProductOptionValue[] |
values
Array of values |
Constructor Summary | |
---|---|
AdminProductOption()
Constructor |
|
AdminProductOption(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
|
Method Summary | |
---|---|
java.lang.String |
getCustom1()
|
java.lang.String |
getCustom2()
|
int |
getId()
|
int |
getLanguageId()
|
java.lang.String |
getName()
|
int |
getType()
The type of option. |
AdminProductOptionValue[] |
getValues()
|
void |
setCustom1(java.lang.String custom1)
|
void |
setCustom2(java.lang.String custom2)
|
void |
setId(int id)
|
void |
setLanguageId(int languageId)
|
void |
setName(java.lang.String name)
|
void |
setType(int type)
The type of option. |
void |
setValues(AdminProductOptionValue[] values)
|
java.lang.String |
toString()
|
java.lang.String |
toStringBrief()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int TYPE_SIMPLE
public static final int TYPE_VARIABLE_QUANTITY
private int id
private int languageId
private java.lang.String name
private int type
private java.lang.String custom1
private java.lang.String custom2
private AdminProductOptionValue[] values
Constructor Detail |
---|
public AdminProductOption()
public AdminProductOption(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c) throws com.workingdogs.village.DataSetException
vr
- c
-
com.workingdogs.village.DataSetException
Method Detail |
---|
public java.lang.String toString()
toString
in interface AdminObjectIf
toString
in class java.lang.Object
public java.lang.String toStringBrief()
public int getId()
getId
in interface AdminObjectIf
public void setId(int id)
setId
in interface AdminObjectIf
id
- The id to set.public int getLanguageId()
public void setLanguageId(int languageId)
languageId
- The languageId to set.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public AdminProductOptionValue[] getValues()
public void setValues(AdminProductOptionValue[] values)
values
- The values to set.public int getType()
public void setType(int type)
type
- the type 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 set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |