|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.konakartadmin.app.AdminCatalog
public class AdminCatalog
Catalog object for AdminApp
Field Summary | |
---|---|
private java.lang.String |
description
description |
private int |
id
id |
private java.lang.String |
name
name |
private boolean |
useCatalogPrices
Use prices from this catalog |
private boolean |
useCatalogQuantities
Use quantities from this catalog |
Constructor Summary | |
---|---|
AdminCatalog()
Constructor |
|
AdminCatalog(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
Instantiates the attributes of the Catalog object from a Record object |
Method Summary | |
---|---|
java.lang.String |
getDescription()
|
int |
getId()
|
java.lang.String |
getName()
|
boolean |
isUseCatalogPrices()
Use prices from this catalog |
boolean |
isUseCatalogQuantities()
Use quantities from this catalog |
void |
setDescription(java.lang.String description)
|
void |
setId(int id)
|
void |
setName(java.lang.String name)
|
void |
setUseCatalogPrices(boolean useCatalogPrices)
Use prices from this catalog |
void |
setUseCatalogQuantities(boolean useCatalogQuantities)
Use quantities from this catalog |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int id
private java.lang.String name
private java.lang.String description
private boolean useCatalogPrices
private boolean useCatalogQuantities
Constructor Detail |
---|
public AdminCatalog()
public AdminCatalog(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column names
com.workingdogs.village.DataSetException
Method Detail |
---|
public java.lang.String toString()
toString
in interface AdminObjectIf
toString
in class java.lang.Object
public int getId()
getId
in interface AdminObjectIf
public void setId(int id)
setId
in interface AdminObjectIf
id
- the id to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description to setpublic boolean isUseCatalogPrices()
public void setUseCatalogPrices(boolean useCatalogPrices)
useCatalogPrices
- the useCatalogPrices to setpublic boolean isUseCatalogQuantities()
public void setUseCatalogQuantities(boolean useCatalogQuantities)
useCatalogQuantities
- the useCatalogQuantities to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |