|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OWLEntity
Interface for OWLEntity ontology class
Use the org.openanzo.owl.OWL11Factory to create instances of this interface.
(URI: http://www.w3.org/2002/07/owl#OWLEntity)
| Field Summary | |
|---|---|
static org.openrdf.model.URI |
differentFromProperty
The Anzo Property for differentFrom |
static org.openrdf.model.URI |
sameAsProperty
The Anzo Property for sameAs |
static org.openrdf.model.URI |
TYPE
The rdf:type for this ontology class |
| Fields inherited from interface org.openanzo.rdfs._Resource |
|---|
commentProperty, isDefinedByProperty, labelProperty, memberProperty, seeAlsoProperty, typeProperty, valueProperty |
| Method Summary | |
|---|---|
OWLEntity |
addDifferentFrom()
Adds an anonymous value for the 'differentFrom' property |
void |
addDifferentFrom(OWLEntity differentFrom)
Adds a value for the 'differentFrom' property |
OWLEntity |
addDifferentFrom(org.openrdf.model.Resource resource)
Adds a value for the 'differentFrom' property. |
OWLEntity |
addSameAs()
Adds an anonymous value for the 'sameAs' property |
void |
addSameAs(OWLEntity sameAs)
Adds a value for the 'sameAs' property |
OWLEntity |
addSameAs(org.openrdf.model.Resource resource)
Adds a value for the 'sameAs' property. |
info.aduna.collections.iterators.CloseableIterator<OWLEntity> |
getDifferentFrom()
Get an Iterator the 'differentFrom' property values. |
info.aduna.collections.iterators.CloseableIterator<OWLEntity> |
getSameAs()
Get an Iterator the 'sameAs' property values. |
void |
removeDifferentFrom(OWLEntity differentFrom)
Removes a value for the 'differentFrom' property. |
void |
removeDifferentFrom(org.openrdf.model.Resource differentFrom)
Remove a 'differentFrom' property value. |
void |
removeSameAs(OWLEntity sameAs)
Removes a value for the 'sameAs' property. |
void |
removeSameAs(org.openrdf.model.Resource sameAs)
Remove a 'sameAs' property value. |
| Methods inherited from interface org.openanzo.rdfs._Resource |
|---|
addComment, addIsDefinedBy, addIsDefinedBy, addIsDefinedBy, addLabel, addMember, addMember, addMember, addSeeAlso, addSeeAlso, addSeeAlso, addType, addType, addType, addValue, addValue, addValue, getComment, getIsDefinedBy, getLabel, getMember, getSeeAlso, getType, getValue, removeComment, removeIsDefinedBy, removeIsDefinedBy, removeLabel, removeMember, removeMember, removeSeeAlso, removeSeeAlso, removeType, removeType, removeValue, removeValue |
| Methods inherited from interface org.openanzo.jastor.GraphThing |
|---|
getProperties, getPropertyValue, getPropertyValue, graph, setPropertyValue, setPropertyValue |
| Methods inherited from interface org.openanzo.jastor.CoreThing |
|---|
clearCache, isRDFType, listStatements, registerListener, removeStatements, resource, unregisterListener, uri |
| Field Detail |
|---|
static final org.openrdf.model.URI TYPE
static final org.openrdf.model.URI differentFromProperty
(URI: http://www.w3.org/2002/07/owl#differentFrom)
static final org.openrdf.model.URI sameAsProperty
(URI: http://www.w3.org/2002/07/owl#sameAs)
| Method Detail |
|---|
info.aduna.collections.iterators.CloseableIterator<OWLEntity> getDifferentFrom()
throws JastorException
Iterator of OWLEntity
JastorExceptiondifferentFromProperty
void addDifferentFrom(OWLEntity differentFrom)
throws JastorException
differentFrom - The OWLEntity to add
JastorExceptiondifferentFromProperty
OWLEntity addDifferentFrom()
throws JastorException
OWLEntity created
JastorExceptiondifferentFromProperty
OWLEntity addDifferentFrom(org.openrdf.model.Resource resource)
throws JastorException
OWLEntity with the factory
and calling addDifferentFrom(org.openanzo.owl.OWLEntity differentFrom)
The resource argument have rdf:type http://www.w3.org/2002/07/owl#OWLEntity. That is, this method
should not be used as a shortcut for creating new objects in the model.
resource - The Resource to add
JastorExceptiondifferentFromProperty
void removeDifferentFrom(OWLEntity differentFrom)
throws JastorException
differentFrom - The OWLEntity to remove
JastorExceptiondifferentFromProperty
void removeDifferentFrom(org.openrdf.model.Resource differentFrom)
throws JastorException
differentFrom - OWLEntity, the value to remove
JastorExceptiondifferentFromProperty
info.aduna.collections.iterators.CloseableIterator<OWLEntity> getSameAs()
throws JastorException
Iterator of OWLEntity
JastorExceptionsameAsProperty
void addSameAs(OWLEntity sameAs)
throws JastorException
sameAs - The OWLEntity to add
JastorExceptionsameAsProperty
OWLEntity addSameAs()
throws JastorException
OWLEntity created
JastorExceptionsameAsProperty
OWLEntity addSameAs(org.openrdf.model.Resource resource)
throws JastorException
OWLEntity with the factory
and calling addSameAs(org.openanzo.owl.OWLEntity sameAs)
The resource argument have rdf:type http://www.w3.org/2002/07/owl#OWLEntity. That is, this method
should not be used as a shortcut for creating new objects in the model.
resource - The Resource to add
JastorExceptionsameAsProperty
void removeSameAs(OWLEntity sameAs)
throws JastorException
sameAs - The OWLEntity to remove
JastorExceptionsameAsProperty
void removeSameAs(org.openrdf.model.Resource sameAs)
throws JastorException
sameAs - OWLEntity, the value to remove
JastorExceptionsameAsProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||