org.openanzo.common.ontology
Interface Tracker

All Superinterfaces:
CoreThing, GraphThing
All Known Subinterfaces:
SelectorTracker
All Known Implementing Classes:
SelectorTrackerImpl, TrackerImpl

public interface Tracker
extends GraphThing

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

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


RDF Schema Standard Properties
comment : A tracker of NamedGraphs



Field Summary
static org.openrdf.model.URI markedDeletedProperty
          The Anzo Property for markedDeleted
static org.openrdf.model.URI replicatedProperty
          The Anzo Property for replicated
static org.openrdf.model.URI timestampProperty
          The Anzo Property for timestamp
static org.openrdf.model.URI trackerSetProperty
          The Anzo Property for trackerSet
static org.openrdf.model.URI TYPE
          The rdf:type for this ontology class
 
Method Summary
 GraphThing addTrackerSet()
          Adds an anonymous value for the 'trackerSet' property
 void addTrackerSet(GraphThing trackerSet)
          Adds a value for the 'trackerSet' property
 GraphThing addTrackerSet(org.openrdf.model.Resource resource)
          Adds a value for the 'trackerSet' property.
 java.lang.Boolean getMarkedDeleted()
          Gets the 'markedDeleted' property value
 java.lang.Boolean getReplicated()
          Gets the 'replicated' property value
 java.util.Calendar getTimestamp()
          Gets the 'timestamp' property value
 info.aduna.collections.iterators.CloseableIterator<GraphThing> getTrackerSet()
          Get an Iterator the 'trackerSet' property values.
 void removeTrackerSet(GraphThing trackerSet)
          Removes a value for the 'trackerSet' property.
 void removeTrackerSet(org.openrdf.model.Resource trackerSet)
          Remove a 'trackerSet' property value.
 void setMarkedDeleted(java.lang.Boolean markedDeleted)
          Sets the 'markedDeleted' property value
 void setReplicated(java.lang.Boolean replicated)
          Sets the 'replicated' property value
 void setTimestamp(java.util.Calendar timestamp)
          Sets the 'timestamp' property value
 
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


markedDeletedProperty

static final org.openrdf.model.URI markedDeletedProperty
The Anzo Property for markedDeleted

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



replicatedProperty

static final org.openrdf.model.URI replicatedProperty
The Anzo Property for replicated

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



timestampProperty

static final org.openrdf.model.URI timestampProperty
The Anzo Property for timestamp

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



RDF Schema Standard Properties
comment : Timestamp of last time object was replicated


trackerSetProperty

static final org.openrdf.model.URI trackerSetProperty
The Anzo Property for trackerSet

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


Method Detail

getMarkedDeleted

java.lang.Boolean getMarkedDeleted()
                                   throws JastorException
Gets the 'markedDeleted' property value

Returns:
Boolean
Throws:
JastorException
See Also:
markedDeletedProperty

setMarkedDeleted

void setMarkedDeleted(java.lang.Boolean markedDeleted)
                      throws JastorException
Sets the 'markedDeleted' property value

Parameters:
markedDeleted - Boolean
Throws:
JastorException
See Also:
markedDeletedProperty

getReplicated

java.lang.Boolean getReplicated()
                                throws JastorException
Gets the 'replicated' property value

Returns:
Boolean
Throws:
JastorException
See Also:
replicatedProperty

setReplicated

void setReplicated(java.lang.Boolean replicated)
                   throws JastorException
Sets the 'replicated' property value

Parameters:
replicated - Boolean
Throws:
JastorException
See Also:
replicatedProperty

getTimestamp

java.util.Calendar getTimestamp()
                                throws JastorException
Gets the 'timestamp' property value

Returns:
Calendar
Throws:
JastorException
See Also:
timestampProperty

setTimestamp

void setTimestamp(java.util.Calendar timestamp)
                  throws JastorException
Sets the 'timestamp' property value

Parameters:
timestamp - Calendar
Throws:
JastorException
See Also:
timestampProperty

getTrackerSet

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

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

addTrackerSet

void addTrackerSet(GraphThing trackerSet)
                   throws JastorException
Adds a value for the 'trackerSet' property

Parameters:
trackerSet - The GraphThing to add
Throws:
JastorException
See Also:
trackerSetProperty

addTrackerSet

GraphThing addTrackerSet()
                         throws JastorException
Adds an anonymous value for the 'trackerSet' property

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

addTrackerSet

GraphThing addTrackerSet(org.openrdf.model.Resource resource)
                         throws JastorException
Adds a value for the 'trackerSet' property. This method is equivalent constructing a new instance of GraphThing with the factory and calling addTrackerSet(org.openanzo.jastor.GraphThing trackerSet) 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 - The Resource to add
Returns:
The org.openanzo.jastor.GraphThing created
Throws:
JastorException
See Also:
trackerSetProperty

removeTrackerSet

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

removeTrackerSet

void removeTrackerSet(org.openrdf.model.Resource trackerSet)
                      throws JastorException
Remove a 'trackerSet' 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.

Parameters:
trackerSet - GraphThing, the value to remove
Throws:
JastorException
See Also:
trackerSetProperty


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