org.d2rq.r2rml
Enum TermMap.Position
java.lang.Object
java.lang.Enum<TermMap.Position>
org.d2rq.r2rml.TermMap.Position
- All Implemented Interfaces:
- Serializable, Comparable<TermMap.Position>
- Enclosing class:
- TermMap
public static enum TermMap.Position
- extends Enum<TermMap.Position>
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
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)