$search

edu::tum::cs::ias::knowrob::owl::OWLClass Class Reference

Inheritance diagram for edu::tum::cs::ias::knowrob::owl::OWLClass:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void addAllValuesFrom (String prop, String classdef)
void addHasValue (String prop, String value)
void addSomeValuesFrom (String prop, String classdef)
void addSubclass (OWLClass sub)
void addSuperClass (OWLClass p)
Map< String, Vector< String > > getAllValuesFrom ()
Map< String, Vector< String > > getHasValue ()
Map< String, Vector< String > > getSomeValuesFrom ()
Vector< OWLClassgetSubclasses ()
Vector< OWLClassgetSuperClasses ()
void readFromProlog ()
void removeSubclass (OWLClass sub)
void setAllValuesFrom (Map< String, Vector< String >> allValuesFrom)
void setHasValue (Map< String, Vector< String >> hasValue)
void setSomeValuesFrom (Map< String, Vector< String >> someValuesFrom)
void setSuperClasses (Vector< OWLClass > p)
void writeToProlog ()

Static Public Member Functions

static OWLClass getOWLClass (String iri)
static OWLClass getOWLClass (String iri, String label)

Protected Member Functions

 OWLClass (OWLThing ind)
 OWLClass (String iri, String label)

Protected Attributes

Map< String, Vector< String > > all_values_from
Map< String, Vector< String > > has_value
Map< String, Vector< String > > some_values_from
Vector< OWLClasssubclasses
Vector< OWLClasssuperclasses

Detailed Description

Definition at line 16 of file OWLClass.java.


Constructor & Destructor Documentation

edu::tum::cs::ias::knowrob::owl::OWLClass::OWLClass ( String  iri,
String  label 
) [inline, protected]

Constructor. Set the IRI and optionally a label. If none is given, it is initialized with the IRI's short name.

Parameters:
iri Identifier of this thing.
label Optional natural-language label.

Definition at line 55 of file OWLClass.java.

edu::tum::cs::ias::knowrob::owl::OWLClass::OWLClass ( OWLThing  ind  )  [inline, protected]

Copy constructor: create OWLClass from more generic OWLThing

Parameters:
ind OWLClass to be copied into this OWLThing

Definition at line 72 of file OWLClass.java.


Member Function Documentation

void edu::tum::cs::ias::knowrob::owl::OWLClass::addAllValuesFrom ( String  prop,
String  classdef 
) [inline]

Add a allValuesFrom definition

Parameters:
prop Property to be used in restriction
classdef Class definition for restriction

Definition at line 229 of file OWLClass.java.

void edu::tum::cs::ias::knowrob::owl::OWLClass::addHasValue ( String  prop,
String  value 
) [inline]

Add a hasValue definition

Parameters:
prop Property to be used in restriction
value Individuals or values to be used for the restriction

Definition at line 266 of file OWLClass.java.

void edu::tum::cs::ias::knowrob::owl::OWLClass::addSomeValuesFrom ( String  prop,
String  classdef 
) [inline]

Add a someValuesFrom definition

Parameters:
prop Property to be used in restriction
classdef Class definition for restriction

Definition at line 193 of file OWLClass.java.

void edu::tum::cs::ias::knowrob::owl::OWLClass::addSubclass ( OWLClass  sub  )  [inline]

Add a subclass definition. Complementary to addParentClass.

Parameters:
sub Subclass

Definition at line 128 of file OWLClass.java.

void edu::tum::cs::ias::knowrob::owl::OWLClass::addSuperClass ( OWLClass  p  )  [inline]

Add a superclass definition. Complementary to addSubclass.

Parameters:
p Superclass

Definition at line 159 of file OWLClass.java.

Map<String, Vector<String> > edu::tum::cs::ias::knowrob::owl::OWLClass::getAllValuesFrom (  )  [inline]

Get the allValuesFrom definitions of this class

Returns:
allValuesFrom definitions

Definition at line 243 of file OWLClass.java.

Map<String, Vector<String> > edu::tum::cs::ias::knowrob::owl::OWLClass::getHasValue (  )  [inline]

Get the hasValue definitions of this class

Returns:
hasValue definitions

Definition at line 279 of file OWLClass.java.

static OWLClass edu::tum::cs::ias::knowrob::owl::OWLClass::getOWLClass ( String  iri  )  [inline, static]

OWLClass factory. Return existing instance, if available, and create new OWLClass instance if necessary. Avoids duplicate instances with the same IRI.

Parameters:
iri Identifier of this thing.
Returns:
Instance of an OWLClass with the specified IRI

Definition at line 106 of file OWLClass.java.

static OWLClass edu::tum::cs::ias::knowrob::owl::OWLClass::getOWLClass ( String  iri,
String  label 
) [inline, static]

OWLClass factory. Return existing instance, if available, and create new OWLClass instance if necessary. Avoids duplicate instances with the same IRI.

Parameters:
iri Identifier of this thing.
label Optional natural-language label.
Returns:
Instance of an OWLClass with the specified IRI

Definition at line 86 of file OWLClass.java.

Map<String, Vector<String> > edu::tum::cs::ias::knowrob::owl::OWLClass::getSomeValuesFrom (  )  [inline]

Get the someValuesFrom definitions of this class

Returns:
someValuesFrom definitions

Definition at line 206 of file OWLClass.java.

Vector<OWLClass> edu::tum::cs::ias::knowrob::owl::OWLClass::getSubclasses (  )  [inline]

Get all subclasses defined for this OWL class.

Returns:
Vector of subclasses

Definition at line 118 of file OWLClass.java.

Vector<OWLClass> edu::tum::cs::ias::knowrob::owl::OWLClass::getSuperClasses (  )  [inline]

Get the superclasses of this class

Returns:

Definition at line 170 of file OWLClass.java.

void edu::tum::cs::ias::knowrob::owl::OWLClass::readFromProlog (  )  [inline]

Recursively read all properties of an OWL class into its internal data structures.

Definition at line 288 of file OWLClass.java.

void edu::tum::cs::ias::knowrob::owl::OWLClass::removeSubclass ( OWLClass  sub  )  [inline]

Remove a subclass from this class

Parameters:
sub Subclass to be removed

Definition at line 138 of file OWLClass.java.

void edu::tum::cs::ias::knowrob::owl::OWLClass::setAllValuesFrom ( Map< String, Vector< String >>  allValuesFrom  )  [inline]

Set the allValuesFrom restrictions

Parameters:
allValuesFrom Map with the defined restrictions

Definition at line 218 of file OWLClass.java.

void edu::tum::cs::ias::knowrob::owl::OWLClass::setHasValue ( Map< String, Vector< String >>  hasValue  )  [inline]

Set the hasValue restrictions

Parameters:
hasValue Map with the defined restrictions

Definition at line 255 of file OWLClass.java.

void edu::tum::cs::ias::knowrob::owl::OWLClass::setSomeValuesFrom ( Map< String, Vector< String >>  someValuesFrom  )  [inline]

Set the someValuesFrom restrictions

Parameters:
someValuesFrom Map with the defined restrictions

Definition at line 182 of file OWLClass.java.

void edu::tum::cs::ias::knowrob::owl::OWLClass::setSuperClasses ( Vector< OWLClass p  )  [inline]

Set the superclasses of this class

Parameters:
p Parent class

Definition at line 149 of file OWLClass.java.

void edu::tum::cs::ias::knowrob::owl::OWLClass::writeToProlog (  )  [inline]

Write all properties of this class to Prolog.

Definition at line 405 of file OWLClass.java.


Member Data Documentation

Map<String, Vector<String> > edu::tum::cs::ias::knowrob::owl::OWLClass::all_values_from [protected]

Map of universal restrictions (allValuesFrom)

Definition at line 38 of file OWLClass.java.

Map<String, Vector<String> > edu::tum::cs::ias::knowrob::owl::OWLClass::has_value [protected]

Map of value restrictions (hasValue)

Definition at line 43 of file OWLClass.java.

Map<String, Vector<String> > edu::tum::cs::ias::knowrob::owl::OWLClass::some_values_from [protected]

Map of existential restrictions (someValuesFrom)

Definition at line 33 of file OWLClass.java.

Vector of subclasses

Definition at line 22 of file OWLClass.java.

Reference to the parent / superclass

Definition at line 27 of file OWLClass.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


knowrob_common
Author(s): Moritz Tenorth
autogenerated on Tue Mar 5 12:14:08 2013