it.geosolutions.geonetwork.util
Enum GNSearchRequest.SortBy
java.lang.Object
java.lang.Enum<GNSearchRequest.SortBy>
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>
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
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.