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.Object
public void setId(int id)
public java.lang.String getDescription()
getDescription
in interface CatalogIf
public void setDescription(java.lang.String description)
setDescription
in interface CatalogIf
description
- the description to setpublic boolean isUseCatalogPrices()
isUseCatalogPrices
in interface CatalogIf
public void setUseCatalogPrices(boolean useCatalogPrices)
setUseCatalogPrices
in interface CatalogIf
useCatalogPrices
- the useCatalogPrices to setpublic boolean isUseCatalogQuantities()
isUseCatalogQuantities
in interface CatalogIf
public void setUseCatalogQuantities(boolean useCatalogQuantities)
setUseCatalogQuantities
in interface CatalogIf
useCatalogQuantities
- the useCatalogQuantities to setpublic java.util.Calendar getDateLastCreated()
getDateLastCreated
in interface CatalogIf
public void setDateLastCreated(java.util.Calendar dateLastCreated)
setDateLastCreated
in interface CatalogIf
dateLastCreated
- the dateLastCreated to setpublic java.lang.String getKey()
public void setKey(java.lang.String key)
public java.lang.String getDestinationCat()
getDestinationCat
in interface CatalogIf
public void setDestinationCat(java.lang.String destinationCat)
setDestinationCat
in interface CatalogIf
destinationCat
- the destinationCat to setpublic int getType()
CatalogIf
public void setType(int type)
CatalogIf
public java.util.Calendar getActivationDate()
getActivationDate
in interface CatalogIf
public void setActivationDate(java.util.Calendar activationDate)
setActivationDate
in interface CatalogIf
activationDate
- the activationDate to setCopyright © 2018 DS Data Systems UK Ltd.