public class ManufacturerSearch extends java.lang.Object implements ManufacturerSearchIf
Constructor and Description |
---|
ManufacturerSearch()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCatalogId()
The id of the catalog which contains dynamic product information such as the price and
quantity
|
int |
getCategoryId()
If value is a positive number it is used as a constraint to find all manufacturers of
products within that category.
|
int |
getManufacturerId()
If value is a positive number it is used as a constraint to find the manufacturer with a
matching id.
|
java.lang.String |
getName()
If not null, it is used as a constraint .
|
int |
getNameRule()
The rule for the search constraint.
|
int |
getProductId()
If value is a positive number it is used as a constraint to find the manufacturer for the
product with matching id.
|
boolean |
isSearchInSubCats()
When there is a category constraint, the manufacturers are searched for in the category
defined by categoryId as well as its sub-categories
|
void |
setCatalogId(java.lang.String catalogId)
The id of the catalog which contains dynamic product information such as the price and
quantity
|
void |
setCategoryId(int categoryId)
If value is a positive number it is used as a constraint to find all manufacturers of
products within that category.
|
void |
setManufacturerId(int manufacturerId)
If value is a positive number it is used as a constraint to find the manufacturer with a
matching id.
|
void |
setName(java.lang.String name)
If not null, it is used as a constraint .
|
void |
setNameRule(int nameRule)
The rule for the search constraint.
|
void |
setProductId(int productId)
If value is a positive number it is used as a constraint to find the manufacturer for the
product with matching id.
|
void |
setSearchInSubCats(boolean searchInSubCats)
When there is a category constraint, the manufacturers are searched for in the category
defined by categoryId as well as its sub-categories
|
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringBrief()
public java.lang.String getName()
ManufacturerSearchIf
getName
in interface ManufacturerSearchIf
public void setName(java.lang.String name)
ManufacturerSearchIf
setName
in interface ManufacturerSearchIf
name
- the name to setpublic int getNameRule()
ManufacturerSearchIf
getNameRule
in interface ManufacturerSearchIf
public void setNameRule(int nameRule)
ManufacturerSearchIf
setNameRule
in interface ManufacturerSearchIf
nameRule
- the nameRule to setpublic int getCategoryId()
ManufacturerSearchIf
getCategoryId
in interface ManufacturerSearchIf
public void setCategoryId(int categoryId)
ManufacturerSearchIf
setCategoryId
in interface ManufacturerSearchIf
categoryId
- the categoryId to setpublic int getManufacturerId()
ManufacturerSearchIf
getManufacturerId
in interface ManufacturerSearchIf
public void setManufacturerId(int manufacturerId)
ManufacturerSearchIf
setManufacturerId
in interface ManufacturerSearchIf
manufacturerId
- the manufacturerId to setpublic int getProductId()
ManufacturerSearchIf
getProductId
in interface ManufacturerSearchIf
public void setProductId(int productId)
ManufacturerSearchIf
setProductId
in interface ManufacturerSearchIf
productId
- the productId to setpublic boolean isSearchInSubCats()
ManufacturerSearchIf
isSearchInSubCats
in interface ManufacturerSearchIf
public void setSearchInSubCats(boolean searchInSubCats)
ManufacturerSearchIf
setSearchInSubCats
in interface ManufacturerSearchIf
searchInSubCats
- the searchInSubCats to setpublic java.lang.String getCatalogId()
getCatalogId
in interface ManufacturerSearchIf
public void setCatalogId(java.lang.String catalogId)
setCatalogId
in interface ManufacturerSearchIf
catalogId
- the catalogId to setCopyright © 2018 DS Data Systems UK Ltd.