com.arcao.geocaching.api.impl.live_geocaching_api.filter
Class NotFoundByUsersFilter

java.lang.Object
  extended by com.arcao.geocaching.api.impl.live_geocaching_api.filter.NotFoundByUsersFilter
All Implemented Interfaces:
JsonSerializable, Filter

public class NotFoundByUsersFilter
extends Object
implements Filter


Field Summary
protected  String[] userNames
           
 
Constructor Summary
NotFoundByUsersFilter(String... userNames)
           
 
Method Summary
 String getName()
          Get a name of filter
 String[] getUserNames()
           
 boolean isValid()
          Is filter valid, mean can be used?
 void writeJson(com.google.gson.stream.JsonWriter w)
          Called during serialization process and must be implemented.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userNames

protected String[] userNames
Constructor Detail

NotFoundByUsersFilter

public NotFoundByUsersFilter(String... userNames)
Method Detail

getUserNames

public String[] getUserNames()

isValid

public boolean isValid()
Description copied from interface: Filter
Is filter valid, mean can be used?

Specified by:
isValid in interface Filter
Returns:
true if the filter is valid otherwise false

writeJson

public void writeJson(com.google.gson.stream.JsonWriter w)
               throws IOException
Description copied from interface: JsonSerializable
Called during serialization process and must be implemented.

Specified by:
writeJson in interface JsonSerializable
Parameters:
w - JsonWriter object for writing output
Throws:
IOException - If I/O error occurs

getName

public String getName()
Description copied from interface: Filter
Get a name of filter

Specified by:
getName in interface Filter
Returns:
name of filter


Copyright © 2012. All Rights Reserved.