gov.nasa.pds.registry.client.results
Class AttributeFilter

java.lang.Object
  extended by gov.nasa.pds.registry.client.results.AttributeFilter
All Implemented Interfaces:
ResultsFilter

public class AttributeFilter
extends Object
implements ResultsFilter


Field Summary
 
Fields inherited from interface gov.nasa.pds.registry.client.results.ResultsFilter
LATEST_VERSION, VERSION_ID
 
Constructor Summary
AttributeFilter(RegistryAttributeWrapper raw, String value)
           
AttributeFilter(String name, String value)
           
 
Method Summary
 Object applyFilter(Object filter)
          Apply the filter on the object.
 Object applyFilter(RegistryClient client, Object filterObject)
          Apply the filter on the object and also pass a registry client object for potential queries to the registry
 String getName()
           
 RegistryAttributeWrapper getRaw()
           
 String getValue()
           
 void setName(String name)
           
 void setRaw(RegistryAttributeWrapper raw)
           
 void setValue(String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeFilter

public AttributeFilter(RegistryAttributeWrapper raw,
                       String value)
                throws RegistryHandlerException
Throws:
RegistryHandlerException

AttributeFilter

public AttributeFilter(String name,
                       String value)
                throws RegistryHandlerException
Throws:
RegistryHandlerException
Method Detail

applyFilter

public Object applyFilter(Object filter)
Description copied from interface: ResultsFilter
Apply the filter on the object.

Specified by:
applyFilter in interface ResultsFilter
Parameters:
filter - ExtrinsicFilter.Builder object expected
value - String value expected containing the expected attribute value
Returns:
ExtrinsicFilter.Builder with updated filter or the filter object that was input

applyFilter

public Object applyFilter(RegistryClient client,
                          Object filterObject)
                   throws RegistryServiceException
Description copied from interface: ResultsFilter
Apply the filter on the object and also pass a registry client object for potential queries to the registry

Specified by:
applyFilter in interface ResultsFilter
Returns:
Throws:
RegistryServiceException

getName

public String getName()

setName

public void setName(String name)
             throws RegistryHandlerException
Throws:
RegistryHandlerException

getValue

public String getValue()

setValue

public void setValue(String value)

getRaw

public RegistryAttributeWrapper getRaw()

setRaw

public void setRaw(RegistryAttributeWrapper raw)
            throws RegistryHandlerException
Throws:
RegistryHandlerException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010–2014 Planetary Data System. All rights reserved.