org.openanzo.atom.jastor.queso
Class IntrospectionGraphImpl

java.lang.Object
  extended by org.openanzo.jastor.GraphThingImpl
      extended by org.openanzo.atom.jastor.queso.IntrospectionGraphImpl
All Implemented Interfaces:
IntrospectionGraph, CoreThing, GraphThing

public class IntrospectionGraphImpl
extends GraphThingImpl
implements IntrospectionGraph

Implementation of IntrospectionGraph Use the org.openanzo.atom.jastor.queso.QuesoFactory to create instances of this class.

(URI: http://boca.adtech.ibm.com/schemas/queso#IntrospectionGraph)



Field Summary
 
Fields inherited from interface org.openanzo.atom.jastor.queso.IntrospectionGraph
TYPE
 
Method Summary
 Collection addInstrospectionCollection()
          Adds an anonymous value for the 'instrospectionCollection' property
 void addInstrospectionCollection(Collection instrospectionCollection)
          Adds a value for the 'instrospectionCollection' property
 Collection addInstrospectionCollection(org.openrdf.model.Resource resource)
          Adds a value for the 'instrospectionCollection' property.
 info.aduna.collections.iterators.CloseableIterator<Collection> getInstrospectionCollection()
          Get an Iterator the 'instrospectionCollection' property values.
 java.util.Collection<org.openrdf.model.Statement> listStatements()
          Get set of statements that makeup this THINGS's properties and types
 void removeInstrospectionCollection(Collection instrospectionCollection)
          Removes a value for the 'instrospectionCollection' property.
 
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

getInstrospectionCollection

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

Specified by:
getInstrospectionCollection in interface IntrospectionGraph
Returns:
Iterator of Collection
Throws:
JastorException
See Also:
IntrospectionGraph.instrospectionCollectionProperty

addInstrospectionCollection

public void addInstrospectionCollection(Collection instrospectionCollection)
                                 throws JastorException
Description copied from interface: IntrospectionGraph
Adds a value for the 'instrospectionCollection' property

Specified by:
addInstrospectionCollection in interface IntrospectionGraph
Throws:
JastorException
See Also:
IntrospectionGraph.instrospectionCollectionProperty

addInstrospectionCollection

public Collection addInstrospectionCollection()
                                       throws JastorException
Description copied from interface: IntrospectionGraph
Adds an anonymous value for the 'instrospectionCollection' property

Specified by:
addInstrospectionCollection in interface IntrospectionGraph
Returns:
The anoymous Collection created
Throws:
JastorException
See Also:
IntrospectionGraph.instrospectionCollectionProperty

addInstrospectionCollection

public Collection addInstrospectionCollection(org.openrdf.model.Resource resource)
                                       throws JastorException
Description copied from interface: IntrospectionGraph
Adds a value for the 'instrospectionCollection' property. This method is equivalent constructing a new instance of Collection with the factory and calling addInstrospectionCollection(org.openanzo.atom.jastor.queso.Collection instrospectionCollection) The resource argument have rdf:type http://boca.adtech.ibm.com/schemas/queso#Collection. That is, this method should not be used as a shortcut for creating new objects in the model.

Specified by:
addInstrospectionCollection in interface IntrospectionGraph
Throws:
JastorException
See Also:
IntrospectionGraph.instrospectionCollectionProperty

removeInstrospectionCollection

public void removeInstrospectionCollection(Collection instrospectionCollection)
                                    throws JastorException
Description copied from interface: IntrospectionGraph
Removes a value for the 'instrospectionCollection' 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:
removeInstrospectionCollection in interface IntrospectionGraph
Throws:
JastorException
See Also:
IntrospectionGraph.instrospectionCollectionProperty


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