it.geosolutions.geonetwork.util
Enum GNSearchRequest.SortBy

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

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


Enum Constant Summary
changeDate
           
popularity
           
rating
           
relevance
           
title
           
 
Method Summary
static GNSearchRequest.SortBy valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GNSearchRequest.SortBy[] 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

relevance

public static final GNSearchRequest.SortBy relevance

rating

public static final GNSearchRequest.SortBy rating

popularity

public static final GNSearchRequest.SortBy popularity

changeDate

public static final GNSearchRequest.SortBy changeDate

title

public static final GNSearchRequest.SortBy title
Method Detail

values

public static GNSearchRequest.SortBy[] 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.SortBy c : GNSearchRequest.SortBy.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.SortBy 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.