at.newmedialab.ldclient.model
Enum Endpoint.EndpointType

java.lang.Object
  extended by java.lang.Enum<Endpoint.EndpointType>
      extended by at.newmedialab.ldclient.model.Endpoint.EndpointType
All Implemented Interfaces:
Serializable, Comparable<Endpoint.EndpointType>
Enclosing class:
Endpoint

public static enum Endpoint.EndpointType
extends Enum<Endpoint.EndpointType>


Enum Constant Summary
CACHE
          Endpoint is a triple cache that can be accessed by passing the resource URI as request parameter
LINKEDDATA
          Endpoint is direct access to a linked data source
NONE
          Endpoint does not retrieve external triples
SPARQL
          Endpoint is a SPARQL endpoint that needs to be queried
 
Method Summary
static Endpoint.EndpointType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Endpoint.EndpointType[] 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

SPARQL

public static final Endpoint.EndpointType SPARQL
Endpoint is a SPARQL endpoint that needs to be queried


LINKEDDATA

public static final Endpoint.EndpointType LINKEDDATA
Endpoint is direct access to a linked data source


CACHE

public static final Endpoint.EndpointType CACHE
Endpoint is a triple cache that can be accessed by passing the resource URI as request parameter


NONE

public static final Endpoint.EndpointType NONE
Endpoint does not retrieve external triples

Method Detail

values

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

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

valueOf

public static Endpoint.EndpointType 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 © 2012-2013 Salzburg Research. All Rights Reserved.