$search
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< OWLClass > | getTypes () |
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< OWLClass > | types |
Definition at line 17 of file OWLIndividual.java.
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.
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
ind | OWLIndividual to be copied into this OWLThing |
Definition at line 58 of file OWLIndividual.java.
void edu::tum::cs::ias::knowrob::owl::OWLIndividual::addDataPropValue | ( | String | property, | |
String | value | |||
) | [inline] |
Add a data property-value pair to the properties map.
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.
property | ||
value |
Definition at line 283 of file OWLIndividual.java.
void edu::tum::cs::ias::knowrob::owl::OWLIndividual::addType | ( | OWLClass | type | ) | [inline] |
type |
Definition at line 146 of file OWLIndividual.java.
void edu::tum::cs::ias::knowrob::owl::OWLIndividual::addTypes | ( | Collection< OWLClass > | t | ) | [inline] |
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.
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.
property | Identifier of the property to be retrieved. |
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.
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.
property | Identifier of the property to be retrieved. |
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.
iri | Identifier of this thing. |
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.
iri | Identifier of this thing. | |
label | Optional natural-language label. |
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.
cl | OWL class of this thing. |
Definition at line 106 of file OWLIndividual.java.
Vector<OWLClass> edu::tum::cs::ias::knowrob::owl::OWLIndividual::getTypes | ( | ) | [inline] |
boolean edu::tum::cs::ias::knowrob::owl::OWLIndividual::hasDataProperty | ( | String | property | ) | [inline] |
Check whether a data property is defined for this individual.
property | Identifier of the property to be checked. |
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.
property | Identifier of the property to be checked. |
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] |
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).
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).
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] |
types |
Definition at line 137 of file OWLIndividual.java.
void edu::tum::cs::ias::knowrob::owl::OWLIndividual::writeToProlog | ( | ) | [inline] |
Reimplemented in edu::tum::cs::ias::knowrob::owl::JointInstance, and edu::tum::cs::ias::knowrob::owl::ObjectInstance.
Definition at line 293 of file OWLIndividual.java.
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.
Vector<OWLClass> edu::tum::cs::ias::knowrob::owl::OWLIndividual::types [protected] |
List of strings representing the object types (OWL classes)
Definition at line 23 of file OWLIndividual.java.