it.geosolutions.geonetwork.util
Enum GNSearchRequest.Config

java.lang.Object
  extended by java.lang.Enum<GNSearchRequest.Config>
      extended by it.geosolutions.geonetwork.util.GNSearchRequest.Config
All Implemented Interfaces:
Serializable, Comparable<GNSearchRequest.Config>
Enclosing class:
GNSearchRequest

public static enum GNSearchRequest.Config
extends Enum<GNSearchRequest.Config>

Config fields


Enum Constant Summary
extended
           
hitsPerPage
           
remote
           
similarity
           
sortBy
           
timeout
           
 
Method Summary
static GNSearchRequest.Config valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GNSearchRequest.Config[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

remote

public static final GNSearchRequest.Config remote

extended

public static final GNSearchRequest.Config extended

timeout

public static final GNSearchRequest.Config timeout

hitsPerPage

public static final GNSearchRequest.Config hitsPerPage

similarity

public static final GNSearchRequest.Config similarity

sortBy

public static final GNSearchRequest.Config sortBy
Method Detail

values

public static GNSearchRequest.Config[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GNSearchRequest.Config c : GNSearchRequest.Config.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GNSearchRequest.Config valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2011-2012 GeoSolutions. All Rights Reserved.