Constructor and Description |
---|
QueryJColibri(String beanClass)
Set the class that defines the bean object used as query.
|
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.
|
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.
|
@Inject public QueryJColibri(String beanClass)
beanClass
- name of the package and class of the bean class.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.Copyright © 2019. All rights reserved.