org.openanzo.common.ontology
Interface SelectorTracker

All Superinterfaces:
CoreThing, GraphThing, Tracker
All Known Implementing Classes:
SelectorTrackerImpl

public interface SelectorTracker
extends Tracker, GraphThing

Interface for SelectorTracker ontology class
Use the org.openanzo.common.ontology.AnzoFactory to create instances of this interface.

(URI: http://openanzo.org/types/SelectorTracker)


RDF Schema Standard Properties
comment : A tracker of NamedGraphs



Field Summary
static org.openrdf.model.URI namedgraphProperty
          The Anzo Property for namedgraph
static org.openrdf.model.URI objectProperty
          The Anzo Property for object
static org.openrdf.model.URI predicateProperty
          The Anzo Property for predicate
static org.openrdf.model.URI subjectProperty
          The Anzo Property for subject
static org.openrdf.model.URI TYPE
          The rdf:type for this ontology class
 
Fields inherited from interface org.openanzo.common.ontology.Tracker
markedDeletedProperty, replicatedProperty, timestampProperty, trackerSetProperty
 
Method Summary
 GraphThing getNamedgraph()
          Gets the 'namedgraph' property value
 GraphThing getObject()
          Gets the 'object' property value
 GraphThing getPredicate()
          Gets the 'predicate' property value
 GraphThing getSubject()
          Gets the 'subject' property value
 GraphThing setNamedgraph()
          Sets the 'namedgraph' property value to an anonymous node
 void setNamedgraph(GraphThing namedgraph)
          Sets the 'namedgraph' property value
 GraphThing setNamedgraph(org.openrdf.model.Resource resource)
          Sets the 'namedgraph' property value to the given resource, and add's rdf:type properties.
 GraphThing setObject()
          Sets the 'object' property value to an anonymous node
 void setObject(GraphThing object)
          Sets the 'object' property value
 GraphThing setObject(org.openrdf.model.Resource resource)
          Sets the 'object' property value to the given resource, and add's rdf:type properties.
 GraphThing setPredicate()
          Sets the 'predicate' property value to an anonymous node
 void setPredicate(GraphThing predicate)
          Sets the 'predicate' property value
 GraphThing setPredicate(org.openrdf.model.Resource resource)
          Sets the 'predicate' property value to the given resource, and add's rdf:type properties.
 GraphThing setSubject()
          Sets the 'subject' property value to an anonymous node
 void setSubject(GraphThing subject)
          Sets the 'subject' property value
 GraphThing setSubject(org.openrdf.model.Resource resource)
          Sets the 'subject' property value to the given resource, and add's rdf:type properties.
 
Methods inherited from interface org.openanzo.common.ontology.Tracker
addTrackerSet, addTrackerSet, addTrackerSet, getMarkedDeleted, getReplicated, getTimestamp, getTrackerSet, removeTrackerSet, removeTrackerSet, setMarkedDeleted, setReplicated, setTimestamp
 
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


namedgraphProperty

static final org.openrdf.model.URI namedgraphProperty
The Anzo Property for namedgraph

(URI: http://openanzo.org/predicates/namedgraph)



objectProperty

static final org.openrdf.model.URI objectProperty
The Anzo Property for object

(URI: http://openanzo.org/predicates/object)



predicateProperty

static final org.openrdf.model.URI predicateProperty
The Anzo Property for predicate

(URI: http://openanzo.org/predicates/predicate)



subjectProperty

static final org.openrdf.model.URI subjectProperty
The Anzo Property for subject

(URI: http://openanzo.org/predicates/subject)


Method Detail

getNamedgraph

GraphThing getNamedgraph()
                         throws JastorException
Gets the 'namedgraph' property value

Returns:
GraphThing
Throws:
JastorException
See Also:
namedgraphProperty

setNamedgraph

void setNamedgraph(GraphThing namedgraph)
                   throws JastorException
Sets the 'namedgraph' property value

Parameters:
namedgraph - GraphThing
Throws:
JastorException
See Also:
namedgraphProperty

setNamedgraph

GraphThing setNamedgraph()
                         throws JastorException
Sets the 'namedgraph' property value to an anonymous node

Returns:
GraphThing, the created value
Throws:
JastorException
See Also:
namedgraphProperty

setNamedgraph

GraphThing setNamedgraph(org.openrdf.model.Resource resource)
                         throws JastorException
Sets the 'namedgraph' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of GraphThing with the factory. and calling setNamedgraph(org.openanzo.jastor.GraphThing namedgraph) 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 - Resource must not be be null.
Returns:
GraphThing, the newly created value
Throws:
JastorException
See Also:
namedgraphProperty

getObject

GraphThing getObject()
                     throws JastorException
Gets the 'object' property value

Returns:
GraphThing
Throws:
JastorException
See Also:
objectProperty

setObject

void setObject(GraphThing object)
               throws JastorException
Sets the 'object' property value

Parameters:
object - GraphThing
Throws:
JastorException
See Also:
objectProperty

setObject

GraphThing setObject()
                     throws JastorException
Sets the 'object' property value to an anonymous node

Returns:
GraphThing, the created value
Throws:
JastorException
See Also:
objectProperty

setObject

GraphThing setObject(org.openrdf.model.Resource resource)
                     throws JastorException
Sets the 'object' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of GraphThing with the factory. and calling setObject(org.openanzo.jastor.GraphThing object) 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 - Resource must not be be null.
Returns:
GraphThing, the newly created value
Throws:
JastorException
See Also:
objectProperty

getPredicate

GraphThing getPredicate()
                        throws JastorException
Gets the 'predicate' property value

Returns:
GraphThing
Throws:
JastorException
See Also:
predicateProperty

setPredicate

void setPredicate(GraphThing predicate)
                  throws JastorException
Sets the 'predicate' property value

Parameters:
predicate - GraphThing
Throws:
JastorException
See Also:
predicateProperty

setPredicate

GraphThing setPredicate()
                        throws JastorException
Sets the 'predicate' property value to an anonymous node

Returns:
GraphThing, the created value
Throws:
JastorException
See Also:
predicateProperty

setPredicate

GraphThing setPredicate(org.openrdf.model.Resource resource)
                        throws JastorException
Sets the 'predicate' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of GraphThing with the factory. and calling setPredicate(org.openanzo.jastor.GraphThing predicate) 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 - Resource must not be be null.
Returns:
GraphThing, the newly created value
Throws:
JastorException
See Also:
predicateProperty

getSubject

GraphThing getSubject()
                      throws JastorException
Gets the 'subject' property value

Returns:
GraphThing
Throws:
JastorException
See Also:
subjectProperty

setSubject

void setSubject(GraphThing subject)
                throws JastorException
Sets the 'subject' property value

Parameters:
subject - GraphThing
Throws:
JastorException
See Also:
subjectProperty

setSubject

GraphThing setSubject()
                      throws JastorException
Sets the 'subject' property value to an anonymous node

Returns:
GraphThing, the created value
Throws:
JastorException
See Also:
subjectProperty

setSubject

GraphThing setSubject(org.openrdf.model.Resource resource)
                      throws JastorException
Sets the 'subject' property value to the given resource, and add's rdf:type properties. This method is equivalent constructing a new instance of GraphThing with the factory. and calling setSubject(org.openanzo.jastor.GraphThing subject) 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 - Resource must not be be null.
Returns:
GraphThing, the newly created value
Throws:
JastorException
See Also:
subjectProperty


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