org.mindswap.pellet.jena
Enum ModelExtractor.StatementType

java.lang.Object
  extended by java.lang.Enum<ModelExtractor.StatementType>
      extended by org.mindswap.pellet.jena.ModelExtractor.StatementType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ModelExtractor.StatementType>
Enclosing class:
ModelExtractor

public static enum ModelExtractor.StatementType
extends java.lang.Enum<ModelExtractor.StatementType>

Enumeration of types of statements that can be retrieved


Enum Constant Summary
ALL_INSTANCE
          for individuals, rdf:type statements (includes super-classes)
ALL_SUBCLASS
          for classes, rdfs:subClassOf statements (includes all super-classes)
ALL_SUBPROPERTY
          for properties, rdfs:subPropertyOf statements (includes all super-properties)
COMPLEMENT_CLASS
          for classes, owl:complementOf statements
DATA_PROPERTY_VALUE
          for individuals, data property value statements
DIFFERENT_FROM
          for individuals, owl:differentFrom statements
DIRECT_INSTANCE
          for individuals, rdf:type statements (only the most specific classes)
DIRECT_SUBCLASS
          for classes, rdfs:subClassOf statements (includes only direct super-classes)
DIRECT_SUBPROPERTY
          for properties, rdfs:subPropertyOf statements (includes only direct super-properties)
DISJOINT_CLASS
          for classes, owl:disjointWith statements
DISJOINT_PROPERTY
          for classes, owl:propertyDisjointWith statements
EQUIVALENT_CLASS
          for classes, owl:equivalentClass statements
EQUIVALENT_PROPERTY
          for properties, owl:equivalentProperty statements
INVERSE_PROPERTY
          for properties, owl:inverseOf statements
JENA_DIRECT_INSTANCE
          for individuals, jena reasoner vocabulary direct rdf:type statements
JENA_DIRECT_SUBCLASS
          for classes, jena reasoner vocabulary direct rdfs:subClassOf statements
JENA_DIRECT_SUBPROPERTY
          for properties, jena reasoner vocabulary direct rdfs:subPropertyOf statements
OBJECT_PROPERTY_VALUE
          for individuals, object property value statements
SAME_AS
          for individuals, owl:sameAs statements
 
Field Summary
static java.util.EnumSet<ModelExtractor.StatementType> ALL_CLASS_STATEMENTS
          All statements about classes
static java.util.EnumSet<ModelExtractor.StatementType> ALL_INDIVIDUAL_STATEMENTS
          All statements about individuals
static java.util.EnumSet<ModelExtractor.StatementType> ALL_PROPERTY_STATEMENTS
          All statements about properties
static java.util.EnumSet<ModelExtractor.StatementType> ALL_STATEMENTS
          All statements (without Jena predicates for direct relations)
static java.util.EnumSet<ModelExtractor.StatementType> ALL_STATEMENTS_INCLUDING_JENA
          All statements (including Jena predicates for direct relations)
static java.util.EnumSet<ModelExtractor.StatementType> DEFAULT_STATEMENTS
          Default statements
static java.util.EnumSet<ModelExtractor.StatementType> PROPERTY_VALUE
          All property values (both object and data)
 
Method Summary
static ModelExtractor.StatementType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ModelExtractor.StatementType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ALL_INSTANCE

public static final ModelExtractor.StatementType ALL_INSTANCE
for individuals, rdf:type statements (includes super-classes)


ALL_SUBCLASS

public static final ModelExtractor.StatementType ALL_SUBCLASS
for classes, rdfs:subClassOf statements (includes all super-classes)


ALL_SUBPROPERTY

public static final ModelExtractor.StatementType ALL_SUBPROPERTY
for properties, rdfs:subPropertyOf statements (includes all super-properties)


COMPLEMENT_CLASS

public static final ModelExtractor.StatementType COMPLEMENT_CLASS
for classes, owl:complementOf statements


DATA_PROPERTY_VALUE

public static final ModelExtractor.StatementType DATA_PROPERTY_VALUE
for individuals, data property value statements


DIFFERENT_FROM

public static final ModelExtractor.StatementType DIFFERENT_FROM
for individuals, owl:differentFrom statements


DIRECT_INSTANCE

public static final ModelExtractor.StatementType DIRECT_INSTANCE
for individuals, rdf:type statements (only the most specific classes)


DIRECT_SUBCLASS

public static final ModelExtractor.StatementType DIRECT_SUBCLASS
for classes, rdfs:subClassOf statements (includes only direct super-classes)


DIRECT_SUBPROPERTY

public static final ModelExtractor.StatementType DIRECT_SUBPROPERTY
for properties, rdfs:subPropertyOf statements (includes only direct super-properties)


DISJOINT_CLASS

public static final ModelExtractor.StatementType DISJOINT_CLASS
for classes, owl:disjointWith statements


DISJOINT_PROPERTY

public static final ModelExtractor.StatementType DISJOINT_PROPERTY
for classes, owl:propertyDisjointWith statements


EQUIVALENT_CLASS

public static final ModelExtractor.StatementType EQUIVALENT_CLASS
for classes, owl:equivalentClass statements


EQUIVALENT_PROPERTY

public static final ModelExtractor.StatementType EQUIVALENT_PROPERTY
for properties, owl:equivalentProperty statements


INVERSE_PROPERTY

public static final ModelExtractor.StatementType INVERSE_PROPERTY
for properties, owl:inverseOf statements


JENA_DIRECT_INSTANCE

public static final ModelExtractor.StatementType JENA_DIRECT_INSTANCE
for individuals, jena reasoner vocabulary direct rdf:type statements


JENA_DIRECT_SUBCLASS

public static final ModelExtractor.StatementType JENA_DIRECT_SUBCLASS
for classes, jena reasoner vocabulary direct rdfs:subClassOf statements


JENA_DIRECT_SUBPROPERTY

public static final ModelExtractor.StatementType JENA_DIRECT_SUBPROPERTY
for properties, jena reasoner vocabulary direct rdfs:subPropertyOf statements


OBJECT_PROPERTY_VALUE

public static final ModelExtractor.StatementType OBJECT_PROPERTY_VALUE
for individuals, object property value statements


SAME_AS

public static final ModelExtractor.StatementType SAME_AS
for individuals, owl:sameAs statements

Field Detail

ALL_CLASS_STATEMENTS

public static final java.util.EnumSet<ModelExtractor.StatementType> ALL_CLASS_STATEMENTS
All statements about classes


ALL_INDIVIDUAL_STATEMENTS

public static final java.util.EnumSet<ModelExtractor.StatementType> ALL_INDIVIDUAL_STATEMENTS
All statements about individuals


ALL_PROPERTY_STATEMENTS

public static final java.util.EnumSet<ModelExtractor.StatementType> ALL_PROPERTY_STATEMENTS
All statements about properties


ALL_STATEMENTS

public static final java.util.EnumSet<ModelExtractor.StatementType> ALL_STATEMENTS
All statements (without Jena predicates for direct relations)


ALL_STATEMENTS_INCLUDING_JENA

public static final java.util.EnumSet<ModelExtractor.StatementType> ALL_STATEMENTS_INCLUDING_JENA
All statements (including Jena predicates for direct relations)


PROPERTY_VALUE

public static final java.util.EnumSet<ModelExtractor.StatementType> PROPERTY_VALUE
All property values (both object and data)


DEFAULT_STATEMENTS

public static final java.util.EnumSet<ModelExtractor.StatementType> DEFAULT_STATEMENTS
Default statements

Method Detail

values

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

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

valueOf

public static ModelExtractor.StatementType 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
java.lang.NullPointerException - if the argument is null


Copyright © 2004 Evren Sirin. All Rights Reserved.