citysdk.tourism.client.terms
Enum Term

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

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

Terms used within the JSON message. These can be used to read data (with DataReader) so to get the values of given fields within a POI based class.

Author:
Pedro Cruz

Enum Constant Summary
AUTHOR_TERM_CONTRIBUTER
           
AUTHOR_TERM_EDITOR
           
AUTHOR_TERM_PRIMARY
          Author terms
AUTHOR_TERM_PUBLISHER
           
AUTHOR_TERM_SECONDARY
           
LABEL_TERM_NOTE
           
LABEL_TERM_PRIMARY
          Label terms
LINK_TERM_ALTERNATE
          POI source information
LINK_TERM_CANONICAL
          a identical POI.
LINK_TERM_CHILD
          a parent POI, often the enclosing geographic entity, or the entity this POI in under the domain of (such as a field office-corporate headquarters relationship)
LINK_TERM_COPYRIGHT
          the preferred version of a set of POIs with highly similar content.
LINK_TERM_DESCRIBEDBY
          a copyright statement that applys to the link's context
LINK_TERM_EDIT
          more information about this POI
LINK_TERM_ENCLOSURE
          a resource that can be used to edit the POI's context
LINK_TERM_FUTURE
          links to a POI or other web resource that describes this place at a previous point in time
LINK_TERM_HISTORIC
          a child POI, often a geography entity enclosed or under the domain of this POI
LINK_TERM_ICON
          a related resource that is potentially large and might require special handling
LINK_TERM_LATEST_VERSION
           
LINK_TERM_LICENSE
          points to a resource containing the latest version
LINK_TERM_PARENT
          a resource that can be used to search through the link's context and related resources
LINK_TERM_RELATED
          a license for this POI
LINK_TERM_SEARCH
          a related resource
LINK_TERM_SOURCE
          Link terms
POINT_TERM_CENTER
          Point terms
POINT_TERM_ENTRANCE
           
POINT_TERM_NAVIGATION_POINT
           
RELATIONSHIP_TERM_CONTAINS
           
RELATIONSHIP_TERM_CROSSES
           
RELATIONSHIP_TERM_DISJOINT
           
RELATIONSHIP_TERM_EQUALS
          Relationship terms
RELATIONSHIP_TERM_OVERLAPS
           
RELATIONSHIP_TERM_TOUCHES
           
RELATIONSHIP_TERM_WITHIN
           
TIME_TERM_END
           
TIME_TERM_INSTANT
           
TIME_TERM_OPEN
           
TIME_TERM_START
          Time terms
 
Method Summary
 boolean equalsTerm(Term linkTerm)
           
 java.lang.String getTerm()
           
static Term valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Term[] 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

AUTHOR_TERM_PRIMARY

public static final Term AUTHOR_TERM_PRIMARY
Author terms


AUTHOR_TERM_SECONDARY

public static final Term AUTHOR_TERM_SECONDARY

AUTHOR_TERM_CONTRIBUTER

public static final Term AUTHOR_TERM_CONTRIBUTER

AUTHOR_TERM_EDITOR

public static final Term AUTHOR_TERM_EDITOR

AUTHOR_TERM_PUBLISHER

public static final Term AUTHOR_TERM_PUBLISHER

LABEL_TERM_PRIMARY

public static final Term LABEL_TERM_PRIMARY
Label terms


LABEL_TERM_NOTE

public static final Term LABEL_TERM_NOTE

TIME_TERM_START

public static final Term TIME_TERM_START
Time terms


TIME_TERM_END

public static final Term TIME_TERM_END

TIME_TERM_INSTANT

public static final Term TIME_TERM_INSTANT

TIME_TERM_OPEN

public static final Term TIME_TERM_OPEN

LINK_TERM_SOURCE

public static final Term LINK_TERM_SOURCE
Link terms


LINK_TERM_ALTERNATE

public static final Term LINK_TERM_ALTERNATE
POI source information


LINK_TERM_CANONICAL

public static final Term LINK_TERM_CANONICAL
a identical POI. Often used as a permalink


LINK_TERM_COPYRIGHT

public static final Term LINK_TERM_COPYRIGHT
the preferred version of a set of POIs with highly similar content. For example, there could be many different perceptions of a neighborhood boundary POI, but the city's neighborhood map could be the canonical version of this POI.


LINK_TERM_DESCRIBEDBY

public static final Term LINK_TERM_DESCRIBEDBY
a copyright statement that applys to the link's context


LINK_TERM_EDIT

public static final Term LINK_TERM_EDIT
more information about this POI


LINK_TERM_ENCLOSURE

public static final Term LINK_TERM_ENCLOSURE
a resource that can be used to edit the POI's context


LINK_TERM_ICON

public static final Term LINK_TERM_ICON
a related resource that is potentially large and might require special handling


LINK_TERM_LATEST_VERSION

public static final Term LINK_TERM_LATEST_VERSION

LINK_TERM_LICENSE

public static final Term LINK_TERM_LICENSE
points to a resource containing the latest version


LINK_TERM_RELATED

public static final Term LINK_TERM_RELATED
a license for this POI


LINK_TERM_SEARCH

public static final Term LINK_TERM_SEARCH
a related resource


LINK_TERM_PARENT

public static final Term LINK_TERM_PARENT
a resource that can be used to search through the link's context and related resources


LINK_TERM_CHILD

public static final Term LINK_TERM_CHILD
a parent POI, often the enclosing geographic entity, or the entity this POI in under the domain of (such as a field office-corporate headquarters relationship)


LINK_TERM_HISTORIC

public static final Term LINK_TERM_HISTORIC
a child POI, often a geography entity enclosed or under the domain of this POI


LINK_TERM_FUTURE

public static final Term LINK_TERM_FUTURE
links to a POI or other web resource that describes this place at a previous point in time


POINT_TERM_CENTER

public static final Term POINT_TERM_CENTER
Point terms


POINT_TERM_NAVIGATION_POINT

public static final Term POINT_TERM_NAVIGATION_POINT

POINT_TERM_ENTRANCE

public static final Term POINT_TERM_ENTRANCE

RELATIONSHIP_TERM_EQUALS

public static final Term RELATIONSHIP_TERM_EQUALS
Relationship terms


RELATIONSHIP_TERM_DISJOINT

public static final Term RELATIONSHIP_TERM_DISJOINT

RELATIONSHIP_TERM_CROSSES

public static final Term RELATIONSHIP_TERM_CROSSES

RELATIONSHIP_TERM_OVERLAPS

public static final Term RELATIONSHIP_TERM_OVERLAPS

RELATIONSHIP_TERM_WITHIN

public static final Term RELATIONSHIP_TERM_WITHIN

RELATIONSHIP_TERM_CONTAINS

public static final Term RELATIONSHIP_TERM_CONTAINS

RELATIONSHIP_TERM_TOUCHES

public static final Term RELATIONSHIP_TERM_TOUCHES
Method Detail

values

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

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

valueOf

public static Term 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

equalsTerm

public boolean equalsTerm(Term linkTerm)

getTerm

public java.lang.String getTerm()