public class VarOwlThing extends RdfThing
Constructor and Description |
---|
VarOwlThing(java.lang.String name,
OwlClass cls)
Create a ClassVarThing with the given variable name and Owl class
|
Modifier and Type | Method and Description |
---|---|
OwlClass |
getOwlClass()
Get the OwlClass for this thing
|
boolean |
matches(RdfThing thing)
Return whether this thing matches another thing.
|
void |
setOwlClass(OwlClass cls)
Set the OwlClass for this thing
|
java.lang.String |
toString()
Return the string representation of this variable OwlThing
|
getName, getUri, isVariableFlag, setName, setUri, setVariableFlag
public VarOwlThing(java.lang.String name, OwlClass cls)
name
- the variable namecls
- the Owl classpublic OwlClass getOwlClass()
public boolean matches(RdfThing thing)
public void setOwlClass(OwlClass cls)
cls
- the OwlClass