public class OwlClass extends Resource
Modifier and Type | Field and Description |
---|---|
static URI[] |
MANAGED_URIS
all property-URIs with this class as domain
|
static URI |
ONEOF
http://www.w3.org/2002/07/owl#oneOf
|
static URI |
RDFS_CLASS
http://www.w3.org/2000/01/rdf-schema#Class
|
static URI |
SUBCLASSOF
http://www.w3.org/2000/01/rdf-schema#subClassOf
|
COMMENT, ISDEFINEDBY, LABEL, MEMBER, SEEALSO, TYPE, VALUE
classURI, model
Modifier | Constructor and Description |
---|---|
|
OwlClass(Model model,
BlankNode bnode,
boolean write)
Returns a Java wrapper over an RDF object, identified by a blank node.
|
|
OwlClass(Model model,
boolean write)
Returns a Java wrapper over an RDF object, identified by a randomly
generated URI.
|
|
OwlClass(Model model,
Resource instanceIdentifier,
boolean write)
Returns a Java wrapper over an RDF object, identified by URI.
|
|
OwlClass(Model model,
String uriString,
boolean write)
Returns a Java wrapper over an RDF object, identified by a URI, given as
a String.
|
protected |
OwlClass(Model model,
URI classURI,
Resource instanceIdentifier,
boolean write)
Returns a Java wrapper over an RDF object, identified by URI.
|
Modifier and Type | Method and Description |
---|---|
void |
addOneOf()
Removes all values of property OneOf * [Generated from RDFReactor
template rule #removeall1dynamic]
|
static void |
addOneOf(Model model,
Resource instanceResource,
Node value)
Adds a value to property OneOf as an RDF2Go node
|
void |
addOneOf(Node value)
Adds a value to property OneOf as an RDF2Go node
|
void |
addSubClassOf()
Removes all values of property SubClassOf * [Generated from RDFReactor
template rule #removeall1dynamic]
|
static void |
addSubClassOf(Model model,
Resource instanceResource,
Node value)
Adds a value to property SubClassOf as an RDF2Go node
|
static void |
addSubClassOf(Model model,
Resource instanceResource,
OwlClass value)
Adds a value to property SubClassOf from an instance of Class
|
void |
addSubClassOf(Node value)
Adds a value to property SubClassOf as an RDF2Go node
|
void |
addSubClassOf(OwlClass value)
Adds a value to property SubClassOf from an instance of Class
[Generated from RDFReactor template rule #add4dynamic]
|
static void |
createInstance(Model model,
Resource instanceResource)
Create a new instance of this class in the model.
|
static void |
deleteInstance(Model model,
Resource instanceResource)
Delete all rdf:type from this instance.
|
static ClosableIterator<Resource> |
getAllAllValuesFrom_Inverse(Model model,
Object objectValue) |
static ClosableIterator<Resource> |
getAllDomain_Inverse(Model model,
Object objectValue) |
static ReactorResult<? extends OwlClass> |
getAllInstance_as(Model model) |
static OwlClass[] |
getAllInstances_asArray(Model model) |
static List<? extends OwlClass> |
getAllInstances_asList(Model model) |
static ClosableIterator<Resource> |
getAllInstancesAsRdf2GoResources(Model model) |
ClosableIterator<Node> |
getAllOneOf_asNode()
Get all values of property OneOf as an Iterator over RDF2Go nodes
|
static ClosableIterator<Node> |
getAllOneOf_asNode(Model model,
Resource instanceResource)
Get all values of property OneOf as an Iterator over RDF2Go nodes
|
List<Node> |
getAllOneOf_asNodeList()
Get all values of property OneOf as a List of RDF2Go nodes
|
static List<Node> |
getAllOneOf_asNodeList(Model model,
Resource instanceResource)
Get all values of property OneOf as a List of RDF2Go nodes
|
static ClosableIterator<Resource> |
getAllRange_Inverse(Model model,
Object objectValue) |
static ClosableIterator<Resource> |
getAllSomeValuesFrom_Inverse(Model model,
Object objectValue) |
List<OwlClass> |
getAllSubClassOf_asList()
Get all values of property SubClassOf as a List of Class
|
static List<OwlClass> |
getAllSubClassOf_asList(Model model,
Resource instanceResource)
Get all values of property SubClassOf as a List of Class
|
ClosableIterator<Node> |
getAllSubClassOf_asNode()
Get all values of property SubClassOf as an Iterator over RDF2Go nodes
|
static ClosableIterator<Node> |
getAllSubClassOf_asNode(Model model,
Resource instanceResource)
Get all values of property SubClassOf as an Iterator over RDF2Go nodes
|
List<Node> |
getAllSubClassOf_asNodeList()
Get all values of property SubClassOf as a List of RDF2Go nodes
|
static List<Node> |
getAllSubClassOf_asNodeList(Model model,
Resource instanceResource)
Get all values of property SubClassOf as a List of RDF2Go nodes
|
static ClosableIterator<Resource> |
getAllSubClassOf_Inverse(Model model,
Object objectValue) |
ClosableIterator<OwlClass> |
getAllSubClassOf()
Get all values of property SubClassOf * @return a ClosableIterator of
$type
[Generated from RDFReactor template rule #get12dynamic]
|
static ClosableIterator<OwlClass> |
getAllSubClassOf(Model model,
Resource instanceResource)
Get all values of property SubClassOf * @param model an RDF2Go model
|
static ClosableIterator<Resource> |
getAllType_Inverse(Model model,
Object objectValue) |
static boolean |
hasInstance(Model model,
Resource instanceResource) |
static void |
removeAllOneOf(Model model,
Resource instanceResource)
Removes all values of property OneOf * @param model an RDF2Go model
|
static void |
removeAllSubClassOf(Model model,
Resource instanceResource)
Removes all values of property SubClassOf * @param model an RDF2Go model
|
static void |
removeOneOf(Model model,
Resource instanceResource,
Node value)
Removes a value of property OneOf as an RDF2Go node
|
void |
removeOneOf(Node value)
Removes a value of property OneOf as an RDF2Go node
|
static void |
removeSubClassOf(Model model,
Resource instanceResource,
Node value)
Removes a value of property SubClassOf as an RDF2Go node
|
static void |
removeSubClassOf(Model model,
Resource instanceResource,
OwlClass value)
Removes a value of property SubClassOf given as an instance of Class
|
void |
removeSubClassOf(Node value)
Removes a value of property SubClassOf as an RDF2Go node
|
void |
removeSubClassOf(OwlClass value)
Removes a value of property SubClassOf given as an instance of Class
|
static void |
setOneOf(Model model,
Resource instanceResource,
Node value)
Sets a value of property OneOf from an RDF2Go node.
|
void |
setOneOf(Node value)
Sets a value of property OneOf from an RDF2Go node.
|
static void |
setSubClassOf(Model model,
Resource instanceResource,
Node value)
Sets a value of property SubClassOf from an RDF2Go node.
|
static void |
setSubClassOf(Model model,
Resource instanceResource,
OwlClass value)
Sets a value of property SubClassOf from an instance of Class First, all
existing values are removed, then this value is added.
|
void |
setSubClassOf(Node value)
Sets a value of property SubClassOf from an RDF2Go node.
|
void |
setSubClassOf(OwlClass value)
Sets a value of property SubClassOf from an instance of Class First, all
existing values are removed, then this value is added.
|
addComment, addComment, addComment, addComment, addComment, addIsDefinedBy, addIsDefinedBy, addIsDefinedBy, addIsDefinedBy, addIsDefinedBy, addLabel, addLabel, addLabel, addLabel, addLabel, addMember, addMember, addMember, addMember, addMember, addSeeAlso, addSeeAlso, addSeeAlso, addSeeAlso, addSeeAlso, addType, addType, addType, addType, addType, addValue, addValue, addValue, addValue, addValue, getAllComment_asArray, getAllComment_asList, getAllComment_asList, getAllComment_asNode, getAllComment_asNode, getAllComment_asNodeList, getAllComment_asNodeList, getAllComment, getAllComment, getAllIsDefinedBy_asList, getAllIsDefinedBy_asList, getAllIsDefinedBy_asNode, getAllIsDefinedBy_asNode, getAllIsDefinedBy_asNodeList, getAllIsDefinedBy_asNodeList, getAllIsDefinedBy, getAllIsDefinedBy, getAllLabel_asList, getAllLabel_asList, getAllLabel_asNode, getAllLabel_asNode, getAllLabel_asNodeList, getAllLabel_asNodeList, getAllLabel, getAllLabel, getAllMember_asList, getAllMember_asList, getAllMember_asNode, getAllMember_asNode, getAllMember_asNodeList, getAllMember_asNodeList, getAllMember, getAllMember, getAllSeeAlso_asList, getAllSeeAlso_asList, getAllSeeAlso_asNode, getAllSeeAlso_asNode, getAllSeeAlso_asNodeList, getAllSeeAlso_asNodeList, getAllSeeAlso, getAllSeeAlso, getAllType_asList, getAllType_asList, getAllType_asNode, getAllType_asNode, getAllType_asNodeList, getAllType_asNodeList, getAllType, getAllType, getAllValue_asList, getAllValue_asList, getAllValue_asNode, getAllValue_asNode, getAllValue_asNodeList, getAllValue_asNodeList, getAllValue, getAllValue, removeAllComment, removeAllIsDefinedBy, removeAllLabel, removeAllMember, removeAllSeeAlso, removeAllType, removeAllValue, removeComment, removeComment, removeComment, removeComment, removeIsDefinedBy, removeIsDefinedBy, removeIsDefinedBy, removeIsDefinedBy, removeLabel, removeLabel, removeLabel, removeLabel, removeMember, removeMember, removeMember, removeMember, removeSeeAlso, removeSeeAlso, removeSeeAlso, removeSeeAlso, removeType, removeType, removeType, removeType, removeValue, removeValue, removeValue, removeValue, setComment, setComment, setComment, setComment, setIsDefinedBy, setIsDefinedBy, setIsDefinedBy, setIsDefinedBy, setLabel, setLabel, setLabel, setLabel, setMember, setMember, setMember, setMember, setSeeAlso, setSeeAlso, setSeeAlso, setSeeAlso, setType, setType, setType, setType, setValue, setValue, setValue, setValue
asBlankNode, asDatatypeLiteral, asLanguageTagLiteral, asLiteral, asResource, asURI, castTo, compareTo, equals, getModel, getRDFSClassURI, getResource, hashCode, isInstanceof, toSPARQL, toString
public static final URI RDFS_CLASS
public static final URI ONEOF
public static final URI SUBCLASSOF
public static final URI[] MANAGED_URIS
protected OwlClass(Model model, URI classURI, Resource instanceIdentifier, boolean write)
model
- RDF2GO Model implementation, see http://rdf2go.semweb4j.orgclassURI
- URI of RDFS classinstanceIdentifier
- Resource that identifies this instancewrite
- if true, the statement (this, rdf:type, TYPE) is written to
the model
[Generated from RDFReactor template rule #c1]public OwlClass(Model model, Resource instanceIdentifier, boolean write)
model
- RDF2GO Model implementation, see http://rdf2go.ontoware.orginstanceIdentifier
- an RDF2Go Resource identifying this instancewrite
- if true, the statement (this, rdf:type, TYPE) is written to
the model
[Generated from RDFReactor template rule #c2]public OwlClass(Model model, String uriString, boolean write) throws ModelRuntimeException
model
- RDF2GO Model implementation, see http://rdf2go.ontoware.orguriString
- a URI given as a Stringwrite
- if true, the statement (this, rdf:type, TYPE) is written to
the modelModelRuntimeException
- if URI syntax is wrong
[Generated from RDFReactor template rule #c7]public OwlClass(Model model, BlankNode bnode, boolean write)
model
- RDF2GO Model implementation, see http://rdf2go.ontoware.orgbnode
- BlankNode of this instancewrite
- if true, the statement (this, rdf:type, TYPE) is written to
the model
[Generated from RDFReactor template rule #c8]public OwlClass(Model model, boolean write)
model
- RDF2GO Model implementation, see http://rdf2go.ontoware.orgwrite
- if true, the statement (this, rdf:type, TYPE) is written to
the model
[Generated from RDFReactor template rule #c9]public static void createInstance(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resource
[Generated from RDFReactor template rule #1]public static boolean hasInstance(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcepublic static ClosableIterator<Resource> getAllInstancesAsRdf2GoResources(Model model)
model
- an RDF2Go modelpublic static ReactorResult<? extends OwlClass> getAllInstance_as(Model model)
model
- an RDF2Go modelpublic static List<? extends OwlClass> getAllInstances_asList(Model model)
model
- an RDF2Go modelpublic static OwlClass[] getAllInstances_asArray(Model model)
model
- an RDF2Go modelpublic static void deleteInstance(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resource
[Generated from RDFReactor template rule #4]public static ClosableIterator<Resource> getAllType_Inverse(Model model, Object objectValue)
model
- an RDF2Go modelobjectValue
- public static ClosableIterator<Resource> getAllDomain_Inverse(Model model, Object objectValue)
model
- an RDF2Go modelobjectValue
- public static ClosableIterator<Resource> getAllRange_Inverse(Model model, Object objectValue)
model
- an RDF2Go modelobjectValue
- public static ClosableIterator<Resource> getAllSubClassOf_Inverse(Model model, Object objectValue)
model
- an RDF2Go modelobjectValue
- public static ClosableIterator<Resource> getAllAllValuesFrom_Inverse(Model model, Object objectValue)
model
- an RDF2Go modelobjectValue
- public static ClosableIterator<Resource> getAllSomeValuesFrom_Inverse(Model model, Object objectValue)
model
- an RDF2Go modelobjectValue
- public static ClosableIterator<Node> getAllOneOf_asNode(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcepublic static List<Node> getAllOneOf_asNodeList(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcepublic ClosableIterator<Node> getAllOneOf_asNode()
public List<Node> getAllOneOf_asNodeList()
public static void addOneOf(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be added
[Generated from RDFReactor template rule #add1static]public void addOneOf(Node value)
value
- the value to be added
[Generated from RDFReactor template rule #add1dynamic]public static void setOneOf(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be set
[Generated from RDFReactor template rule #set1static]public void setOneOf(Node value)
value
- the value to be added
[Generated from RDFReactor template rule #set1dynamic]public static void removeOneOf(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be removed
[Generated from RDFReactor template rule #remove1static]public void removeOneOf(Node value)
value
- the value to be removed
[Generated from RDFReactor template rule #remove1dynamic]public static void removeAllOneOf(Model model, Resource instanceResource)
instanceResource
- an RDF2Go resource
[Generated from RDFReactor template rule #removeall1static]public void addOneOf()
public static ClosableIterator<Node> getAllSubClassOf_asNode(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcepublic static List<Node> getAllSubClassOf_asNodeList(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcepublic ClosableIterator<Node> getAllSubClassOf_asNode()
public List<Node> getAllSubClassOf_asNodeList()
public static ClosableIterator<OwlClass> getAllSubClassOf(Model model, Resource instanceResource)
instanceResource
- an RDF2Go resourcepublic static List<OwlClass> getAllSubClassOf_asList(Model model, Resource instanceResource)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcepublic ClosableIterator<OwlClass> getAllSubClassOf()
public List<OwlClass> getAllSubClassOf_asList()
public static void addSubClassOf(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be added
[Generated from RDFReactor template rule #add1static]public void addSubClassOf(Node value)
value
- the value to be added
[Generated from RDFReactor template rule #add1dynamic]public static void addSubClassOf(Model model, Resource instanceResource, OwlClass value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resource
[Generated from RDFReactor template rule #add3static]public void addSubClassOf(OwlClass value)
public static void setSubClassOf(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be set
[Generated from RDFReactor template rule #set1static]public void setSubClassOf(Node value)
value
- the value to be added
[Generated from RDFReactor template rule #set1dynamic]public static void setSubClassOf(Model model, Resource instanceResource, OwlClass value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be added
[Generated from RDFReactor template rule #set3static]public void setSubClassOf(OwlClass value)
value
- the value to be added
[Generated from RDFReactor template rule #set4dynamic]public static void removeSubClassOf(Model model, Resource instanceResource, Node value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be removed
[Generated from RDFReactor template rule #remove1static]public void removeSubClassOf(Node value)
value
- the value to be removed
[Generated from RDFReactor template rule #remove1dynamic]public static void removeSubClassOf(Model model, Resource instanceResource, OwlClass value)
model
- an RDF2Go modelinstanceResource
- an RDF2Go resourcevalue
- the value to be removed
[Generated from RDFReactor template rule #remove3static]public void removeSubClassOf(OwlClass value)
value
- the value to be removed
[Generated from RDFReactor template rule #remove4dynamic]public static void removeAllSubClassOf(Model model, Resource instanceResource)
instanceResource
- an RDF2Go resource
[Generated from RDFReactor template rule #removeall1static]public void addSubClassOf()
Copyright © 2005–2017 IT-Consulting Dr. Max Völkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.