Package io.goobi.viewer.model.search
Class SearchQueryItemLine
java.lang.Object
io.goobi.viewer.model.search.SearchQueryItemLine
- All Implemented Interfaces:
Serializable
Object representing a single line with operator + value(s) within an item.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldoperator.getValue()booleanisValueSet(String value) voidSetter for the fieldoperator.voidSetter for the fieldvalue.voidvoidvoidtoggleValue(String value) Sets/unsets the given value in the item, depending on the current status.
-
Constructor Details
-
SearchQueryItemLine
public SearchQueryItemLine()
-
-
Method Details
-
getOperator
Getter for the field
operator.- Returns:
- the operator
-
setOperator
Setter for the field
operator.- Parameters:
operator- the operator to set
-
getValue
- Returns:
- First value
-
setValue
Setter for the field
value.- Parameters:
value- the value to set
-
isValueSet
- Parameters:
value-- Returns:
- true if values contains given value; false otherwise
-
toggleValue
Sets/unsets the given value in the item, depending on the current status.- Parameters:
value- Value to set/unset
-
getValue2
- Returns:
- the value2
-
setValue2
- Parameters:
value2- the value2 to set
-
getValues
- Returns:
- the values
-
setValues
- Parameters:
values- the values to set
-