public class AttributeFilter extends Object implements ResultsFilter
LATEST_VERSION, VERSION_ID
Constructor and Description |
---|
AttributeFilter(RegistryAttributeWrapper raw,
String value) |
AttributeFilter(String name,
String value) |
Modifier and Type | Method and Description |
---|---|
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() |
public AttributeFilter(RegistryAttributeWrapper raw, String value) throws RegistryHandlerException
RegistryHandlerException
public AttributeFilter(String name, String value) throws RegistryHandlerException
RegistryHandlerException
public Object applyFilter(Object filter)
ResultsFilter
applyFilter
in interface ResultsFilter
filter
- ExtrinsicFilter.Builder object expectedvalue
- String value expected containing the expected attribute valuepublic Object applyFilter(RegistryClient client, Object filterObject) throws RegistryServiceException
ResultsFilter
applyFilter
in interface ResultsFilter
RegistryServiceException
public String getName()
public void setName(String name) throws RegistryHandlerException
RegistryHandlerException
public String getValue()
public void setValue(String value)
public RegistryAttributeWrapper getRaw()
public void setRaw(RegistryAttributeWrapper raw) throws RegistryHandlerException
RegistryHandlerException
Copyright © 2010–2017 Planetary Data System. All rights reserved.