public class AdminCatalog
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
activationDate
activationDate
|
private java.util.Date |
dateLastCreated
The last time the catalog prices were automatically created
|
private java.lang.String |
description
description
|
private java.lang.String |
destinationCat
destinationCat
|
private int |
id
id
|
private java.lang.String |
name
name
|
private int |
type
Permanent catalogs are of type == 0.
|
private boolean |
useCatalogPrices
Use prices from this catalog
|
private boolean |
useCatalogQuantities
Use quantities from this catalog
|
Constructor and Description |
---|
AdminCatalog()
Constructor
|
AdminCatalog(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the Catalog object from a Record object
|
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getActivationDate() |
java.util.Date |
getDateLastCreated()
The last time the catalog prices were automatically created
|
java.lang.String |
getDescription() |
java.lang.String |
getDestinationCat() |
int |
getId() |
java.lang.String |
getName() |
int |
getType() |
boolean |
isUseCatalogPrices()
Use prices from this catalog
|
boolean |
isUseCatalogQuantities()
Use quantities from this catalog
|
void |
setActivationDate(java.util.Date activationDate) |
void |
setDateLastCreated(java.util.Date dateLastCreated)
The last time the catalog prices were automatically created
|
void |
setDescription(java.lang.String description) |
void |
setDestinationCat(java.lang.String destinationCat) |
void |
setId(int id) |
void |
setName(java.lang.String name) |
void |
setType(int type) |
void |
setUseCatalogPrices(boolean useCatalogPrices)
Use prices from this catalog
|
void |
setUseCatalogQuantities(boolean useCatalogQuantities)
Use quantities from this catalog
|
java.lang.String |
toString() |
private int id
private java.lang.String name
private java.lang.String description
private boolean useCatalogPrices
private boolean useCatalogQuantities
private java.util.Date dateLastCreated
private java.lang.String destinationCat
private int type
private java.util.Date activationDate
public AdminCatalog()
public AdminCatalog(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 getId()
public void setId(int id)
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 setpublic java.util.Date getDateLastCreated()
public void setDateLastCreated(java.util.Date dateLastCreated)
dateLastCreated
- the dateLastCreated to setpublic java.lang.String getDestinationCat()
public void setDestinationCat(java.lang.String destinationCat)
destinationCat
- the destinationCat to setpublic int getType()
public void setType(int type)
type
- the type to setpublic java.util.Date getActivationDate()
public void setActivationDate(java.util.Date activationDate)
activationDate
- the activationDate to setCopyright © 2018 DS Data Systems UK Ltd.