SMILA (incubation) API documentation

org.eclipse.smila.ontology.pipelets
Class CreateRelationPipelet

java.lang.Object
  extended by org.eclipse.smila.ontology.pipelets.ASesameRecordPipelet
      extended by org.eclipse.smila.ontology.pipelets.CreateRelationPipelet
All Implemented Interfaces:
Pipelet

public class CreateRelationPipelet
extends ASesameRecordPipelet

pipelet for creating relations between attribute values in ontology.

Author:
jschumacher

Field Summary
static java.lang.String PARAM_OBJECT_IS_RESOURCE
          configuration property/parameter name for specifying the attribute name of the relation objects: "objectAttribute".
static java.lang.String PARAM_OBJECTATTRIBUTE
          configuration property/parameter name for specifying the attribute name of the relation objects: "objectAttribute".
static java.lang.String PARAM_PREDICATEURI
          configuration property/parameter name for specifying the URI of the relation predicate: "predicateUri".
static java.lang.String PARAM_SUBJECTATTRIBUTE
          configuration property/parameter name for specifying the attribute name of the relation subjects: "subjectAttribute".
 
Fields inherited from class org.eclipse.smila.ontology.pipelets.ASesameRecordPipelet
_configuration, _valueHelper, PARAM_RECORDFILTER, PARAM_REPOSITORY
 
Constructor Summary
CreateRelationPipelet()
           
 
Method Summary
 java.lang.String[] process(Blackboard blackboard, java.lang.String[] recordIds)
          process records on Blackboard service.
 
Methods inherited from class org.eclipse.smila.ontology.pipelets.ASesameRecordPipelet
configure, createUri, getParameters, getRepositoryConnection, getSesameOntologyManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_SUBJECTATTRIBUTE

public static final java.lang.String PARAM_SUBJECTATTRIBUTE
configuration property/parameter name for specifying the attribute name of the relation subjects: "subjectAttribute".

See Also:
Constant Field Values

PARAM_OBJECTATTRIBUTE

public static final java.lang.String PARAM_OBJECTATTRIBUTE
configuration property/parameter name for specifying the attribute name of the relation objects: "objectAttribute".

See Also:
Constant Field Values

PARAM_OBJECT_IS_RESOURCE

public static final java.lang.String PARAM_OBJECT_IS_RESOURCE
configuration property/parameter name for specifying the attribute name of the relation objects: "objectAttribute".

See Also:
Constant Field Values

PARAM_PREDICATEURI

public static final java.lang.String PARAM_PREDICATEURI
configuration property/parameter name for specifying the URI of the relation predicate: "predicateUri".

See Also:
Constant Field Values
Constructor Detail

CreateRelationPipelet

public CreateRelationPipelet()
Method Detail

process

public java.lang.String[] process(Blackboard blackboard,
                                  java.lang.String[] recordIds)
                           throws ProcessingException
process records on Blackboard service.

Parameters:
blackboard - Blackboard service managing the records.
recordIds - Ids of records to process.
Returns:
Ids of result records. By default this should be the same as the passed in recordIds unless there is a specific reason not to do so. This is especially true for SearchPiplets.
Throws:
ProcessingException - error during processing.

SMILA (incubation) API documentation