public class MahoutCFItemQuery extends Object implements Query
RecommenderMahoutCFItem
. It
contains the item identity.Constructor and Description |
---|
MahoutCFItemQuery() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAttributesNames()
Method to obtain the name of all attributes contained in the bean object.
|
Object |
getAttributeValue(String attribute)
Method to get the value asigned in an bean's attribute.
|
long |
getItemId() |
void |
initialize()
Method to build an empty bean object.
|
void |
setAttributeValue(String attributeName,
Object value)
Method to add a value to an attribute of the query bean.
|
void |
setItemId(Object itemId) |
public void initialize()
Query
initialize
in interface Query
public List<String> getAttributesNames()
Query
getAttributesNames
in interface Query
public void setAttributeValue(String attributeName, Object value)
Query
setAttributeValue
in interface Query
attributeName
- name of the attribute to set the value.value
- value to set in the bean's attribute.public Object getAttributeValue(String attribute)
Query
getAttributeValue
in interface Query
attribute
- name of the attribute to get the value.public void setItemId(Object itemId)
public long getItemId()
Copyright © 2019. All rights reserved.