| Constructor and Description |
|---|
Catalog()
Constructor
|
Catalog(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the Catalog object from a Record object
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Calendar |
getActivationDate() |
java.util.Calendar |
getDateLastCreated()
The last time the catalog prices were automatically created
|
java.lang.String |
getDescription() |
java.lang.String |
getDestinationCat() |
int |
getId() |
java.lang.String |
getKey() |
int |
getType()
Permanent catalogs are of type == 0.
|
boolean |
isUseCatalogPrices()
Use prices from this catalog
|
boolean |
isUseCatalogQuantities()
Use quantities from this catalog
|
void |
setActivationDate(java.util.Calendar activationDate) |
void |
setDateLastCreated(java.util.Calendar 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 |
setKey(java.lang.String key) |
void |
setType(int type)
Permanent catalogs are of type == 0.
|
void |
setUseCatalogPrices(boolean useCatalogPrices)
Use prices from this catalog
|
void |
setUseCatalogQuantities(boolean useCatalogQuantities)
Use quantities from this catalog
|
java.lang.String |
toString() |
public Catalog()
public Catalog(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 void setId(int id)
public java.lang.String getDescription()
getDescription in interface CatalogIfpublic void setDescription(java.lang.String description)
setDescription in interface CatalogIfdescription - the description to setpublic boolean isUseCatalogPrices()
isUseCatalogPrices in interface CatalogIfpublic void setUseCatalogPrices(boolean useCatalogPrices)
setUseCatalogPrices in interface CatalogIfuseCatalogPrices - the useCatalogPrices to setpublic boolean isUseCatalogQuantities()
isUseCatalogQuantities in interface CatalogIfpublic void setUseCatalogQuantities(boolean useCatalogQuantities)
setUseCatalogQuantities in interface CatalogIfuseCatalogQuantities - the useCatalogQuantities to setpublic java.util.Calendar getDateLastCreated()
getDateLastCreated in interface CatalogIfpublic void setDateLastCreated(java.util.Calendar dateLastCreated)
setDateLastCreated in interface CatalogIfdateLastCreated - the dateLastCreated to setpublic java.lang.String getKey()
public void setKey(java.lang.String key)
public java.lang.String getDestinationCat()
getDestinationCat in interface CatalogIfpublic void setDestinationCat(java.lang.String destinationCat)
setDestinationCat in interface CatalogIfdestinationCat - the destinationCat to setpublic int getType()
CatalogIfpublic void setType(int type)
CatalogIfpublic java.util.Calendar getActivationDate()
getActivationDate in interface CatalogIfpublic void setActivationDate(java.util.Calendar activationDate)
setActivationDate in interface CatalogIfactivationDate - the activationDate to setCopyright © 2018 DS Data Systems UK Ltd.