com.indexdata.mkjsf.pazpar2.commands
Class FilterParameter

java.lang.Object
  extended by com.indexdata.mkjsf.pazpar2.commands.CommandParameter
      extended by com.indexdata.mkjsf.pazpar2.commands.FilterParameter
All Implemented Interfaces:
Serializable

public class FilterParameter
extends CommandParameter

Represents a filter parameter as it applies to the Pazpar2 search command

A filter parameter consists of one or more expressions separated by commas.

Author:
Niels Erik
See Also:
Serialized Form

Constructor Summary
FilterParameter(Expression... expressions)
           
FilterParameter(String name)
           
 
Method Summary
 FilterParameter copy()
          Clones the CommandParameter
 String getValueWithExpressions()
          Returns the simple parameter value and/or any expressions, separated by 'AND'
 
Methods inherited from class com.indexdata.mkjsf.pazpar2.commands.CommandParameter
addExpression, equals, getEncodedQueryString, getExpressions, getExpressions, getName, getSimpleValue, hasExpressions, hasExpressions, hashCode, hasOperator, hasValue, removeExpression, removeExpressions, removeExpressionsAfter, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilterParameter

public FilterParameter(String name)

FilterParameter

public FilterParameter(Expression... expressions)
Method Detail

getValueWithExpressions

public String getValueWithExpressions()
Description copied from class: CommandParameter
Returns the simple parameter value and/or any expressions, separated by 'AND'

Overrides:
getValueWithExpressions in class CommandParameter
Returns:
the simple parameter value and/or any expressions separated by 'AND'

copy

public FilterParameter copy()
Description copied from class: CommandParameter
Clones the CommandParameter

Overrides:
copy in class CommandParameter
Returns:
a deep, detached clone of this command parameter, for copying a parameter to a new state.


Copyright © 2013. All Rights Reserved.