|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.konakart.app.Tag
public class Tag
An object that represents a tag used as metadata for products
Constructor Summary | |
---|---|
Tag()
Constructor |
|
Tag(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
Instantiates the attributes of the Tag object from a Record object |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Tag()
public Tag(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column names
com.workingdogs.village.DataSetException
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int getId()
getId
in interface TagIf
public void setId(int id)
setId
in interface TagIf
id
- The id to set.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()
getName
in interface TagIf
public void setName(java.lang.String name)
setName
in interface TagIf
name
- The name to set.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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |