public class OwlClassReasoner
extends java.lang.Object
Constructor and Description |
---|
OwlClassReasoner()
Constructor used when this reasoner is created as a bean
|
OwlClassReasoner(org.w3c.dom.Element cfgElement)
Instantiates a new OwlClassReasoner from an XML element.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<OwlThing> |
getMatches()
Get the set of OwlThings which match the query field for the baseClass.
|
OwlClass |
getOwlClass()
Get the base class for this Reasoner
|
OwlClass |
getRefinedClass()
Get the refined class for this base class and assignment map.
|
void |
setAssignment(java.lang.String assignment)
Set a particular assignment.
|
void |
setOwlClass(OwlClass owlClass)
Set the base class for this Reasoner
|
void |
setOwlClassName(java.lang.String className)
Set the base class for this Reasoner
|
void |
setQueryField(java.lang.String field)
Set the query field for this reasoner.
|
public OwlClassReasoner()
public OwlClassReasoner(org.w3c.dom.Element cfgElement)
cfgElement
- the configuration elementpublic java.util.Set<OwlThing> getMatches()
public OwlClass getOwlClass()
public OwlClass getRefinedClass()
public void setAssignment(java.lang.String assignment)
property=ThingName
, finds the OwlThing for the thing name,
and adds the property setting to the assignment map.assignment
- the assignment stringpublic void setOwlClass(OwlClass owlClass)
owlClass
- the base classpublic void setOwlClassName(java.lang.String className)
className
- the name of the base classpublic void setQueryField(java.lang.String field)
field
- the field or property to query for