org.openanzo.atom.jastor.queso
Interface Collection

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

public interface Collection
extends GraphThing

Interface for Collection ontology class
Use the org.openanzo.atom.jastor.queso.QuesoFactory to create instances of this interface.

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





Field Summary
static org.openrdf.model.URI memberProperty
          The Jena Property for member
static org.openrdf.model.URI TYPE
          The rdf:type for this ontology class
 
Method Summary
 Entry addMember()
          Adds an anonymous value for the 'member' property
 void addMember(Entry member)
          Adds a value for the 'member' property
 Entry addMember(org.openrdf.model.Resource resource)
          Adds a value for the 'member' property.
 info.aduna.collections.iterators.CloseableIterator<Entry> getMember()
          Get an Iterator the 'member' property values.
 void removeMember(Entry member)
          Removes a value for the 'member' 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


memberProperty

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

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


Method Detail

getMember

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

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

addMember

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

Parameters:
The - Entry to add
Throws:
JastorException
See Also:
memberProperty

addMember

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

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

addMember

Entry addMember(org.openrdf.model.Resource resource)
                throws JastorException
Adds a value for the 'member' property. This method is equivalent constructing a new instance of Entry with the factory and calling addMember(org.openanzo.atom.jastor.queso.Entry member) The resource argument have rdf:type http://boca.adtech.ibm.com/schemas/queso#Entry. 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:
memberProperty

removeMember

void removeMember(Entry 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:
The - Entry to remove
Throws:
JastorException
See Also:
memberProperty


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