|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Individual
Interface that encapsulates an individual in an ontology, sometimes
referred to as a fact or assertion, or a member of the a-box. In order
to be recognised as an individual, rather than a generic resource,
at least one rdf:type
statement, referring to a known class,
must be present in the model.
Method Summary | |
---|---|
void |
addSameIndividualAs(Resource res)
Deprecated. WebOnt have removed owl:sameIndividualAs . Use OntResource.addSameAs(com.hp.hpl.jena.rdf.model.Resource) instead. |
OntResource |
getSameIndividualAs()
Deprecated. WebOnt have removed owl:sameIndividualAs . Use OntResource.getSameAs() instead. |
boolean |
isSameIndividualAs(Resource res)
Deprecated. WebOnt have removed owl:sameIndividualAs . Use OntResource.isSameAs(com.hp.hpl.jena.rdf.model.Resource) instead. |
ExtendedIterator |
listSameIndividualAs()
Deprecated. WebOnt have removed owl:sameIndividualAs . Use OntResource.listSameAs() instead. |
void |
removeSameIndividualAs(Resource res)
Deprecated. WebOnt have removed owl:sameIndividualAs . Use OntResource.removeSameAs(com.hp.hpl.jena.rdf.model.Resource) instead. |
void |
setSameIndividualAs(Resource res)
Deprecated. WebOnt have removed owl:sameIndividualAs . Use OntResource.setSameAs(com.hp.hpl.jena.rdf.model.Resource) instead. |
Methods inherited from interface com.hp.hpl.jena.rdf.model.Resource |
---|
abort, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getModel, getNameSpace, getNode, getProperty, getRequiredProperty, getURI, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, listProperties, listProperties, removeAll, removeProperties, toString |
Methods inherited from interface com.hp.hpl.jena.rdf.model.RDFNode |
---|
as, canAs, inModel, isAnon, isLiteral, isResource, isURIResource, visitWith |
Methods inherited from interface com.hp.hpl.jena.graph.FrontsNode |
---|
asNode |
Method Detail |
---|
void setSameIndividualAs(Resource res)
owl:sameIndividualAs
. Use OntResource.setSameAs(com.hp.hpl.jena.rdf.model.Resource)
instead.
Assert equivalence between the given individual and this individual. Any existing
statements for sameIndividualAs
will be removed.
Note that sameAs
and sameIndividualAs
are aliases.
res
- The resource that declared to be the same as this individual
OntProfileException
- If the sameIndividualAs property is not supported in the current language profile.void addSameIndividualAs(Resource res)
owl:sameIndividualAs
. Use OntResource.addSameAs(com.hp.hpl.jena.rdf.model.Resource)
instead.
Add an individual that is declared to be equivalent to this individual.
Note that sameAs
and sameIndividualAs
are aliases.
res
- A resource that declared to be the same as this individual
OntProfileException
- If the sameIndividualAs property is not supported in the current language profile.OntResource getSameIndividualAs()
owl:sameIndividualAs
. Use OntResource.getSameAs()
instead.
Answer a resource that is declared to be the same as this individual. If there are more than one such resource, an arbitrary selection is made.
Note that sameAs
and sameIndividualAs
are aliases.
OntProfileException
- If the sameIndividualAs property is not supported in the current language profile.ExtendedIterator listSameIndividualAs()
owl:sameIndividualAs
. Use OntResource.listSameAs()
instead.
Answer an iterator over all of the resources that are declared to be equivalent to
this individual. Each elemeent of the iterator will be an OntResource
.
Note that sameAs
and sameIndividualAs
are aliases.
OntProfileException
- If the sameIndividualAs property is not supported in the current language profile.boolean isSameIndividualAs(Resource res)
owl:sameIndividualAs
. Use OntResource.isSameAs(com.hp.hpl.jena.rdf.model.Resource)
instead.
Answer true if this individual is the same as the given resource.
res
- A resource to test against
sameIndividualAs
statement.void removeSameIndividualAs(Resource res)
owl:sameIndividualAs
. Use OntResource.removeSameAs(com.hp.hpl.jena.rdf.model.Resource)
instead.
Remove the statement that this individual is the same as the given individual. If this statement is not true of the current model, nothing happens.
res
- A resource that may be declared to be the sameIndividualAs this resource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |