gov.nasa.pds.registry.client.results
Class AttributeFilter
java.lang.Object
gov.nasa.pds.registry.client.results.AttributeFilter
- All Implemented Interfaces:
- ResultsFilter
public class AttributeFilter
- extends Object
- implements ResultsFilter
AttributeFilter
public AttributeFilter(RegistryAttributeWrapper raw,
String value)
throws RegistryHandlerException
- Throws:
RegistryHandlerException
AttributeFilter
public AttributeFilter(String name,
String value)
throws RegistryHandlerException
- Throws:
RegistryHandlerException
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 expectedvalue
- 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.