org.openanzo.atom.jastor.rdfs
Class _ResourceImpl

java.lang.Object
  extended by org.openanzo.jastor.GraphThingImpl
      extended by org.openanzo.atom.jastor.rdfs._ResourceImpl
All Implemented Interfaces:
_Resource, CoreThing, GraphThing

public class _ResourceImpl
extends GraphThingImpl
implements _Resource

Implementation of _Resource Use the org.openanzo.atom.jastor.rdfs.Factory to create instances of this class.

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



Field Summary
 
Fields inherited from interface org.openanzo.atom.jastor.rdfs._Resource
TYPE
 
Method Summary
 void addComment(org.openrdf.model.Literal comment)
          Add a 'comment' property value
 Image addDepiction()
          Adds an anonymous value for the 'depiction' property
 void addDepiction(Image depiction)
          Adds a value for the 'depiction' property
 Image addDepiction(org.openrdf.model.Resource resource)
          Adds a value for the 'depiction' property.
 GraphThing addFundedBy()
          Adds an anonymous value for the 'fundedBy' property
 void addFundedBy(GraphThing fundedBy)
          Adds a value for the 'fundedBy' property
 GraphThing addFundedBy(org.openrdf.model.Resource resource)
          Adds a value for the 'fundedBy' property.
 GraphThing addIsDefinedBy()
          Adds an anonymous value for the 'isDefinedBy' property
 void addIsDefinedBy(GraphThing isDefinedBy)
          Adds a value for the 'isDefinedBy' property
 GraphThing addIsDefinedBy(org.openrdf.model.Resource resource)
          Adds a value for the 'isDefinedBy' property.
 void addLabel(org.openrdf.model.Literal label)
          Add a 'label' property value
 GraphThing addLogo()
          Adds an anonymous value for the 'logo' property
 void addLogo(GraphThing logo)
          Adds a value for the 'logo' property
 GraphThing addLogo(org.openrdf.model.Resource resource)
          Adds a value for the 'logo' property.
 Agent addMaker()
          Adds an anonymous value for the 'maker' property
 void addMaker(Agent maker)
          Adds a value for the 'maker' property
 Agent addMaker(org.openrdf.model.Resource resource)
          Adds a value for the 'maker' property.
 GraphThing addMember()
          Adds an anonymous value for the 'member' property
 void addMember(GraphThing member)
          Adds a value for the 'member' property
 GraphThing addMember(org.openrdf.model.Resource resource)
          Adds a value for the 'member' property.
 void addName(org.openrdf.model.Literal name)
          Add a 'name' property value
 GraphThing addSeeAlso()
          Adds an anonymous value for the 'seeAlso' property
 void addSeeAlso(GraphThing seeAlso)
          Adds a value for the 'seeAlso' property
 GraphThing addSeeAlso(org.openrdf.model.Resource resource)
          Adds a value for the 'seeAlso' property.
 GraphThing addTheme()
          Adds an anonymous value for the 'theme' property
 void addTheme(GraphThing theme)
          Adds a value for the 'theme' property
 GraphThing addTheme(org.openrdf.model.Resource resource)
          Adds a value for the 'theme' 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.
 GraphThing addValue()
          Adds an anonymous value for the 'value' property
 void addValue(GraphThing value)
          Adds a value for the 'value' property
 GraphThing addValue(org.openrdf.model.Resource resource)
          Adds a value for the 'value' property.
 info.aduna.collections.iterators.CloseableIterator<org.openrdf.model.Literal> getComment()
          Iterates through the 'comment' property values.
 info.aduna.collections.iterators.CloseableIterator<Image> getDepiction()
          Get an Iterator the 'depiction' property values.
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getFundedBy()
          Get an Iterator the 'fundedBy' property values.
 Document getHomepage()
          Gets the 'homepage' property value
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getIsDefinedBy()
          Get an Iterator the 'isDefinedBy' property values.
 info.aduna.collections.iterators.CloseableIterator<org.openrdf.model.Literal> getLabel()
          Iterates through the 'label' property values.
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getLogo()
          Get an Iterator the 'logo' property values.
 info.aduna.collections.iterators.CloseableIterator<Agent> getMaker()
          Get an Iterator the 'maker' property values.
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getMember()
          Get an Iterator the 'member' property values.
 info.aduna.collections.iterators.CloseableIterator<org.openrdf.model.Literal> getName()
          Iterates through the 'name' property values.
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getSeeAlso()
          Get an Iterator the 'seeAlso' property values.
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getTheme()
          Get an Iterator the 'theme' property values.
 info.aduna.collections.iterators.CloseableIterator<Class> getType()
          Get an Iterator the 'type' property values.
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getValue()
          Get an Iterator the 'value' property values.
 java.util.Collection<org.openrdf.model.Statement> listStatements()
          Get set of statements that makeup this THINGS's properties and types
 void removeComment(org.openrdf.model.Literal comment)
          Remove a 'comment' property value.
 void removeDepiction(Image depiction)
          Removes a value for the 'depiction' property.
 void removeFundedBy(GraphThing fundedBy)
          Removes a value for the 'fundedBy' property.
 void removeIsDefinedBy(GraphThing isDefinedBy)
          Removes a value for the 'isDefinedBy' property.
 void removeLabel(org.openrdf.model.Literal label)
          Remove a 'label' property value.
 void removeLogo(GraphThing logo)
          Removes a value for the 'logo' property.
 void removeMaker(Agent maker)
          Removes a value for the 'maker' property.
 void removeMember(GraphThing member)
          Removes a value for the 'member' property.
 void removeName(org.openrdf.model.Literal name)
          Remove a 'name' property value.
 void removeSeeAlso(GraphThing seeAlso)
          Removes a value for the 'seeAlso' property.
 void removeTheme(GraphThing theme)
          Removes a value for the 'theme' property.
 void removeType(Class type)
          Removes a value for the 'type' property.
 void removeValue(GraphThing value)
          Removes a value for the 'value' property.
 Document setHomepage()
          Sets the 'homepage' property value to an anonymous node
 void setHomepage(Document homepage)
          Sets the 'homepage' property value
 Document setHomepage(org.openrdf.model.Resource resource)
          Sets the 'homepage' property value to the given resource, and add's rdf:type properties.
 
Methods inherited from class org.openanzo.jastor.GraphThingImpl
clearCache, equals, getLiteral, getLiteralValue, getProperties, getPropertyValue, getPropertyValue, graph, isRDFType, registerListener, removeStatements, resource, setPropertyValue, setPropertyValue, toString, unregisterListener, uri
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openanzo.jastor.GraphThing
getProperties, getPropertyValue, getPropertyValue, graph, setPropertyValue, setPropertyValue
 
Methods inherited from interface org.openanzo.jastor.CoreThing
clearCache, isRDFType, registerListener, removeStatements, resource, unregisterListener, uri
 

Method Detail

listStatements

public java.util.Collection<org.openrdf.model.Statement> listStatements()
Description copied from interface: CoreThing
Get set of statements that makeup this THINGS's properties and types

Specified by:
listStatements in interface CoreThing
Overrides:
listStatements in class GraphThingImpl
Returns:
set of statements that makeup this THINGS's properties and types

getComment

public info.aduna.collections.iterators.CloseableIterator<org.openrdf.model.Literal> getComment()
                                                                                         throws JastorException
Description copied from interface: _Resource
Iterates through the 'comment' property values. This Iteartor may be used to remove all such values.

Specified by:
getComment in interface _Resource
Returns:
Iterator of Literal
Throws:
JastorException
See Also:
_Resource.commentProperty

addComment

public void addComment(org.openrdf.model.Literal comment)
                throws JastorException
Description copied from interface: _Resource
Add a 'comment' property value

Specified by:
addComment in interface _Resource
Throws:
JastorException
See Also:
_Resource.commentProperty

removeComment

public void removeComment(org.openrdf.model.Literal comment)
                   throws JastorException
Description copied from interface: _Resource
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.

Specified by:
removeComment in interface _Resource
Throws:
JastorException
See Also:
_Resource.commentProperty

getMember

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

Specified by:
getMember in interface _Resource
Returns:
Iterator of GraphThing
Throws:
JastorException
See Also:
_Resource.memberProperty

addMember

public void addMember(GraphThing member)
               throws JastorException
Description copied from interface: _Resource
Adds a value for the 'member' property

Specified by:
addMember in interface _Resource
Throws:
JastorException
See Also:
_Resource.memberProperty

addMember

public GraphThing addMember()
                     throws JastorException
Description copied from interface: _Resource
Adds an anonymous value for the 'member' property

Specified by:
addMember in interface _Resource
Returns:
The anoymous GraphThing created
Throws:
JastorException
See Also:
_Resource.memberProperty

addMember

public GraphThing addMember(org.openrdf.model.Resource resource)
                     throws JastorException
Description copied from interface: _Resource
Adds a value for the 'member' property. This method is equivalent constructing a new instance of GraphThing with the factory and calling addMember(org.openanzo.jastor.GraphThing 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.

Specified by:
addMember in interface _Resource
Throws:
JastorException
See Also:
_Resource.memberProperty

removeMember

public void removeMember(GraphThing member)
                  throws JastorException
Description copied from interface: _Resource
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.

Specified by:
removeMember in interface _Resource
Throws:
JastorException
See Also:
_Resource.memberProperty

getFundedBy

public info.aduna.collections.iterators.CloseableIterator<GraphThing> getFundedBy()
                                                                           throws JastorException
Description copied from interface: _Resource
Get an Iterator the 'fundedBy' property values. This Iteartor may be used to remove all such values.

Specified by:
getFundedBy in interface _Resource
Returns:
Iterator of GraphThing
Throws:
JastorException
See Also:
_Resource.fundedByProperty

addFundedBy

public void addFundedBy(GraphThing fundedBy)
                 throws JastorException
Description copied from interface: _Resource
Adds a value for the 'fundedBy' property

Specified by:
addFundedBy in interface _Resource
Throws:
JastorException
See Also:
_Resource.fundedByProperty

addFundedBy

public GraphThing addFundedBy()
                       throws JastorException
Description copied from interface: _Resource
Adds an anonymous value for the 'fundedBy' property

Specified by:
addFundedBy in interface _Resource
Returns:
The anoymous GraphThing created
Throws:
JastorException
See Also:
_Resource.fundedByProperty

addFundedBy

public GraphThing addFundedBy(org.openrdf.model.Resource resource)
                       throws JastorException
Description copied from interface: _Resource
Adds a value for the 'fundedBy' property. This method is equivalent constructing a new instance of GraphThing with the factory and calling addFundedBy(org.openanzo.jastor.GraphThing fundedBy) 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.

Specified by:
addFundedBy in interface _Resource
Throws:
JastorException
See Also:
_Resource.fundedByProperty

removeFundedBy

public void removeFundedBy(GraphThing fundedBy)
                    throws JastorException
Description copied from interface: _Resource
Removes a value for the 'fundedBy' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeFundedBy in interface _Resource
Throws:
JastorException
See Also:
_Resource.fundedByProperty

getName

public info.aduna.collections.iterators.CloseableIterator<org.openrdf.model.Literal> getName()
                                                                                      throws JastorException
Description copied from interface: _Resource
Iterates through the 'name' property values. This Iteartor may be used to remove all such values.

Specified by:
getName in interface _Resource
Returns:
Iterator of Literal
Throws:
JastorException
See Also:
_Resource.nameProperty

addName

public void addName(org.openrdf.model.Literal name)
             throws JastorException
Description copied from interface: _Resource
Add a 'name' property value

Specified by:
addName in interface _Resource
Throws:
JastorException
See Also:
_Resource.nameProperty

removeName

public void removeName(org.openrdf.model.Literal name)
                throws JastorException
Description copied from interface: _Resource
Remove a 'name' 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.

Specified by:
removeName in interface _Resource
Throws:
JastorException
See Also:
_Resource.nameProperty

getValue

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

Specified by:
getValue in interface _Resource
Returns:
Iterator of GraphThing
Throws:
JastorException
See Also:
_Resource.valueProperty

addValue

public void addValue(GraphThing value)
              throws JastorException
Description copied from interface: _Resource
Adds a value for the 'value' property

Specified by:
addValue in interface _Resource
Throws:
JastorException
See Also:
_Resource.valueProperty

addValue

public GraphThing addValue()
                    throws JastorException
Description copied from interface: _Resource
Adds an anonymous value for the 'value' property

Specified by:
addValue in interface _Resource
Returns:
The anoymous GraphThing created
Throws:
JastorException
See Also:
_Resource.valueProperty

addValue

public GraphThing addValue(org.openrdf.model.Resource resource)
                    throws JastorException
Description copied from interface: _Resource
Adds a value for the 'value' property. This method is equivalent constructing a new instance of GraphThing with the factory and calling addValue(org.openanzo.jastor.GraphThing 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.

Specified by:
addValue in interface _Resource
Throws:
JastorException
See Also:
_Resource.valueProperty

removeValue

public void removeValue(GraphThing value)
                 throws JastorException
Description copied from interface: _Resource
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.

Specified by:
removeValue in interface _Resource
Throws:
JastorException
See Also:
_Resource.valueProperty

getHomepage

public Document getHomepage()
                     throws JastorException
Description copied from interface: _Resource
Gets the 'homepage' property value

Specified by:
getHomepage in interface _Resource
Returns:
Document
Throws:
JastorException
See Also:
_Resource.homepageProperty

setHomepage

public void setHomepage(Document homepage)
                 throws JastorException
Description copied from interface: _Resource
Sets the 'homepage' property value

Specified by:
setHomepage in interface _Resource
Throws:
JastorException
See Also:
_Resource.homepageProperty

setHomepage

public Document setHomepage()
                     throws JastorException
Description copied from interface: _Resource
Sets the 'homepage' property value to an anonymous node

Specified by:
setHomepage in interface _Resource
Returns:
Document, the created value
Throws:
JastorException
See Also:
_Resource.homepageProperty

setHomepage

public Document setHomepage(org.openrdf.model.Resource resource)
                     throws JastorException
Description copied from interface: _Resource
Sets the 'homepage' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of Document with the factory. and calling setHomepage(org.openanzo.atom.jastor.foaf.Document homepage) The resource argument have rdf:type http://xmlns.com/foaf/0.1/Document. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
setHomepage in interface _Resource
Returns:
Document, the newly created value
Throws:
JastorException
See Also:
_Resource.homepageProperty

getLogo

public info.aduna.collections.iterators.CloseableIterator<GraphThing> getLogo()
                                                                       throws JastorException
Description copied from interface: _Resource
Get an Iterator the 'logo' property values. This Iteartor may be used to remove all such values.

Specified by:
getLogo in interface _Resource
Returns:
Iterator of GraphThing
Throws:
JastorException
See Also:
_Resource.logoProperty

addLogo

public void addLogo(GraphThing logo)
             throws JastorException
Description copied from interface: _Resource
Adds a value for the 'logo' property

Specified by:
addLogo in interface _Resource
Throws:
JastorException
See Also:
_Resource.logoProperty

addLogo

public GraphThing addLogo()
                   throws JastorException
Description copied from interface: _Resource
Adds an anonymous value for the 'logo' property

Specified by:
addLogo in interface _Resource
Returns:
The anoymous GraphThing created
Throws:
JastorException
See Also:
_Resource.logoProperty

addLogo

public GraphThing addLogo(org.openrdf.model.Resource resource)
                   throws JastorException
Description copied from interface: _Resource
Adds a value for the 'logo' property. This method is equivalent constructing a new instance of GraphThing with the factory and calling addLogo(org.openanzo.jastor.GraphThing logo) 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.

Specified by:
addLogo in interface _Resource
Throws:
JastorException
See Also:
_Resource.logoProperty

removeLogo

public void removeLogo(GraphThing logo)
                throws JastorException
Description copied from interface: _Resource
Removes a value for the 'logo' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeLogo in interface _Resource
Throws:
JastorException
See Also:
_Resource.logoProperty

getDepiction

public info.aduna.collections.iterators.CloseableIterator<Image> getDepiction()
                                                                       throws JastorException
Description copied from interface: _Resource
Get an Iterator the 'depiction' property values. This Iteartor may be used to remove all such values.

Specified by:
getDepiction in interface _Resource
Returns:
Iterator of Image
Throws:
JastorException
See Also:
_Resource.depictionProperty

addDepiction

public void addDepiction(Image depiction)
                  throws JastorException
Description copied from interface: _Resource
Adds a value for the 'depiction' property

Specified by:
addDepiction in interface _Resource
Throws:
JastorException
See Also:
_Resource.depictionProperty

addDepiction

public Image addDepiction()
                   throws JastorException
Description copied from interface: _Resource
Adds an anonymous value for the 'depiction' property

Specified by:
addDepiction in interface _Resource
Returns:
The anoymous Image created
Throws:
JastorException
See Also:
_Resource.depictionProperty

addDepiction

public Image addDepiction(org.openrdf.model.Resource resource)
                   throws JastorException
Description copied from interface: _Resource
Adds a value for the 'depiction' property. This method is equivalent constructing a new instance of Image with the factory and calling addDepiction(org.openanzo.atom.jastor.foaf.Image depiction) The resource argument have rdf:type http://xmlns.com/foaf/0.1/Image. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
addDepiction in interface _Resource
Throws:
JastorException
See Also:
_Resource.depictionProperty

removeDepiction

public void removeDepiction(Image depiction)
                     throws JastorException
Description copied from interface: _Resource
Removes a value for the 'depiction' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeDepiction in interface _Resource
Throws:
JastorException
See Also:
_Resource.depictionProperty

getLabel

public info.aduna.collections.iterators.CloseableIterator<org.openrdf.model.Literal> getLabel()
                                                                                       throws JastorException
Description copied from interface: _Resource
Iterates through the 'label' property values. This Iteartor may be used to remove all such values.

Specified by:
getLabel in interface _Resource
Returns:
Iterator of Literal
Throws:
JastorException
See Also:
_Resource.labelProperty

addLabel

public void addLabel(org.openrdf.model.Literal label)
              throws JastorException
Description copied from interface: _Resource
Add a 'label' property value

Specified by:
addLabel in interface _Resource
Throws:
JastorException
See Also:
_Resource.labelProperty

removeLabel

public void removeLabel(org.openrdf.model.Literal label)
                 throws JastorException
Description copied from interface: _Resource
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.

Specified by:
removeLabel in interface _Resource
Throws:
JastorException
See Also:
_Resource.labelProperty

getTheme

public info.aduna.collections.iterators.CloseableIterator<GraphThing> getTheme()
                                                                        throws JastorException
Description copied from interface: _Resource
Get an Iterator the 'theme' property values. This Iteartor may be used to remove all such values.

Specified by:
getTheme in interface _Resource
Returns:
Iterator of GraphThing
Throws:
JastorException
See Also:
_Resource.themeProperty

addTheme

public void addTheme(GraphThing theme)
              throws JastorException
Description copied from interface: _Resource
Adds a value for the 'theme' property

Specified by:
addTheme in interface _Resource
Throws:
JastorException
See Also:
_Resource.themeProperty

addTheme

public GraphThing addTheme()
                    throws JastorException
Description copied from interface: _Resource
Adds an anonymous value for the 'theme' property

Specified by:
addTheme in interface _Resource
Returns:
The anoymous GraphThing created
Throws:
JastorException
See Also:
_Resource.themeProperty

addTheme

public GraphThing addTheme(org.openrdf.model.Resource resource)
                    throws JastorException
Description copied from interface: _Resource
Adds a value for the 'theme' property. This method is equivalent constructing a new instance of GraphThing with the factory and calling addTheme(org.openanzo.jastor.GraphThing theme) 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.

Specified by:
addTheme in interface _Resource
Throws:
JastorException
See Also:
_Resource.themeProperty

removeTheme

public void removeTheme(GraphThing theme)
                 throws JastorException
Description copied from interface: _Resource
Removes a value for the 'theme' property. This method should not be invoked while iterator through values. In that case, the remove() method of the Iterator itself should be used.

Specified by:
removeTheme in interface _Resource
Throws:
JastorException
See Also:
_Resource.themeProperty

getSeeAlso

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

Specified by:
getSeeAlso in interface _Resource
Returns:
Iterator of GraphThing
Throws:
JastorException
See Also:
_Resource.seeAlsoProperty

addSeeAlso

public void addSeeAlso(GraphThing seeAlso)
                throws JastorException
Description copied from interface: _Resource
Adds a value for the 'seeAlso' property

Specified by:
addSeeAlso in interface _Resource
Throws:
JastorException
See Also:
_Resource.seeAlsoProperty

addSeeAlso

public GraphThing addSeeAlso()
                      throws JastorException
Description copied from interface: _Resource
Adds an anonymous value for the 'seeAlso' property

Specified by:
addSeeAlso in interface _Resource
Returns:
The anoymous GraphThing created
Throws:
JastorException
See Also:
_Resource.seeAlsoProperty

addSeeAlso

public GraphThing addSeeAlso(org.openrdf.model.Resource resource)
                      throws JastorException
Description copied from interface: _Resource
Adds a value for the 'seeAlso' property. This method is equivalent constructing a new instance of GraphThing with the factory and calling addSeeAlso(org.openanzo.jastor.GraphThing 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.

Specified by:
addSeeAlso in interface _Resource
Throws:
JastorException
See Also:
_Resource.seeAlsoProperty

removeSeeAlso

public void removeSeeAlso(GraphThing seeAlso)
                   throws JastorException
Description copied from interface: _Resource
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.

Specified by:
removeSeeAlso in interface _Resource
Throws:
JastorException
See Also:
_Resource.seeAlsoProperty

getType

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

Specified by:
getType in interface _Resource
Returns:
Iterator of Class
Throws:
JastorException
See Also:
_Resource.typeProperty

addType

public void addType(Class type)
             throws JastorException
Description copied from interface: _Resource
Adds a value for the 'type' property

Specified by:
addType in interface _Resource
Throws:
JastorException
See Also:
_Resource.typeProperty

addType

public Class addType()
              throws JastorException
Description copied from interface: _Resource
Adds an anonymous value for the 'type' property

Specified by:
addType in interface _Resource
Returns:
The anoymous Class created
Throws:
JastorException
See Also:
_Resource.typeProperty

addType

public Class addType(org.openrdf.model.Resource resource)
              throws JastorException
Description copied from interface: _Resource
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.atom.jastor.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.

Specified by:
addType in interface _Resource
Throws:
JastorException
See Also:
_Resource.typeProperty

removeType

public void removeType(Class type)
                throws JastorException
Description copied from interface: _Resource
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.

Specified by:
removeType in interface _Resource
Throws:
JastorException
See Also:
_Resource.typeProperty

getMaker

public info.aduna.collections.iterators.CloseableIterator<Agent> getMaker()
                                                                   throws JastorException
Description copied from interface: _Resource
Get an Iterator the 'maker' property values. This Iteartor may be used to remove all such values.

Specified by:
getMaker in interface _Resource
Returns:
Iterator of Agent
Throws:
JastorException
See Also:
_Resource.makerProperty

addMaker

public void addMaker(Agent maker)
              throws JastorException
Description copied from interface: _Resource
Adds a value for the 'maker' property

Specified by:
addMaker in interface _Resource
Throws:
JastorException
See Also:
_Resource.makerProperty

addMaker

public Agent addMaker()
               throws JastorException
Description copied from interface: _Resource
Adds an anonymous value for the 'maker' property

Specified by:
addMaker in interface _Resource
Returns:
The anoymous