Package org.metafacture.triples
Enum TripleReorder.TripleElement
- java.lang.Object
-
- java.lang.Enum<TripleReorder.TripleElement>
-
- org.metafacture.triples.TripleReorder.TripleElement
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TripleReorder.TripleElement>
- Enclosing class:
- TripleReorder
public static enum TripleReorder.TripleElement extends java.lang.Enum<TripleReorder.TripleElement>
Names of the elements in the triple
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TripleReorder.TripleElementvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TripleReorder.TripleElement[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUBJECT
public static final TripleReorder.TripleElement SUBJECT
-
PREDICATE
public static final TripleReorder.TripleElement PREDICATE
-
OBJECT
public static final TripleReorder.TripleElement OBJECT
-
-
Method Detail
-
values
public static TripleReorder.TripleElement[] 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 (TripleReorder.TripleElement c : TripleReorder.TripleElement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TripleReorder.TripleElement 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 namejava.lang.NullPointerException- if the argument is null
-
-