gov.nasa.pds.registry.client.results
Class SlotFilter
java.lang.Object
gov.nasa.pds.registry.client.results.SlotFilter
- All Implemented Interfaces:
- ResultsFilter
public class SlotFilter
- extends Object
- implements ResultsFilter
name
protected String name
value
protected String value
SlotFilter
public SlotFilter(String name,
String value)
throws RegistryHandlerException
- Throws:
RegistryHandlerException
applyFilter
public Object applyFilter(Object filterObject)
- Check the input "filter" (ExtrinsicObject) contains the
"value" (Slot)
- Specified by:
applyFilter
in interface ResultsFilter
- Returns:
- if object passes through filter, returns the filterObject
else returns null
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)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2010–2015 Planetary Data System. All rights reserved.