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.Object
public void setId(int id)
public int getLanguageId()
getLanguageId
in interface TagIf
public void setLanguageId(int languageId)
setLanguageId
in interface TagIf
languageId
- The languageId to set.public java.lang.String getName()
public void setName(java.lang.String name)
public int getSortOrder()
getSortOrder
in interface TagIf
public void setSortOrder(int sortOrder)
setSortOrder
in interface TagIf
sortOrder
- The sortOrder to set.public boolean isSelected()
TagIf
isSelected
in interface TagIf
public void setSelected(boolean selected)
TagIf
setSelected
in interface TagIf
selected
- The selected to set.public int getNumProducts()
TagIf
getNumProducts
in interface TagIf
public void setNumProducts(int numProducts)
TagIf
setNumProducts
in interface TagIf
numProducts
- The numProducts to set.Copyright © 2018 DS Data Systems UK Ltd.