org.openanzo.atom.jastor.webarch
Interface InformationResource

All Superinterfaces:
CoreThing, GraphThing
All Known Implementing Classes:
InformationResourceImpl

public interface InformationResource
extends GraphThing

Interface for InformationResource ontology class
Use the org.openanzo.atom.jastor.webarch.Factory to create instances of this interface.

(URI: http://sw.nokia.com/WebArch-1/InformationResource)





Field Summary
static org.openrdf.model.URI representationOfProperty
          The Jena Property for representationOf
static org.openrdf.model.URI representationProperty
          The Jena Property for representation
static org.openrdf.model.URI TYPE
          The rdf:type for this ontology class
 
Method Summary
 GraphThing addRepresentation()
          Adds an anonymous value for the 'representation' property
 void addRepresentation(GraphThing representation)
          Adds a value for the 'representation' property
 GraphThing addRepresentation(org.openrdf.model.Resource resource)
          Adds a value for the 'representation' property.
 GraphThing addRepresentationOf()
          Adds an anonymous value for the 'representationOf' property
 void addRepresentationOf(GraphThing representationOf)
          Adds a value for the 'representationOf' property
 GraphThing addRepresentationOf(org.openrdf.model.Resource resource)
          Adds a value for the 'representationOf' property.
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getRepresentation()
          Get an Iterator the 'representation' property values.
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getRepresentationOf()
          Get an Iterator the 'representationOf' property values.
 void removeRepresentation(GraphThing representation)
          Removes a value for the 'representation' property.
 void removeRepresentationOf(GraphThing representationOf)
          Removes a value for the 'representationOf' property.
 
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


representationOfProperty

static final org.openrdf.model.URI representationOfProperty
The Jena Property for representationOf

(URI: http://sw.nokia.com/WebArch-1/representationOf)



representationProperty

static final org.openrdf.model.URI representationProperty
The Jena Property for representation

(URI: http://sw.nokia.com/WebArch-1/representation)


Method Detail

getRepresentationOf

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

Returns:
Iterator of GraphThing
Throws:
JastorException
See Also:
representationOfProperty

addRepresentationOf

void addRepresentationOf(GraphThing representationOf)
                         throws JastorException
Adds a value for the 'representationOf' property

Parameters:
The - GraphThing to add
Throws:
JastorException
See Also:
representationOfProperty

addRepresentationOf

GraphThing addRepresentationOf()
                               throws JastorException
Adds an anonymous value for the 'representationOf' property

Returns:
The anoymous GraphThing created
Throws:
JastorException
See Also:
representationOfProperty

addRepresentationOf

GraphThing addRepresentationOf(org.openrdf.model.Resource resource)
                               throws JastorException
Adds a value for the 'representationOf' property. This method is equivalent constructing a new instance of GraphThing with the factory and calling addRepresentationOf(org.openanzo.jastor.GraphThing representationOf) 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:
The - om.hp.hpl.jena.rdf.model.Resource to add
Throws:
JastorException
See Also:
representationOfProperty

removeRepresentationOf

void removeRepresentationOf(GraphThing representationOf)
                            throws JastorException
Removes a value for the 'representationOf' 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:
The - GraphThing to remove
Throws:
JastorException
See Also:
representationOfProperty

getRepresentation

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

Returns:
Iterator of GraphThing
Throws:
JastorException
See Also:
representationProperty

addRepresentation

void addRepresentation(GraphThing representation)
                       throws JastorException
Adds a value for the 'representation' property

Parameters:
The - GraphThing to add
Throws:
JastorException
See Also:
representationProperty

addRepresentation

GraphThing addRepresentation()
                             throws JastorException
Adds an anonymous value for the 'representation' property

Returns:
The anoymous GraphThing created
Throws:
JastorException
See Also:
representationProperty

addRepresentation

GraphThing addRepresentation(org.openrdf.model.Resource resource)
                             throws JastorException
Adds a value for the 'representation' property. This method is equivalent constructing a new instance of GraphThing with the factory and calling addRepresentation(org.openanzo.jastor.GraphThing representation) 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:
The - om.hp.hpl.jena.rdf.model.Resource to add
Throws:
JastorException
See Also:
representationProperty

removeRepresentation

void removeRepresentation(GraphThing representation)
                          throws JastorException
Removes a value for the 'representation' 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:
The - GraphThing to remove
Throws:
JastorException
See Also:
representationProperty


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