$search

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

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

List of all members.

Public Member Functions

void addDataPropValue (String property, String value)
void addObjPropValue (String property, String value)
void addType (OWLClass type)
void addTypes (Collection< OWLClass > t)
Map< String, Vector< String > > getDataProperties ()
Vector< String > getDataPropValues (String property)
Map< String, Vector< String > > getObjProperties ()
Vector< String > getObjPropValues (String property)
Vector< OWLClassgetTypes ()
boolean hasDataProperty (String property)
boolean hasObjProperty (String property)
boolean hasType (String type_iri)
boolean hasType (OWLClass type)
void setDataProperties (Map< String, Vector< String >> properties)
void setObjProperties (Map< String, Vector< String >> properties)
void setTypes (Vector< OWLClass > types)
void writeToProlog ()

Static Public Member Functions

static OWLIndividual getOWLIndividual (String iri)
static OWLIndividual getOWLIndividual (String iri, String label)
static OWLIndividual getOWLIndividualOfClass (String cl)

Protected Member Functions

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

Protected Attributes

Map< String, Vector< String > > data_props
Map< String, Vector< String > > obj_props
Vector< OWLClasstypes

Detailed Description

Definition at line 17 of file OWLIndividual.java.


Constructor & Destructor Documentation

edu::tum::cs::ias::knowrob::owl::OWLIndividual::OWLIndividual ( 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 44 of file OWLIndividual.java.

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

Copy constructor: create OWLIndividual from more generic OWLThing

Parameters:
ind OWLIndividual to be copied into this OWLThing

Definition at line 58 of file OWLIndividual.java.


Member Function Documentation

void edu::tum::cs::ias::knowrob::owl::OWLIndividual::addDataPropValue ( String  property,
String  value 
) [inline]

Add a data property-value pair to the properties map.

Parameters:
property 
value 

Definition at line 269 of file OWLIndividual.java.

void edu::tum::cs::ias::knowrob::owl::OWLIndividual::addObjPropValue ( String  property,
String  value 
) [inline]

Add an object property-value pair to the properties map.

Parameters:
property 
value 

Definition at line 283 of file OWLIndividual.java.

void edu::tum::cs::ias::knowrob::owl::OWLIndividual::addType ( OWLClass  type  )  [inline]
Parameters:
type 

Definition at line 146 of file OWLIndividual.java.

void edu::tum::cs::ias::knowrob::owl::OWLIndividual::addTypes ( Collection< OWLClass t  )  [inline]
Parameters:
type 

Definition at line 154 of file OWLIndividual.java.

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

Get the data properties defined for this individual.

Returns:
Map from property identifiers to a Vector with their values.

Definition at line 185 of file OWLIndividual.java.

Vector<String> edu::tum::cs::ias::knowrob::owl::OWLIndividual::getDataPropValues ( String  property  )  [inline]

Get a Vector of all values defined for a data property.

Parameters:
property Identifier of the property to be retrieved.
Returns:
Vector with the defined values.

Definition at line 249 of file OWLIndividual.java.

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

Get the object properties defined for this individual.

Returns:
Map from property identifiers to a Vector with their values.

Definition at line 194 of file OWLIndividual.java.

Vector<String> edu::tum::cs::ias::knowrob::owl::OWLIndividual::getObjPropValues ( String  property  )  [inline]

Get a Vector of all values defined for an object property.

Parameters:
property Identifier of the property to be retrieved.
Returns:
Vector with the defined values.

Definition at line 259 of file OWLIndividual.java.

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

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

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

Definition at line 93 of file OWLIndividual.java.

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

OWLIndividual factory. Return existing instance, if available, and create new OWLIndividual 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 OWLIndividual with the specified IRI

Definition at line 72 of file OWLIndividual.java.

static OWLIndividual edu::tum::cs::ias::knowrob::owl::OWLIndividual::getOWLIndividualOfClass ( String  cl  )  [inline, static]

OWLIndividual factory. Create new individual for class cl, creating a new unique identifier. Adds cl to the types of the created individual.

Parameters:
cl OWL class of this thing.
Returns:
Instance of an OWLIndividual of the specified class

Definition at line 106 of file OWLIndividual.java.

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

Get

Returns:

Definition at line 129 of file OWLIndividual.java.

boolean edu::tum::cs::ias::knowrob::owl::OWLIndividual::hasDataProperty ( String  property  )  [inline]

Check whether a data property is defined for this individual.

Parameters:
property Identifier of the property to be checked.
Returns:
true if this property exists

Definition at line 225 of file OWLIndividual.java.

boolean edu::tum::cs::ias::knowrob::owl::OWLIndividual::hasObjProperty ( String  property  )  [inline]

Check whether an object property is defined for this individual.

Parameters:
property Identifier of the property to be checked.
Returns:
true if this property exists

Definition at line 237 of file OWLIndividual.java.

boolean edu::tum::cs::ias::knowrob::owl::OWLIndividual::hasType ( String  type_iri  )  [inline]

Definition at line 171 of file OWLIndividual.java.

boolean edu::tum::cs::ias::knowrob::owl::OWLIndividual::hasType ( OWLClass  type  )  [inline]
Parameters:
type 
Returns:

Definition at line 163 of file OWLIndividual.java.

void edu::tum::cs::ias::knowrob::owl::OWLIndividual::setDataProperties ( Map< String, Vector< String >>  properties  )  [inline]

Set the internal data properties map to the given one (after resetting it first).

Parameters:
properties New map of data properties to be used.

Definition at line 203 of file OWLIndividual.java.

void edu::tum::cs::ias::knowrob::owl::OWLIndividual::setObjProperties ( Map< String, Vector< String >>  properties  )  [inline]

Set the internal object properties map to the given one (after resetting it first).

Parameters:
properties New map of object properties to be used.

Definition at line 213 of file OWLIndividual.java.

void edu::tum::cs::ias::knowrob::owl::OWLIndividual::setTypes ( Vector< OWLClass types  )  [inline]
Parameters:
types 

Definition at line 137 of file OWLIndividual.java.

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

Member Data Documentation

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

Map of data properties that are defined for this individual to their respective values.

Definition at line 28 of file OWLIndividual.java.

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

Map of object properties that are defined for this individual to their respective values.

Definition at line 33 of file OWLIndividual.java.

List of strings representing the object types (OWL classes)

Definition at line 23 of file OWLIndividual.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