org.ow2.weblab.core.model.retrieval
Class WRetrievalAnnotator

java.lang.Object
  extended by org.ow2.weblab.core.annotator.AbstractAnnotator
      extended by org.ow2.weblab.core.annotator.BaseAnnotator
          extended by org.ow2.weblab.core.model.retrieval.WRetrievalAnnotator

public class WRetrievalAnnotator
extends BaseAnnotator

WebLab Exchange model used for resources retrieval v0.3 This version includes relationships used for WebLab Resources retrieval. WEBLAB: Service oriented integration platform for media mining and intelligence applications Copyright (C) 2004 - 2010 CASSIDIAN


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ow2.weblab.core.annotator.AbstractAnnotator
AbstractAnnotator.Operator
 
Field Summary
protected static java.lang.String HAS_DESCRIPTION
           
protected static java.lang.String HAS_EXPECTED_LIMIT
           
protected static java.lang.String HAS_EXPECTED_OFFSET
           
protected static java.lang.String HAS_HIT
           
protected static java.lang.String HAS_NUMBER_OF_RESULTS
           
protected static java.lang.String HAS_ORDERED_QUERY
           
protected static java.lang.String HAS_QUERY_OFFSET
           
protected static java.lang.String HAS_RANK
           
protected static java.lang.String HAS_SCORE
           
protected static java.lang.String IN_RESULT_SET_HIT
           
protected static java.lang.String IS_EXPRESSED_WITH
           
protected static java.lang.String IS_LINKED_TO
           
protected static java.lang.String IS_RESULT_OF
           
protected static java.lang.String PREFIX
           
protected static java.net.URI URI
           
 
Fields inherited from class org.ow2.weblab.core.annotator.BaseAnnotator
RDF_PREFIX, RDF_URI, RDFS_PREFIX, RDFS_URI
 
Fields inherited from class org.ow2.weblab.core.annotator.AbstractAnnotator
annotation, isInnerAnnotatorStarted, originalURI, resource, subjectURI
 
Constructor Summary
WRetrievalAnnotator(Resource resource)
           
WRetrievalAnnotator(java.net.URI subject, PieceOfKnowledge pieceOfKnowledge)
           
 
Method Summary
 Value<java.lang.String> readDescription()
          Read the Gives a description for hit.
 Value<java.lang.Integer> readExpectedLimit()
          Read the Gives the limit for the requested query for this order.
 Value<java.lang.Integer> readExpectedOffset()
          Read the Gives the expected offset for the requested query for this order.
 Value<java.lang.String> readExpressedWith()
          Read the Gives the language of the query .
 Value<java.net.URI> readHit()
          Read the Gives a hit for ResultSet.
 Value<java.net.URI> readInResultSetHit()
          Read the Links a Hit to its ResultSet.
 Value<java.net.URI> readLinkedTo()
          Read the Gives a link to resource for hit.
 Value<java.lang.Integer> readNumberOfResults()
          Read the Gives the total number of results for this result set.
 Value<java.net.URI> readOrderedQuery()
          Read the Gives a link to the requested query for this order.
 Value<java.lang.Integer> readQueryOffset()
          Read the Provides the offset about the query in the case of a result set returns by a search service.
 Value<java.lang.Integer> readRank()
          Read the Gives a rank for hit.
 Value<java.net.URI> readResultOf()
          Read the Links a ResultSet to the Query that has been used to retrieve the set of results.
 Value<java.lang.Double> readScore()
          Read the Gives a score for hit.
 void writeDescription(java.lang.String value)
          Write the Gives a description for hit.
 void writeExpectedLimit(java.lang.Integer value)
          Write the Gives the limit for the requested query for this order.
 void writeExpectedOffset(java.lang.Integer value)
          Write the Gives the expected offset for the requested query for this order.
 void writeExpressedWith(java.lang.String value)
          Write the Gives the language of the query .
 void writeHit(java.net.URI value)
          Write the Gives a hit for ResultSet.
 void writeInResultSetHit(java.net.URI value)
          Write the Links a Hit to its ResultSet.
 void writeLinkedTo(java.net.URI value)
          Write the Gives a link to resource for hit.
 void writeNumberOfResults(java.lang.Integer value)
          Write the Gives the total number of results for this result set.
 void writeOrderedQuery(java.net.URI value)
          Write the Gives a link to the requested query for this order.
 void writeQueryOffset(java.lang.Integer value)
          Write the Provides the offset about the query in the case of a result set returns by a search service.
 void writeRank(java.lang.Integer value)
          Write the Gives a rank for hit.
 void writeResultOf(java.net.URI value)
          Write the Links a ResultSet to the Query that has been used to retrieve the set of results.
 void writeScore(java.lang.Double value)
          Write the Gives a score for hit.
 
Methods inherited from class org.ow2.weblab.core.annotator.BaseAnnotator
readLabel, readType, writeLabel, writeType
 
Methods inherited from class org.ow2.weblab.core.annotator.AbstractAnnotator
applyOperator, endInnerAnnotator, endSpecifyLanguage, isAppendMode, retrieveAnnotation, setAppendMode, startInnerAnnotatorOn, startSpecifyLanguage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX

protected static final java.lang.String PREFIX
See Also:
Constant Field Values

URI

protected static final java.net.URI URI

HAS_DESCRIPTION

protected static final java.lang.String HAS_DESCRIPTION
See Also:
Constant Field Values

HAS_EXPECTED_LIMIT

protected static final java.lang.String HAS_EXPECTED_LIMIT
See Also:
Constant Field Values

HAS_EXPECTED_OFFSET

protected static final java.lang.String HAS_EXPECTED_OFFSET
See Also:
Constant Field Values

HAS_NUMBER_OF_RESULTS

protected static final java.lang.String HAS_NUMBER_OF_RESULTS
See Also:
Constant Field Values

HAS_QUERY_OFFSET

protected static final java.lang.String HAS_QUERY_OFFSET
See Also:
Constant Field Values

HAS_RANK

protected static final java.lang.String HAS_RANK
See Also:
Constant Field Values

HAS_SCORE

protected static final java.lang.String HAS_SCORE
See Also:
Constant Field Values

IS_EXPRESSED_WITH

protected static final java.lang.String IS_EXPRESSED_WITH
See Also:
Constant Field Values

HAS_HIT

protected static final java.lang.String HAS_HIT
See Also:
Constant Field Values

HAS_ORDERED_QUERY

protected static final java.lang.String HAS_ORDERED_QUERY
See Also:
Constant Field Values

IN_RESULT_SET_HIT

protected static final java.lang.String IN_RESULT_SET_HIT
See Also:
Constant Field Values

IS_LINKED_TO

protected static final java.lang.String IS_LINKED_TO
See Also:
Constant Field Values

IS_RESULT_OF

protected static final java.lang.String IS_RESULT_OF
See Also:
Constant Field Values
Constructor Detail

WRetrievalAnnotator

public WRetrievalAnnotator(java.net.URI subject,
                           PieceOfKnowledge pieceOfKnowledge)

WRetrievalAnnotator

public WRetrievalAnnotator(Resource resource)
Method Detail

readDescription

public Value<java.lang.String> readDescription()
Read the Gives a description for hit.

Returns:
a String

writeDescription

public void writeDescription(java.lang.String value)
Write the Gives a description for hit.

Parameters:
value - a String

readExpectedLimit

public Value<java.lang.Integer> readExpectedLimit()
Read the Gives the limit for the requested query for this order.

Returns:
an Integer

writeExpectedLimit

public void writeExpectedLimit(java.lang.Integer value)
Write the Gives the limit for the requested query for this order.

Parameters:
value - an Integer

readExpectedOffset

public Value<java.lang.Integer> readExpectedOffset()
Read the Gives the expected offset for the requested query for this order.

Returns:
an Integer

writeExpectedOffset

public void writeExpectedOffset(java.lang.Integer value)
Write the Gives the expected offset for the requested query for this order.

Parameters:
value - an Integer

readNumberOfResults

public Value<java.lang.Integer> readNumberOfResults()
Read the Gives the total number of results for this result set.

Returns:
an Integer

writeNumberOfResults

public void writeNumberOfResults(java.lang.Integer value)
Write the Gives the total number of results for this result set.

Parameters:
value - an Integer

readQueryOffset

public Value<java.lang.Integer> readQueryOffset()
Read the Provides the offset about the query in the case of a result set returns by a search service.

Returns:
an Integer

writeQueryOffset

public void writeQueryOffset(java.lang.Integer value)
Write the Provides the offset about the query in the case of a result set returns by a search service.

Parameters:
value - an Integer

readRank

public Value<java.lang.Integer> readRank()
Read the Gives a rank for hit.

Returns:
an Integer

writeRank

public void writeRank(java.lang.Integer value)
Write the Gives a rank for hit.

Parameters:
value - an Integer

readScore

public Value<java.lang.Double> readScore()
Read the Gives a score for hit.

Returns:
a Double

writeScore

public void writeScore(java.lang.Double value)
Write the Gives a score for hit.

Parameters:
value - a Double

readExpressedWith

public Value<java.lang.String> readExpressedWith()
Read the Gives the language of the query .

Returns:
a String

writeExpressedWith

public void writeExpressedWith(java.lang.String value)
Write the Gives the language of the query .

Parameters:
value - a String

readHit

public Value<java.net.URI> readHit()
Read the Gives a hit for ResultSet.

Returns:
an URI

writeHit

public void writeHit(java.net.URI value)
Write the Gives a hit for ResultSet.

Parameters:
value - an URI

readOrderedQuery

public Value<java.net.URI> readOrderedQuery()
Read the Gives a link to the requested query for this order.

Returns:
an URI

writeOrderedQuery

public void writeOrderedQuery(java.net.URI value)
Write the Gives a link to the requested query for this order.

Parameters:
value - an URI

readInResultSetHit

public Value<java.net.URI> readInResultSetHit()
Read the Links a Hit to its ResultSet.

Returns:
an URI

writeInResultSetHit

public void writeInResultSetHit(java.net.URI value)
Write the Links a Hit to its ResultSet.

Parameters:
value - an URI

readLinkedTo

public Value<java.net.URI> readLinkedTo()
Read the Gives a link to resource for hit.

Returns:
an URI

writeLinkedTo

public void writeLinkedTo(java.net.URI value)
Write the Gives a link to resource for hit.

Parameters:
value - an URI

readResultOf

public Value<java.net.URI> readResultOf()
Read the Links a ResultSet to the Query that has been used to retrieve the set of results.

Returns:
an URI

writeResultOf

public void writeResultOf(java.net.URI value)
Write the Links a ResultSet to the Query that has been used to retrieve the set of results.

Parameters:
value - an URI


Copyright © 2004-2010. All Rights Reserved.