protected class AbstractSearchGenerator.Criterion extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
_fieldName
Form field name.
|
protected String |
_luceneTermName
Lucene field name.
|
protected Map<String,I18nizableText> |
_values
Value list.
|
protected String |
_xmlElementName
XML element name.
|
protected String |
_xmlGroupName
XML group name.
|
Constructor and Description |
---|
Criterion()
Build a new form field.
|
Criterion(String fieldName,
String xmlGroupName,
Map<String,I18nizableText> values)
Build a new form field.
|
Criterion(String fieldName,
String luceneTermName,
String xmlGroupName,
Map<String,I18nizableText> values)
Build a new form field.
|
Criterion(String fieldName,
String luceneTermName,
String xmlElementName,
String xmlGroupName,
Map<String,I18nizableText> values)
Build a new form field.
|
Modifier and Type | Method and Description |
---|---|
String |
getFieldName()
Get the fieldName.
|
String |
getLuceneTermName()
Get the luceneTermName.
|
Map<String,I18nizableText> |
getValues()
Get the values.
|
String |
getXmlElementName()
Get the xmlElementName.
|
String |
getXmlGroupName()
Get the xmlGroupName.
|
void |
setFieldName(String fieldName)
Set the fieldName.
|
void |
setLuceneTermName(String luceneTermName)
Set the luceneTermName.
|
void |
setValues(Map<String,I18nizableText> values)
Set the values.
|
void |
setXmlElementName(String xmlElementName)
Set the xmlElementName.
|
void |
setXmlGroupName(String xmlGroupName)
Set the xmlGroupName.
|
protected String _fieldName
protected String _luceneTermName
protected String _xmlElementName
protected String _xmlGroupName
protected Map<String,I18nizableText> _values
public Criterion()
public Criterion(String fieldName, String xmlGroupName, Map<String,I18nizableText> values)
fieldName
- the field's namexmlGroupName
- the name of the xml groupvalues
- the values' listpublic Criterion(String fieldName, String luceneTermName, String xmlGroupName, Map<String,I18nizableText> values)
fieldName
- the field's nameluceneTermName
- the name of the lucene termxmlGroupName
- the name of the xml groupvalues
- the values' listpublic Criterion(String fieldName, String luceneTermName, String xmlElementName, String xmlGroupName, Map<String,I18nizableText> values)
fieldName
- the name of the fieldluceneTermName
- the name of the lucene termxmlElementName
- the name of the xml elementxmlGroupName
- the name of the xml groupvalues
- the values' listpublic String getFieldName()
public void setFieldName(String fieldName)
fieldName
- the fieldName to setpublic String getLuceneTermName()
public void setLuceneTermName(String luceneTermName)
luceneTermName
- the luceneTermName to setpublic String getXmlElementName()
public void setXmlElementName(String xmlElementName)
xmlElementName
- the xmlElementName to setpublic String getXmlGroupName()
public void setXmlGroupName(String xmlGroupName)
xmlGroupName
- the xmlGroupName to setpublic Map<String,I18nizableText> getValues()
public void setValues(Map<String,I18nizableText> values)
values
- the values to set