org.d2rq.r2rml
Enum TermMap.Position

java.lang.Object
  extended by java.lang.Enum<TermMap.Position>
      extended by org.d2rq.r2rml.TermMap.Position
All Implemented Interfaces:
Serializable, Comparable<TermMap.Position>
Enclosing class:
TermMap

public static enum TermMap.Position
extends Enum<TermMap.Position>


Enum Constant Summary
GRAPH_MAP
           
OBJECT_MAP
           
PREDICATE_MAP
           
SUBJECT_MAP
           
 
Method Summary
static TermMap.Position getFor(Resource r2rmlTerm)
           
 Resource getR2RMLTerm()
           
 boolean isAllowedTermType(TermMap.TermType termType)
           
static TermMap.Position valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TermMap.Position[] 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

SUBJECT_MAP

public static final TermMap.Position SUBJECT_MAP

PREDICATE_MAP

public static final TermMap.Position PREDICATE_MAP

OBJECT_MAP

public static final TermMap.Position OBJECT_MAP

GRAPH_MAP

public static final TermMap.Position GRAPH_MAP
Method Detail

values

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

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

valueOf

public static TermMap.Position 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

getR2RMLTerm

public Resource getR2RMLTerm()

isAllowedTermType

public boolean isAllowedTermType(TermMap.TermType termType)

getFor

public static TermMap.Position getFor(Resource r2rmlTerm)