| Constructor and Description |
|---|
Tag()
Constructor
|
Tag(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the Tag object from a Record object
|
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
int |
getLanguageId() |
java.lang.String |
getName() |
int |
getNumProducts()
The number of products for this tag
|
int |
getSortOrder() |
boolean |
isSelected()
This is set by the UI to determine whether a tag has been selected or not.
|
void |
setId(int id) |
void |
setLanguageId(int languageId) |
void |
setName(java.lang.String name) |
void |
setNumProducts(int numProducts)
The number of products for this tag
|
void |
setSelected(boolean selected)
This is set by the UI to determine whether a tag has been selected or not.
|
void |
setSortOrder(int sortOrder) |
java.lang.String |
toString() |
public Tag()
public Tag(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 int getLanguageId()
getLanguageId in interface TagIfpublic void setLanguageId(int languageId)
setLanguageId in interface TagIflanguageId - The languageId to set.public java.lang.String getName()
public void setName(java.lang.String name)
public int getSortOrder()
getSortOrder in interface TagIfpublic void setSortOrder(int sortOrder)
setSortOrder in interface TagIfsortOrder - The sortOrder to set.public boolean isSelected()
TagIfisSelected in interface TagIfpublic void setSelected(boolean selected)
TagIfsetSelected in interface TagIfselected - The selected to set.public int getNumProducts()
TagIfgetNumProducts in interface TagIfpublic void setNumProducts(int numProducts)
TagIfsetNumProducts in interface TagIfnumProducts - The numProducts to set.Copyright © 2018 DS Data Systems UK Ltd.