org.gcube.portlets.user.searchportlet.shared
Enum SearchAvailabilityType

java.lang.Object
  extended by java.lang.Enum<SearchAvailabilityType>
      extended by org.gcube.portlets.user.searchportlet.shared.SearchAvailabilityType
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, Serializable, Comparable<SearchAvailabilityType>

public enum SearchAvailabilityType
extends Enum<SearchAvailabilityType>
implements com.google.gwt.user.client.rpc.IsSerializable


Enum Constant Summary
FTS_GEO_AVAILABLE
           
FTS_NOGEO_AVAILABLE
           
GEO_NOFTS_AVAILABLE
           
MANY_COLLECTIONS_SELECTED
           
NO_COLLECTION_SELECTED
           
NOFTS_NOGEO_AVAILABLE
           
SEARCH_AVAILABLE
           
SEARCH_UNAVAILABLE
           
 
Method Summary
static SearchAvailabilityType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SearchAvailabilityType[] 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

NO_COLLECTION_SELECTED

public static final SearchAvailabilityType NO_COLLECTION_SELECTED

MANY_COLLECTIONS_SELECTED

public static final SearchAvailabilityType MANY_COLLECTIONS_SELECTED

SEARCH_UNAVAILABLE

public static final SearchAvailabilityType SEARCH_UNAVAILABLE

SEARCH_AVAILABLE

public static final SearchAvailabilityType SEARCH_AVAILABLE

FTS_NOGEO_AVAILABLE

public static final SearchAvailabilityType FTS_NOGEO_AVAILABLE

GEO_NOFTS_AVAILABLE

public static final SearchAvailabilityType GEO_NOFTS_AVAILABLE

FTS_GEO_AVAILABLE

public static final SearchAvailabilityType FTS_GEO_AVAILABLE

NOFTS_NOGEO_AVAILABLE

public static final SearchAvailabilityType NOFTS_NOGEO_AVAILABLE
Method Detail

values

public static SearchAvailabilityType[] 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 (SearchAvailabilityType c : SearchAvailabilityType.values())
    System.out.println(c);

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

valueOf

public static SearchAvailabilityType 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 © 2013. All Rights Reserved.