fr.cnes.sitools.properties.core
Class NumericPropertyFilter

java.lang.Object
  extended by fr.cnes.sitools.properties.AbstractPropertyFilter
      extended by fr.cnes.sitools.properties.core.NumericPropertyFilter

public class NumericPropertyFilter
extends AbstractPropertyFilter

Numeric filter type on property Handle search on Numeric property type

Author:
m.gond

Field Summary
 
Fields inherited from class fr.cnes.sitools.properties.AbstractPropertyFilter
PROPERTY, TEMPLATE_PARAM, TYPE, VALUES
 
Constructor Summary
NumericPropertyFilter()
           
 
Method Summary
 boolean match(org.restlet.Request request, org.restlet.Context context)
          Return true if the properties contained in the Context, matches the request parameters false otherwise
 
Methods inherited from class fr.cnes.sitools.properties.AbstractPropertyFilter
getProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericPropertyFilter

public NumericPropertyFilter()
Method Detail

match

public boolean match(org.restlet.Request request,
                     org.restlet.Context context)
Description copied from class: AbstractPropertyFilter
Return true if the properties contained in the Context, matches the request parameters false otherwise

Specified by:
match in class AbstractPropertyFilter
Parameters:
request - The Request containing the request parameters
context - the Context containing the properties (getContext().getAttributes().get(ContextAttributes.LIST_SITOOLS_PROPERTIES)
Returns:
true if the properties contains in the Context, matches the request parameters false otherwise


Copyright © 2010-2013 CNES. All Rights Reserved.