- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 36 of file DaoSearchKey.java.
◆ DaoSearchKey()
org.turro.jpa.search.DaoSearchKey.DaoSearchKey |
( |
String |
name, |
|
|
String |
type |
|
) |
| |
Definition at line 43 of file DaoSearchKey.java.
46 attributes =
new HashMap<>();
47 options =
new ArrayList<>();
◆ applyToQuery()
boolean org.turro.jpa.search.DaoSearchKey.applyToQuery |
( |
WhereClause |
wc, |
|
|
List< String > |
fields, |
|
|
boolean |
withSynonyms |
|
) |
| |
◆ applyToQueryFull()
boolean org.turro.jpa.search.DaoSearchKey.applyToQueryFull |
( |
WhereClause |
wc, |
|
|
String |
fields, |
|
|
boolean |
withSynonyms |
|
) |
| |
◆ getAttributes()
HashMap<String, String> org.turro.jpa.search.DaoSearchKey.getAttributes |
( |
| ) |
|
◆ getName()
String org.turro.jpa.search.DaoSearchKey.getName |
( |
| ) |
|
◆ getOptions()
ArrayList<String> org.turro.jpa.search.DaoSearchKey.getOptions |
( |
| ) |
|
◆ getTag()
String org.turro.jpa.search.DaoSearchKey.getTag |
( |
| ) |
|
◆ getType()
String org.turro.jpa.search.DaoSearchKey.getType |
( |
| ) |
|
◆ getValue() [1/2]
String org.turro.jpa.search.DaoSearchKey.getValue |
( |
| ) |
|
◆ getValue() [2/2]
String org.turro.jpa.search.DaoSearchKey.getValue |
( |
String |
defaultValue | ) |
|
Definition at line 66 of file DaoSearchKey.java.
67 return value ==
null ? defaultValue : value;
◆ readParam()
void org.turro.jpa.search.DaoSearchKey.readParam |
( |
IConstructor |
constructor | ) |
|
◆ readXML()
void org.turro.jpa.search.DaoSearchKey.readXML |
( |
Element |
item | ) |
|
Definition at line 82 of file DaoSearchKey.java.
84 for(Object attr : item.getAttributes()) {
85 if(attr instanceof Attribute) {
86 Attribute attribute = (Attribute) attr;
87 String name = attribute.getName();
88 if(!name.equals(
"name") && !name.equals(
"type")) {
89 attributes.put(name, attribute.getValue());
93 for(Element option : (List<Element>) item.getChildren()) {
94 options.add(option.getTextNormalize());
◆ setValue()
void org.turro.jpa.search.DaoSearchKey.setValue |
( |
String |
value | ) |
|
The documentation for this class was generated from the following file: