Click or drag to resize

OntologyResource Methods

The OntologyResource type exposes the following members.

Methods
  NameDescription
Public methodAddComment(String)
Adds a comment for this resource.
Public methodAddComment(String, String)
Adds a comment in a specific language for this resource.
Public methodAddDifferentFrom(Uri)
Adds a new owl:differentFrom triple for the resource.
Public methodAddDifferentFrom(INode)
Adds a new owl:differentFrom triple for the resource.
Public methodAddDifferentFrom(OntologyResource)
Adds a new owl:differentFrom triple for the resource.
Public methodAddIsDefinedBy(Uri)
Adds a new rdfs:isDefinedBy triple for the resource.
Public methodAddIsDefinedBy(INode)
Adds a new rdfs:isDefinedBy triple for the resource.
Public methodAddIsDefinedBy(OntologyResource)
Adds a new rdfs:isDefinedBy triple for the resource.
Public methodAddLabel(String)
Adds a label for the resource.
Public methodAddLabel(String, String)
Adds a label in a specific language for a resource.
Public methodAddLiteralProperty(String, ILiteralNode, Boolean)
Adds a new literal value for a property.
Public methodAddLiteralProperty(Uri, ILiteralNode, Boolean)
Adds a new literal value for a property.
Public methodAddResourceProperty(String, INode, Boolean)
Adds a new value for a property.
Public methodAddResourceProperty(Uri, INode, Boolean)
Adds a new value for a property.
Public methodAddSameAs(Uri)
Adds a new owl:sameAs triple for the resource.
Public methodAddSameAs(INode)
Adds a new owl:sameAs triple for the resource.
Public methodAddSameAs(OntologyResource)
Adds a new owl:sameAs triple for the resource.
Public methodAddSeeAlso(Uri)
Adds a new rdfs:seeAlso triple for the resource.
Public methodAddSeeAlso(INode)
Adds a new rdfs:seeAlso triple for the resource.
Public methodAddSeeAlso(OntologyResource)
Adds a new rdfs:seeAlso triple for the resource.
Public methodAddType(Uri)
Adds a new rdf:type triple for the resource.
Public methodAddType(INode)
Adds a new rdf:type triple for the resource.
Public methodAddType(OntologyResource)
Adds a new rdf:type triple for the resource.
Public methodAddVersionInfo
Adds version information for the resource.
Public methodAsClass
Casts a Resource into an Ontology Class.
Public methodAsProperty
Casts a Resource into an Ontology Property.
Public methodClearComments
Removes all comments for this resource.
Public methodClearDifferentFrom
Clears all owl:differentFrom triples for the resource.
Public methodClearIsDefinedBy
Removes all rdfs:isDefinedBy triples for the resource.
Public methodClearLabels
Clears all labels for a resource.
Public methodClearLiteralProperty(String, Boolean)
Clears all values for a Literal Property.
Public methodClearLiteralProperty(Uri, Boolean)
Clears all values for a Literal Property.
Public methodClearResourceProperty(String, Boolean)
Clears all values for a Resource Property.
Public methodClearResourceProperty(Uri, Boolean)
Clears all values for a Resource Property.
Public methodClearSameAs
Removes all owl:sameAs triples for the resource.
Public methodClearSeeAlso
Removes all rdfs:seeAlso triples for the resource.
Public methodClearTypes
Removes all rdf:type triples for the resource.
Public methodClearVersionInfo
Clears version information for the resource.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLiteralProperty(String)
Gets the values for a property which is restricted to literals.
Public methodGetLiteralProperty(Uri)
Gets the values for a property which is restricted to literals.
Public methodGetResourceProperty(String)
Gets the values for a property which can be any node type.
Public methodGetResourceProperty(Uri)
Gets the values for a property which can be any node type.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodIntialiseProperty
Retrieves all the Triples which have the Resource as the subject and the given property URI as the predicate from the Graph and stores the values locally.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveComment(String)
Removes a comment for this resource.
Public methodRemoveComment(ILiteralNode)
Removes a comment for this resource.
Public methodRemoveComment(String, String)
Removes a comment in a specific language for this resource.
Public methodRemoveDifferentFrom(Uri)
Removes a owl:differentFrom triple for the resource.
Public methodRemoveDifferentFrom(INode)
Removes a owl:differentFrom triple for the resource.
Public methodRemoveDifferentFrom(OntologyResource)
Removes a owl:differentFrom triple for the resource.
Public methodRemoveIsDefinedBy(Uri)
Removes a rdfs:isDefinedBy triple for the resource.
Public methodRemoveIsDefinedBy(INode)
Removes a rdfs:isDefinedBy triple for the resource.
Public methodRemoveIsDefinedBy(OntologyResource)
Removes a rdfs:isDefinedBy triple for the resource.
Public methodRemoveLabel(String)
Removes a label for a resource.
Public methodRemoveLabel(ILiteralNode)
Removes a specific label for a resource.
Public methodRemoveLabel(String, String)
Removes a label in a specific language for a resource.
Public methodRemoveLiteralProperty(String, ILiteralNode, Boolean)
Removes a literal value for a property.
Public methodRemoveLiteralProperty(Uri, ILiteralNode, Boolean)
Removes a literal value for a property.
Public methodRemoveResourceProperty(String, INode, Boolean)
Removes a value for a property.
Public methodRemoveResourceProperty(Uri, INode, Boolean)
Removes a value for a property.
Public methodRemoveSameAs(Uri)
Removes a owl:sameAs triple for the resource.
Public methodRemoveSameAs(INode)
Removes a owl:sameAs triple for the resource.
Public methodRemoveSameAs(OntologyResource)
Removes a owl:sameAs triple for the resource.
Public methodRemoveSeeAlso(Uri)
Removes a rdfs:seeAlso triple for the resource.
Public methodRemoveSeeAlso(INode)
Removes a rdfs:seeAlso triple for the resource.
Public methodRemoveSeeAlso(OntologyResource)
Removes a rdfs:seeAlso triple for the resource.
Public methodRemoveType(Uri)
Removes a rdf:type triple for the resource.
Public methodRemoveType(INode)
Removes a rdf:type triple for the resource.
Public methodRemoveType(OntologyResource)
Removes a rdf:type triple for the resource.
Public methodRemoveVersionInfo(String)
Remove version information for the resource.
Public methodRemoveVersionInfo(ILiteralNode)
Remove version information for the resource.
Public methodToString
Gets the String representation of the Resource.
(Overrides ObjectToString.)
Top
See Also