com.indexdata.mkjsf.pazpar2.commands
Class LimitParameter

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

public class LimitParameter
extends CommandParameter

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

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

Author:
Niels Erik
See Also:
Serialized Form

Constructor Summary
LimitParameter(Expression... expressions)
           
LimitParameter(String name)
           
 
Method Summary
 LimitParameter 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

LimitParameter

public LimitParameter(String name)

LimitParameter

public LimitParameter(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 LimitParameter 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.