citysdk.tourism.client.terms
Enum ResourceTerms

java.lang.Object
  extended by java.lang.Enum<ResourceTerms>
      extended by citysdk.tourism.client.terms.ResourceTerms
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ResourceTerms>

public enum ResourceTerms
extends java.lang.Enum<ResourceTerms>

Terms used for resources

Author:
Pedro Cruz

Enum Constant Summary
FIND_CATEGORIES
          The term for the search for the list of categories
FIND_CODE
          The term for the search for QR or barcodes
FIND_EVENT
          The term for the search of an Event
FIND_EVENT_RELATION
          The term for the search of an Event through the use of relations
FIND_POI
          The term for the search of a POI
FIND_POI_RELATION
          The term for the search of a POI through the use of relations
FIND_ROUTE
          The term for the search of Routes
FIND_TAGS
          The term for the search for the list of tags
RESOURCE_EVENTS
          Just used to group the Event resource parameters
RESOURCE_POIS
          Just used to group the POI resource parameters
RESOURCE_ROUTES
          Just used to group the Route resource parameters
 
Method Summary
 boolean equalsTerm(java.lang.String term)
           
static ResourceTerms fromString(java.lang.String term)
           
 java.util.List<java.lang.String> getChildren()
           
 java.lang.String getTerm()
           
 boolean hasChildren()
           
static ResourceTerms valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ResourceTerms[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RESOURCE_POIS

public static final ResourceTerms RESOURCE_POIS
Just used to group the POI resource parameters


FIND_POI

public static final ResourceTerms FIND_POI
The term for the search of a POI


FIND_POI_RELATION

public static final ResourceTerms FIND_POI_RELATION
The term for the search of a POI through the use of relations


RESOURCE_EVENTS

public static final ResourceTerms RESOURCE_EVENTS
Just used to group the Event resource parameters


FIND_EVENT

public static final ResourceTerms FIND_EVENT
The term for the search of an Event


FIND_EVENT_RELATION

public static final ResourceTerms FIND_EVENT_RELATION
The term for the search of an Event through the use of relations


RESOURCE_ROUTES

public static final ResourceTerms RESOURCE_ROUTES
Just used to group the Route resource parameters


FIND_ROUTE

public static final ResourceTerms FIND_ROUTE
The term for the search of Routes


FIND_CATEGORIES

public static final ResourceTerms FIND_CATEGORIES
The term for the search for the list of categories


FIND_TAGS

public static final ResourceTerms FIND_TAGS
The term for the search for the list of tags


FIND_CODE

public static final ResourceTerms FIND_CODE
The term for the search for QR or barcodes

Method Detail

values

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

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

valueOf

public static ResourceTerms valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getChildren

public java.util.List<java.lang.String> getChildren()

hasChildren

public boolean hasChildren()

equalsTerm

public boolean equalsTerm(java.lang.String term)

getTerm

public java.lang.String getTerm()

fromString

public static ResourceTerms fromString(java.lang.String term)