org.ontoware.rdf2go.model.impl
Enum TriplePatternImpl.SPO

java.lang.Object
  extended by java.lang.Enum<TriplePatternImpl.SPO>
      extended by org.ontoware.rdf2go.model.impl.TriplePatternImpl.SPO
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TriplePatternImpl.SPO>
Enclosing class:
TriplePatternImpl

public static enum TriplePatternImpl.SPO
extends java.lang.Enum<TriplePatternImpl.SPO>


Enum Constant Summary
OBJECT
           
PREDICATE
           
SUBJECT
           
 
Method Summary
static TriplePatternImpl.SPO valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TriplePatternImpl.SPO[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SUBJECT

public static final TriplePatternImpl.SPO SUBJECT

PREDICATE

public static final TriplePatternImpl.SPO PREDICATE

OBJECT

public static final TriplePatternImpl.SPO OBJECT
Method Detail

values

public static final TriplePatternImpl.SPO[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(TriplePatternImpl.SPO c : TriplePatternImpl.SPO.values())
        System.out.println(c);

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

valueOf

public static TriplePatternImpl.SPO 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


Copyright © 2005-2008 FZI - Forschungszentrum Informatik | Karlsruhe | Germany. All Rights Reserved.