org.apache.wink.common.model.opensearch
Class OpenSearchParameter

java.lang.Object
  extended by org.apache.wink.common.model.opensearch.OpenSearchParameter

public class OpenSearchParameter
extends java.lang.Object

Represents one search parameter in form of parameter_key={parameter}. Optional parameter can be specified by "?". For example: {parameter?}


Nested Class Summary
static class OpenSearchParameter.OpenSearchParams
          OpenSearch 1.1 parameters
 
Constructor Summary
OpenSearchParameter()
          Default constructor
OpenSearchParameter(java.lang.String iparameterKey, java.lang.String iparameterValue, boolean imandatory)
           
 
Method Summary
 java.lang.String getParameter()
           
 java.lang.String getParameterKey()
           
 java.lang.String getURLParameter()
           
 boolean isMandatory()
           
 void setMandatory(boolean isMandatory)
           
 void setParameter(java.lang.String value)
           
 void setParameterKey(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenSearchParameter

public OpenSearchParameter()
Default constructor


OpenSearchParameter

public OpenSearchParameter(java.lang.String iparameterKey,
                           java.lang.String iparameterValue,
                           boolean imandatory)
Method Detail

getParameterKey

public java.lang.String getParameterKey()

setParameterKey

public void setParameterKey(java.lang.String key)

getParameter

public java.lang.String getParameter()

setParameter

public void setParameter(java.lang.String value)

isMandatory

public boolean isMandatory()

setMandatory

public void setMandatory(boolean isMandatory)

getURLParameter

public java.lang.String getURLParameter()


Copyright © 2009 The Apache Software Foundation. All Rights Reserved.