org.openanzo.rdfs
Interface _Resource

All Superinterfaces:
CoreThing, GraphThing
All Known Subinterfaces:
_Property, _Thing, Alt, AnnotationProperty, AntisymmetricProperty, Bag, Class, Class, Container, ContainerMembershipProperty, Datatype, DatatypeProperty, FunctionalDataPropety, FunctionalObjectProperty, FunctionalProperty, FunctionalPropety, Individual, InverseFunctionalProperty, IrreflexiveProperty, List, Literal, Nothing, ObjectProperty, OWLEntity, ReflexiveProperty, Seq, SymmetricProperty, TransitiveProperty
All Known Implementing Classes:
_PropertyImpl, _ResourceImpl, _ThingImpl, AltImpl, AnnotationPropertyImpl, AntisymmetricPropertyImpl, BagImpl, ClassImpl, ClassImpl, ContainerImpl, ContainerMembershipPropertyImpl, DatatypeImpl, DatatypePropertyImpl, FunctionalDataPropetyImpl, FunctionalObjectPropertyImpl, FunctionalPropertyImpl, FunctionalPropetyImpl, IndividualImpl, InverseFunctionalPropertyImpl, IrreflexivePropertyImpl, ListImpl, LiteralImpl, NothingImpl, ObjectPropertyImpl, OWLEntityImpl, ReflexivePropertyImpl, SeqImpl, SymmetricPropertyImpl, TransitivePropertyImpl

public interface _Resource
extends GraphThing

Interface for Resource ontology class
Use the org.openanzo.rdfs.RDFSFactory to create instances of this interface.

(URI: http://www.w3.org/2000/01/rdf-schema#Resource)


RDF Schema Standard Properties
label : Resource
comment : The class resource, everything.



Field Summary
static org.openrdf.model.URI commentProperty
          The Anzo Property for comment
static org.openrdf.model.URI isDefinedByProperty
          The Anzo Property for isDefinedBy
static org.openrdf.model.URI labelProperty
          The Anzo Property for label
static org.openrdf.model.URI memberProperty
          The Anzo Property for member
static org.openrdf.model.URI seeAlsoProperty
          The Anzo Property for seeAlso
static org.openrdf.model.URI TYPE
          The rdf:type for this ontology class
static org.openrdf.model.URI typeProperty
          The Anzo Property for type
static org.openrdf.model.URI valueProperty
          The Anzo Property for value
 
Method Summary
 void addComment(java.lang.String comment)
          Add a 'comment' property value
 void addIsDefinedBy(_Resource isDefinedBy)
          Adds a value for the 'isDefinedBy' property
 _Resource addIsDefinedBy()
          Adds an anonymous value for the 'isDefinedBy' property
 _Resource addIsDefinedBy(org.openrdf.model.Resource resource)
          Adds a value for the 'isDefinedBy' property.
 void addLabel(java.lang.String label)
          Add a 'label' property value
 void addMember(_Resource member)
          Adds a value for the 'member' property
 _Resource addMember()
          Adds an anonymous value for the 'member' property
 _Resource addMember(org.openrdf.model.Resource resource)
          Adds a value for the 'member' property.
 void addSeeAlso(_Resource seeAlso)
          Adds a value for the 'seeAlso' property
 _Resource addSeeAlso()
          Adds an anonymous value for the 'seeAlso' property
 _Resource addSeeAlso(org.openrdf.model.Resource resource)
          Adds a value for the 'seeAlso' property.
 Class addType()
          Adds an anonymous value for the 'type' property
 void addType(Class type)
          Adds a value for the 'type' property
 Class addType(org.openrdf.model.Resource resource)
          Adds a value for the 'type' property.
 void addValue(_Resource value)
          Adds a value for the 'value' property
 _Resource addValue()
          Adds an anonymous value for the 'value' property
 _Resource addValue(org.openrdf.model.Resource resource)
          Adds a value for the 'value' property.
 info.aduna.collections.iterators.CloseableIterator<java.lang.String> getComment()
          Iterates through the 'comment' property values.
 info.aduna.collections.iterators.CloseableIterator<_Resource> getIsDefinedBy()
          Get an Iterator the 'isDefinedBy' property values.
 info.aduna.collections.iterators.CloseableIterator<java.lang.String> getLabel()
          Iterates through the 'label' property values.
 info.aduna.collections.iterators.CloseableIterator<_Resource> getMember()
          Get an Iterator the 'member' property values.
 info.aduna.collections.iterators.CloseableIterator<_Resource> getSeeAlso()
          Get an Iterator the 'seeAlso' property values.
 info.aduna.collections.iterators.CloseableIterator<Class> getType()
          Get an Iterator the 'type' property values.
 info.aduna.collections.iterators.CloseableIterator<_Resource> getValue()
          Get an Iterator the 'value' property values.
 void removeComment(java.lang.String comment)
          Remove a 'comment' property value.
 void removeIsDefinedBy(_Resource isDefinedBy)
          Removes a value for the 'isDefinedBy' property.
 void removeIsDefinedBy(org.openrdf.model.Resource isDefinedBy)
          Remove a 'isDefinedBy' property value.
 void removeLabel(java.lang.String label)
          Remove a 'label' property value.
 void removeMember(_Resource member)
          Removes a value for the 'member' property.
 void removeMember(org.openrdf.model.Resource member)
          Remove a 'member' property value.
 void removeSeeAlso(_Resource seeAlso)
          Removes a value for the 'seeAlso' property.
 void removeSeeAlso(org.openrdf.model.Resource seeAlso)
          Remove a 'seeAlso' property value.
 void removeType(Class type)
          Removes a value for the 'type' property.
 void removeType(org.openrdf.model.Resource type)
          Remove a 'type' property value.
 void removeValue(_Resource value)
          Removes a value for the 'value' property.
 void removeValue(org.openrdf.model.Resource value)
          Remove a 'value' property value.
 
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

TYPE

static final org.openrdf.model.URI TYPE
The rdf:type for this ontology class


commentProperty

static final org.openrdf.model.URI commentProperty
The Anzo Property for comment

(URI: http://www.w3.org/2000/01/rdf-schema#comment)



RDF Schema Standard Properties
label : comment
comment : A description of the subject resource.


labelProperty

static final org.openrdf.model.URI labelProperty
The Anzo Property for label

(URI: http://www.w3.org/2000/01/rdf-schema#label)



RDF Schema Standard Properties
label : label
comment : A human-readable name for the subject.


typeProperty

static final org.openrdf.model.URI typeProperty
The Anzo Property for type

(URI: http://www.w3.org/1999/02/22-rdf-syntax-ns#type)



RDF Schema Standard Properties
label : type
comment : The subject is an instance of a class.


valueProperty

static final org.openrdf.model.URI valueProperty
The Anzo Property for value

(URI: http://www.w3.org/1999/02/22-rdf-syntax-ns#value)



RDF Schema Standard Properties
label : value
comment : Idiomatic property used for structured values.


isDefinedByProperty

static final org.openrdf.model.URI isDefinedByProperty
The Anzo Property for isDefinedBy

(URI: http://www.w3.org/2000/01/rdf-schema#isDefinedBy)



RDF Schema Standard Properties
label : isDefinedBy
comment : The defininition of the subject resource.


memberProperty

static final org.openrdf.model.URI memberProperty
The Anzo Property for member

(URI: http://www.w3.org/2000/01/rdf-schema#member)



RDF Schema Standard Properties
label : member
comment : A member of the subject resource.


seeAlsoProperty

static final org.openrdf.model.URI seeAlsoProperty
The Anzo Property for seeAlso

(URI: http://www.w3.org/2000/01/rdf-schema#seeAlso)



RDF Schema Standard Properties
label : seeAlso
comment : Further information about the subject resource.

Method Detail

getComment

info.aduna.collections.iterators.CloseableIterator<java.lang.String> getComment()
                                                                                throws JastorException
Iterates through the 'comment' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of String
Throws:
JastorException
See Also:
commentProperty

addComment

void addComment(java.lang.String comment)
                throws JastorException
Add a 'comment' property value

Parameters:
comment - String, the value to add
Throws:
JastorException
See Also:
commentProperty

removeComment

void removeComment(java.lang.String comment)
                   throws JastorException
Remove a 'comment' property value. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
comment - String, the value to remove
Throws:
JastorException
See Also:
commentProperty

getLabel

info.aduna.collections.iterators.CloseableIterator<java.lang.String> getLabel()
                                                                              throws JastorException
Iterates through the 'label' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of String
Throws:
JastorException
See Also:
labelProperty

addLabel

void addLabel(java.lang.String label)
              throws JastorException
Add a 'label' property value

Parameters:
label - String, the value to add
Throws:
JastorException
See Also:
labelProperty

removeLabel

void removeLabel(java.lang.String label)
                 throws JastorException
Remove a 'label' property value. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
label - String, the value to remove
Throws:
JastorException
See Also:
labelProperty

getType

info.aduna.collections.iterators.CloseableIterator<Class> getType()
                                                                  throws JastorException
Get an Iterator the 'type' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of Class
Throws:
JastorException
See Also:
typeProperty

addType

void addType(Class type)
             throws JastorException
Adds a value for the 'type' property

Parameters:
type - The Class to add
Throws:
JastorException
See Also:
typeProperty

addType

Class addType()
              throws JastorException
Adds an anonymous value for the 'type' property

Returns:
The anoymous Class created
Throws:
JastorException
See Also:
typeProperty

addType

Class addType(org.openrdf.model.Resource resource)
              throws JastorException
Adds a value for the 'type' property. This method is equivalent constructing a new instance of Class with the factory and calling addType(org.openanzo.rdfs.Class type) The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Class. That is, this method should not be used as a shortcut for creating new objects in the model.

Parameters:
resource - The Resource to add
Returns:
The org.openanzo.rdfs.Class created
Throws:
JastorException
See Also:
typeProperty

removeType

void removeType(Class type)
                throws JastorException
Removes a value for the 'type' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
type - The Class to remove
Throws:
JastorException
See Also:
typeProperty

removeType

void removeType(org.openrdf.model.Resource type)
                throws JastorException
Remove a 'type' property value. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
type - Class, the value to remove
Throws:
JastorException
See Also:
typeProperty

getValue

info.aduna.collections.iterators.CloseableIterator<_Resource> getValue()
                                                                       throws JastorException
Get an Iterator the 'value' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of _Resource
Throws:
JastorException
See Also:
valueProperty

addValue

void addValue(_Resource value)
              throws JastorException
Adds a value for the 'value' property

Parameters:
value - The _Resource to add
Throws:
JastorException
See Also:
valueProperty

addValue

_Resource addValue()
                   throws JastorException
Adds an anonymous value for the 'value' property

Returns:
The anoymous _Resource created
Throws:
JastorException
See Also:
valueProperty

addValue

_Resource addValue(org.openrdf.model.Resource resource)
                   throws JastorException
Adds a value for the 'value' property. This method is equivalent constructing a new instance of _Resource with the factory and calling addValue(org.openanzo.rdfs._Resource value) The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Resource. That is, this method should not be used as a shortcut for creating new objects in the model.

Parameters:
resource - The Resource to add
Returns:
The org.openanzo.rdfs._Resource created
Throws:
JastorException
See Also:
valueProperty

removeValue

void removeValue(_Resource value)
                 throws JastorException
Removes a value for the 'value' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
value - The _Resource to remove
Throws:
JastorException
See Also:
valueProperty

removeValue

void removeValue(org.openrdf.model.Resource value)
                 throws JastorException
Remove a 'value' property value. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
value - _Resource, the value to remove
Throws:
JastorException
See Also:
valueProperty

getIsDefinedBy

info.aduna.collections.iterators.CloseableIterator<_Resource> getIsDefinedBy()
                                                                             throws JastorException
Get an Iterator the 'isDefinedBy' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of _Resource
Throws:
JastorException
See Also:
isDefinedByProperty

addIsDefinedBy

void addIsDefinedBy(_Resource isDefinedBy)
                    throws JastorException
Adds a value for the 'isDefinedBy' property

Parameters:
isDefinedBy - The _Resource to add
Throws:
JastorException
See Also:
isDefinedByProperty

addIsDefinedBy

_Resource addIsDefinedBy()
                         throws JastorException
Adds an anonymous value for the 'isDefinedBy' property

Returns:
The anoymous _Resource created
Throws:
JastorException
See Also:
isDefinedByProperty

addIsDefinedBy

_Resource addIsDefinedBy(org.openrdf.model.Resource resource)
                         throws JastorException
Adds a value for the 'isDefinedBy' property. This method is equivalent constructing a new instance of _Resource with the factory and calling addIsDefinedBy(org.openanzo.rdfs._Resource isDefinedBy) The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Resource. That is, this method should not be used as a shortcut for creating new objects in the model.

Parameters:
resource - The Resource to add
Returns:
The org.openanzo.rdfs._Resource created
Throws:
JastorException
See Also:
isDefinedByProperty

removeIsDefinedBy

void removeIsDefinedBy(_Resource isDefinedBy)
                       throws JastorException
Removes a value for the 'isDefinedBy' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
isDefinedBy - The _Resource to remove
Throws:
JastorException
See Also:
isDefinedByProperty

removeIsDefinedBy

void removeIsDefinedBy(org.openrdf.model.Resource isDefinedBy)
                       throws JastorException
Remove a 'isDefinedBy' property value. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
isDefinedBy - _Resource, the value to remove
Throws:
JastorException
See Also:
isDefinedByProperty

getMember

info.aduna.collections.iterators.CloseableIterator<_Resource> getMember()
                                                                        throws JastorException
Get an Iterator the 'member' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of _Resource
Throws:
JastorException
See Also:
memberProperty

addMember

void addMember(_Resource member)
               throws JastorException
Adds a value for the 'member' property

Parameters:
member - The _Resource to add
Throws:
JastorException
See Also:
memberProperty

addMember

_Resource addMember()
                    throws JastorException
Adds an anonymous value for the 'member' property

Returns:
The anoymous _Resource created
Throws:
JastorException
See Also:
memberProperty

addMember

_Resource addMember(org.openrdf.model.Resource resource)
                    throws JastorException
Adds a value for the 'member' property. This method is equivalent constructing a new instance of _Resource with the factory and calling addMember(org.openanzo.rdfs._Resource member) The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Resource. That is, this method should not be used as a shortcut for creating new objects in the model.

Parameters:
resource - The Resource to add
Returns:
The org.openanzo.rdfs._Resource created
Throws:
JastorException
See Also:
memberProperty

removeMember

void removeMember(_Resource member)
                  throws JastorException
Removes a value for the 'member' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
member - The _Resource to remove
Throws:
JastorException
See Also:
memberProperty

removeMember

void removeMember(org.openrdf.model.Resource member)
                  throws JastorException
Remove a 'member' property value. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
member - _Resource, the value to remove
Throws:
JastorException
See Also:
memberProperty

getSeeAlso

info.aduna.collections.iterators.CloseableIterator<_Resource> getSeeAlso()
                                                                         throws JastorException
Get an Iterator the 'seeAlso' property values. This Iteartor may be used to remove all such values.

Returns:
Iterator of _Resource
Throws:
JastorException
See Also:
seeAlsoProperty

addSeeAlso

void addSeeAlso(_Resource seeAlso)
                throws JastorException
Adds a value for the 'seeAlso' property

Parameters:
seeAlso - The _Resource to add
Throws:
JastorException
See Also:
seeAlsoProperty

addSeeAlso

_Resource addSeeAlso()
                     throws JastorException
Adds an anonymous value for the 'seeAlso' property

Returns:
The anoymous _Resource created
Throws:
JastorException
See Also:
seeAlsoProperty

addSeeAlso

_Resource addSeeAlso(org.openrdf.model.Resource resource)
                     throws JastorException
Adds a value for the 'seeAlso' property. This method is equivalent constructing a new instance of _Resource with the factory and calling addSeeAlso(org.openanzo.rdfs._Resource seeAlso) The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Resource. That is, this method should not be used as a shortcut for creating new objects in the model.

Parameters:
resource - The Resource to add
Returns:
The org.openanzo.rdfs._Resource created
Throws:
JastorException
See Also:
seeAlsoProperty

removeSeeAlso

void removeSeeAlso(_Resource seeAlso)
                   throws JastorException
Removes a value for the 'seeAlso' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
seeAlso - The _Resource to remove
Throws:
JastorException
See Also:
seeAlsoProperty

removeSeeAlso

void removeSeeAlso(org.openrdf.model.Resource seeAlso)
                   throws JastorException
Remove a 'seeAlso' property value. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Parameters:
seeAlso - _Resource, the value to remove
Throws:
JastorException
See Also:
seeAlsoProperty


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.