org.ow2.weblab.core.model
Class WModelAnnotator

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.WModelAnnotator

public class WModelAnnotator
extends BaseAnnotator

WebLab Exchange model v1.2 - August 2010 This version includes annotatable object of the model i.e. Resources and their relationships. It also provides some properties to be used in annotations. 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 END_AT
           
protected static java.lang.String HAS_ANNOTATION
           
protected static java.lang.String HAS_COORDINATE
           
protected static java.lang.String HAS_LOW_LEVEL_DESCRIPTOR
           
protected static java.lang.String HAS_POK
           
protected static java.lang.String HAS_SEGMENT
           
protected static java.lang.String IN_COMPOSED_RESOURCE
           
protected static java.lang.String IN_DOCUMENT
           
protected static java.lang.String IN_RESULT_SET
           
protected static java.lang.String IS_COMPOSED_BY_MEDIA_UNIT
           
protected static java.lang.String IS_COMPOSED_BY_QUERY
           
protected static java.lang.String IS_COMPOSED_BY_RESOURCE
           
protected static java.lang.String IS_COMPOSED_BY_RESOURCE_RESULT_SET
           
protected static java.lang.String PREFIX
           
protected static java.lang.String START_AT
           
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
WModelAnnotator(Resource resource)
           
WModelAnnotator(java.net.URI subject, PieceOfKnowledge pieceOfKnowledge)
           
 
Method Summary
 Value<java.net.URI> readAnnotation()
          Read the Links a Resource to one of its Annotation.
 Value<java.net.URI> readComposedByMediaUnit()
          Read the Links a Document to one of its sub MediaUnit.
 Value<java.net.URI> readComposedByQuery()
          Read the Links a ComposedQuery one of its Query.
 Value<java.net.URI> readComposedByResource()
          Read the Links a ComposedResource to one of its Resource.
 Value<java.net.URI> readComposedByResourceResultSet()
          Read the Links a ResultSet to one of its Resource.
 Value<java.net.URI> readCoordinate()
          Read the Links a SpatialSegment to one of its Coordinate.
 Value<java.lang.Integer> readEndAt()
          Read the The end value of a LinearSegment or a TemporalSegment.
 Value<java.net.URI> readInComposedResource()
          Read the Links a resource to its parent ComposedResource
 Value<java.net.URI> readInDocument()
          Read the Links a MediaUnit to its parent Document.
 Value<java.net.URI> readInResultSet()
          Read the Links a resource to its parent ResultSet.
 Value<java.net.URI> readLowLevelDescriptor()
          Read the Links a Resource to one of its LowLevelDescriptor.
 Value<java.net.URI> readPok()
          Read the Links a ResultSet to its PieceOfKnowledge.
 Value<java.net.URI> readSegment()
          Read the Links a MediaUnit to one of its Segment.
 Value<java.lang.Integer> readStartAt()
          Read the The start value of a LinearSegment or a TemporalSegment.
 void writeAnnotation(java.net.URI value)
          Write the Links a Resource to one of its Annotation.
 void writeComposedByMediaUnit(java.net.URI value)
          Write the Links a Document to one of its sub MediaUnit.
 void writeComposedByQuery(java.net.URI value)
          Write the Links a ComposedQuery one of its Query.
 void writeComposedByResource(java.net.URI value)
          Write the Links a ComposedResource to one of its Resource.
 void writeComposedByResourceResultSet(java.net.URI value)
          Write the Links a ResultSet to one of its Resource.
 void writeCoordinate(java.net.URI value)
          Write the Links a SpatialSegment to one of its Coordinate.
 void writeEndAt(java.lang.Integer value)
          Write the The end value of a LinearSegment or a TemporalSegment.
 void writeInComposedResource(java.net.URI value)
          Write the Links a resource to its parent ComposedResource
 void writeInDocument(java.net.URI value)
          Write the Links a MediaUnit to its parent Document.
 void writeInResultSet(java.net.URI value)
          Write the Links a resource to its parent ResultSet.
 void writeLowLevelDescriptor(java.net.URI value)
          Write the Links a Resource to one of its LowLevelDescriptor.
 void writePok(java.net.URI value)
          Write the Links a ResultSet to its PieceOfKnowledge.
 void writeSegment(java.net.URI value)
          Write the Links a MediaUnit to one of its Segment.
 void writeStartAt(java.lang.Integer value)
          Write the The start value of a LinearSegment or a TemporalSegment.
 
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

END_AT

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

START_AT

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

HAS_ANNOTATION

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

HAS_COORDINATE

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

HAS_LOW_LEVEL_DESCRIPTOR

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

HAS_POK

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

HAS_SEGMENT

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

IN_COMPOSED_RESOURCE

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

IN_DOCUMENT

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

IN_RESULT_SET

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

IS_COMPOSED_BY_MEDIA_UNIT

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

IS_COMPOSED_BY_QUERY

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

IS_COMPOSED_BY_RESOURCE

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

IS_COMPOSED_BY_RESOURCE_RESULT_SET

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

WModelAnnotator

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

WModelAnnotator

public WModelAnnotator(Resource resource)
Method Detail

readEndAt

public Value<java.lang.Integer> readEndAt()
Read the The end value of a LinearSegment or a TemporalSegment.

Returns:
an Integer

writeEndAt

public void writeEndAt(java.lang.Integer value)
Write the The end value of a LinearSegment or a TemporalSegment.

Parameters:
value - an Integer

readStartAt

public Value<java.lang.Integer> readStartAt()
Read the The start value of a LinearSegment or a TemporalSegment.

Returns:
an Integer

writeStartAt

public void writeStartAt(java.lang.Integer value)
Write the The start value of a LinearSegment or a TemporalSegment.

Parameters:
value - an Integer

readAnnotation

public Value<java.net.URI> readAnnotation()
Read the Links a Resource to one of its Annotation.

Returns:
an URI

writeAnnotation

public void writeAnnotation(java.net.URI value)
Write the Links a Resource to one of its Annotation.

Parameters:
value - an URI

readCoordinate

public Value<java.net.URI> readCoordinate()
Read the Links a SpatialSegment to one of its Coordinate.

Returns:
an URI

writeCoordinate

public void writeCoordinate(java.net.URI value)
Write the Links a SpatialSegment to one of its Coordinate.

Parameters:
value - an URI

readLowLevelDescriptor

public Value<java.net.URI> readLowLevelDescriptor()
Read the Links a Resource to one of its LowLevelDescriptor.

Returns:
an URI

writeLowLevelDescriptor

public void writeLowLevelDescriptor(java.net.URI value)
Write the Links a Resource to one of its LowLevelDescriptor.

Parameters:
value - an URI

readPok

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

Returns:
an URI

writePok

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

Parameters:
value - an URI

readSegment

public Value<java.net.URI> readSegment()
Read the Links a MediaUnit to one of its Segment.

Returns:
an URI

writeSegment

public void writeSegment(java.net.URI value)
Write the Links a MediaUnit to one of its Segment.

Parameters:
value - an URI

readInComposedResource

public Value<java.net.URI> readInComposedResource()
Read the Links a resource to its parent ComposedResource

Returns:
an URI

writeInComposedResource

public void writeInComposedResource(java.net.URI value)
Write the Links a resource to its parent ComposedResource

Parameters:
value - an URI

readInDocument

public Value<java.net.URI> readInDocument()
Read the Links a MediaUnit to its parent Document.

Returns:
an URI

writeInDocument

public void writeInDocument(java.net.URI value)
Write the Links a MediaUnit to its parent Document.

Parameters:
value - an URI

readInResultSet

public Value<java.net.URI> readInResultSet()
Read the Links a resource to its parent ResultSet.

Returns:
an URI

writeInResultSet

public void writeInResultSet(java.net.URI value)
Write the Links a resource to its parent ResultSet.

Parameters:
value - an URI

readComposedByMediaUnit

public Value<java.net.URI> readComposedByMediaUnit()
Read the Links a Document to one of its sub MediaUnit.

Returns:
an URI

writeComposedByMediaUnit

public void writeComposedByMediaUnit(java.net.URI value)
Write the Links a Document to one of its sub MediaUnit.

Parameters:
value - an URI

readComposedByQuery

public Value<java.net.URI> readComposedByQuery()
Read the Links a ComposedQuery one of its Query.

Returns:
an URI

writeComposedByQuery

public void writeComposedByQuery(java.net.URI value)
Write the Links a ComposedQuery one of its Query.

Parameters:
value - an URI

readComposedByResource

public Value<java.net.URI> readComposedByResource()
Read the Links a ComposedResource to one of its Resource.

Returns:
an URI

writeComposedByResource

public void writeComposedByResource(java.net.URI value)
Write the Links a ComposedResource to one of its Resource.

Parameters:
value - an URI

readComposedByResourceResultSet

public Value<java.net.URI> readComposedByResourceResultSet()
Read the Links a ResultSet to one of its Resource.

Returns:
an URI

writeComposedByResourceResultSet

public void writeComposedByResourceResultSet(java.net.URI value)
Write the Links a ResultSet to one of its Resource.

Parameters:
value - an URI


Copyright © 2004-2010. All Rights Reserved.