org.ow2.weblab.core.model.processing
Class WProcessingAnnotator

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.processing.WProcessingAnnotator

public class WProcessingAnnotator
extends BaseAnnotator

WebLab Exchange model used for resources processing v0.3. This version includes relationships used for WebLab Resources processing. 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 CAN_BE_IGNORED
           
protected static java.lang.String HAS_BEEN_UPDATED_BY
           
protected static java.lang.String HAS_CLUSTER_PROXIMITY
           
protected static java.lang.String HAS_GATHERING_DATE
           
protected static java.lang.String HAS_NATIVE_CONTENT
           
protected static java.lang.String HAS_NORMALISED_CONTENT
           
protected static java.lang.String HAS_ORIGINAL_FILE_NAME
           
protected static java.lang.String HAS_ORIGINAL_FILE_SIZE
           
protected static java.lang.String HAS_STEM
           
protected static java.lang.String IS_CANDIDATE
           
protected static java.lang.String IS_COMPOSED_BY_CLUSTER
           
protected static java.lang.String IS_EXPOSED_AS
           
protected static java.lang.String IS_GENERATED_FROM
           
protected static java.lang.String IS_IN_CLUSTER
           
protected static java.lang.String IS_IN_CLUSTER_LINK
           
protected static java.lang.String IS_PRODUCED_BY
           
protected static java.lang.String PREFIX
           
protected static java.lang.String REFERS_TO
           
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
WProcessingAnnotator(Resource resource)
           
WProcessingAnnotator(java.net.URI subject, PieceOfKnowledge pieceOfKnowledge)
           
 
Method Summary
 Value<java.net.URI> readBeenUpdatedBy()
          Read the Links a resource to the service that has modified this resource.
 Value<java.lang.Boolean> readCanBeIgnored()
          Read the Media unit can be ignored by a service
 Value<java.lang.Boolean> readCandidate()
          Read the Whether or not is the instance extracted a candidate instance.
 Value<java.lang.Double> readClusterProximity()
          Read the Value that corresponds to the proximity between the two clusters implied in a cluster link.
 Value<java.net.URI> readComposedByCluster()
          Read the Link a ClusterLink with it the two clusters composants.
 Value<java.lang.String> readExposedAs()
          Read the Is exposed on a given protocol at a given address (for instance points to an URL).
 Value<java.util.Date> readGatheringDate()
          Read the Gives the date when the Document was gathered.
 Value<java.net.URI> readGeneratedFrom()
          Read the Links a media unit result of an automatic (translation, summarisation, transcription) process from a source media unit.
 Value<java.net.URI> readInCluster()
          Read the Link a WebLab Document to a Cluster
 Value<java.net.URI> readInClusterLink()
          Read the Link a cluster with a ClusterLink.
 Value<java.net.URI> readNativeContent()
          Read the
 Value<java.net.URI> readNormalisedContent()
          Read the Links a media unit to its normalised content.
 Value<java.lang.String> readOriginalFileName()
          Read the Gives the name of the original file gathered.
 Value<java.lang.Long> readOriginalFileSize()
          Read the Gives the number of bytes of the original file gathered.
 Value<java.net.URI> readProducedBy()
          Read the Indicates the service that has produced automatically or semi-automatically the resource.
 Value<java.net.URI> readRefersTo()
          Read the Refers to a given URI defining an instance of a recognised named entities .
 Value<java.lang.String> readStem()
          Read the Gives the stem value for this text.
 void writeBeenUpdatedBy(java.net.URI value)
          Write the Links a resource to the service that has modified this resource.
 void writeCanBeIgnored(java.lang.Boolean value)
          Write the Media unit can be ignored by a service
 void writeCandidate(java.lang.Boolean value)
          Write the Whether or not is the instance extracted a candidate instance.
 void writeClusterProximity(java.lang.Double value)
          Write the Value that corresponds to the proximity between the two clusters implied in a cluster link.
 void writeComposedByCluster(java.net.URI value)
          Write the Link a ClusterLink with it the two clusters composants.
 void writeExposedAs(java.lang.String value)
          Write the Is exposed on a given protocol at a given address (for instance points to an URL).
 void writeGatheringDate(java.util.Date value)
          Write the Gives the date when the Document was gathered.
 void writeGeneratedFrom(java.net.URI value)
          Write the Links a media unit result of an automatic (translation, summarisation, transcription) process from a source media unit.
 void writeInCluster(java.net.URI value)
          Write the Link a WebLab Document to a Cluster
 void writeInClusterLink(java.net.URI value)
          Write the Link a cluster with a ClusterLink.
 void writeNativeContent(java.net.URI value)
          Write the
 void writeNormalisedContent(java.net.URI value)
          Write the Links a media unit to its normalised content.
 void writeOriginalFileName(java.lang.String value)
          Write the Gives the name of the original file gathered.
 void writeOriginalFileSize(java.lang.Long value)
          Write the Gives the number of bytes of the original file gathered.
 void writeProducedBy(java.net.URI value)
          Write the Indicates the service that has produced automatically or semi-automatically the resource.
 void writeRefersTo(java.net.URI value)
          Write the Refers to a given URI defining an instance of a recognised named entities .
 void writeStem(java.lang.String value)
          Write the Gives the stem value for this text.
 
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

CAN_BE_IGNORED

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

HAS_CLUSTER_PROXIMITY

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

HAS_GATHERING_DATE

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

HAS_ORIGINAL_FILE_NAME

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

HAS_ORIGINAL_FILE_SIZE

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

HAS_STEM

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

IS_CANDIDATE

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

IS_EXPOSED_AS

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

HAS_BEEN_UPDATED_BY

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

HAS_NATIVE_CONTENT

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

HAS_NORMALISED_CONTENT

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

IS_COMPOSED_BY_CLUSTER

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

IS_GENERATED_FROM

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

IS_IN_CLUSTER

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

IS_IN_CLUSTER_LINK

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

IS_PRODUCED_BY

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

REFERS_TO

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

WProcessingAnnotator

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

WProcessingAnnotator

public WProcessingAnnotator(Resource resource)
Method Detail

readCanBeIgnored

public Value<java.lang.Boolean> readCanBeIgnored()
Read the Media unit can be ignored by a service

Returns:
a Boolean

writeCanBeIgnored

public void writeCanBeIgnored(java.lang.Boolean value)
Write the Media unit can be ignored by a service

Parameters:
value - a Boolean

readClusterProximity

public Value<java.lang.Double> readClusterProximity()
Read the Value that corresponds to the proximity between the two clusters implied in a cluster link.

Returns:
a Double

writeClusterProximity

public void writeClusterProximity(java.lang.Double value)
Write the Value that corresponds to the proximity between the two clusters implied in a cluster link.

Parameters:
value - a Double

readGatheringDate

public Value<java.util.Date> readGatheringDate()
Read the Gives the date when the Document was gathered.

Returns:
a Date

writeGatheringDate

public void writeGatheringDate(java.util.Date value)
Write the Gives the date when the Document was gathered.

Parameters:
value - a Date

readOriginalFileName

public Value<java.lang.String> readOriginalFileName()
Read the Gives the name of the original file gathered.

Returns:
a String

writeOriginalFileName

public void writeOriginalFileName(java.lang.String value)
Write the Gives the name of the original file gathered.

Parameters:
value - a String

readOriginalFileSize

public Value<java.lang.Long> readOriginalFileSize()
Read the Gives the number of bytes of the original file gathered.

Returns:
a Long

writeOriginalFileSize

public void writeOriginalFileSize(java.lang.Long value)
Write the Gives the number of bytes of the original file gathered.

Parameters:
value - a Long

readStem

public Value<java.lang.String> readStem()
Read the Gives the stem value for this text.

Returns:
a String

writeStem

public void writeStem(java.lang.String value)
Write the Gives the stem value for this text.

Parameters:
value - a String

readCandidate

public Value<java.lang.Boolean> readCandidate()
Read the Whether or not is the instance extracted a candidate instance.

Returns:
a Boolean

writeCandidate

public void writeCandidate(java.lang.Boolean value)
Write the Whether or not is the instance extracted a candidate instance.

Parameters:
value - a Boolean

readExposedAs

public Value<java.lang.String> readExposedAs()
Read the Is exposed on a given protocol at a given address (for instance points to an URL).

Returns:
a String

writeExposedAs

public void writeExposedAs(java.lang.String value)
Write the Is exposed on a given protocol at a given address (for instance points to an URL).

Parameters:
value - a String

readBeenUpdatedBy

public Value<java.net.URI> readBeenUpdatedBy()
Read the Links a resource to the service that has modified this resource.

Returns:
an URI

writeBeenUpdatedBy

public void writeBeenUpdatedBy(java.net.URI value)
Write the Links a resource to the service that has modified this resource.

Parameters:
value - an URI

readNativeContent

public Value<java.net.URI> readNativeContent()
Read the

Returns:
an URI

writeNativeContent

public void writeNativeContent(java.net.URI value)
Write the

Parameters:
value - an URI

readNormalisedContent

public Value<java.net.URI> readNormalisedContent()
Read the Links a media unit to its normalised content.

Returns:
an URI

writeNormalisedContent

public void writeNormalisedContent(java.net.URI value)
Write the Links a media unit to its normalised content.

Parameters:
value - an URI

readComposedByCluster

public Value<java.net.URI> readComposedByCluster()
Read the Link a ClusterLink with it the two clusters composants.

Returns:
an URI

writeComposedByCluster

public void writeComposedByCluster(java.net.URI value)
Write the Link a ClusterLink with it the two clusters composants.

Parameters:
value - an URI

readGeneratedFrom

public Value<java.net.URI> readGeneratedFrom()
Read the Links a media unit result of an automatic (translation, summarisation, transcription) process from a source media unit.

Returns:
an URI

writeGeneratedFrom

public void writeGeneratedFrom(java.net.URI value)
Write the Links a media unit result of an automatic (translation, summarisation, transcription) process from a source media unit.

Parameters:
value - an URI

readInCluster

public Value<java.net.URI> readInCluster()
Read the Link a WebLab Document to a Cluster

Returns:
an URI

writeInCluster

public void writeInCluster(java.net.URI value)
Write the Link a WebLab Document to a Cluster

Parameters:
value - an URI

readInClusterLink

public Value<java.net.URI> readInClusterLink()
Read the Link a cluster with a ClusterLink.

Returns:
an URI

writeInClusterLink

public void writeInClusterLink(java.net.URI value)
Write the Link a cluster with a ClusterLink.

Parameters:
value - an URI

readProducedBy

public Value<java.net.URI> readProducedBy()
Read the Indicates the service that has produced automatically or semi-automatically the resource.

Returns:
an URI

writeProducedBy

public void writeProducedBy(java.net.URI value)
Write the Indicates the service that has produced automatically or semi-automatically the resource.

Parameters:
value - an URI

readRefersTo

public Value<java.net.URI> readRefersTo()
Read the Refers to a given URI defining an instance of a recognised named entities .

Returns:
an URI

writeRefersTo

public void writeRefersTo(java.net.URI value)
Write the Refers to a given URI defining an instance of a recognised named entities .

Parameters:
value - an URI


Copyright © 2004-2010. All Rights Reserved.