public class AnnotationTools extends Object
Modifier and Type | Field and Description |
---|---|
static URI |
CREATOR |
static URI |
DESCRIPTION |
static URI |
EXAMPLE_DATA |
static URI |
TITLE |
Constructor and Description |
---|
AnnotationTools() |
Modifier and Type | Method and Description |
---|---|
org.apache.jena.query.Dataset |
annotationDatasetFor(Child<?> workflowBean) |
Annotation |
createNewAnnotation(WorkflowBundle workflowBundle,
Child<?> subject,
URI predicate,
String value)
Create a new annotation attached to the given
|
String |
getCreator(Child<?> workflowBean) |
String |
getDescription(Child<?> workflowBean) |
String |
getExampleValue(Child<?> workflowBean) |
String |
getTitle(Child<?> workflowBean) |
public static final URI EXAMPLE_DATA
public static final URI TITLE
public static final URI DESCRIPTION
public static final URI CREATOR
public org.apache.jena.query.Dataset annotationDatasetFor(Child<?> workflowBean)
public Annotation createNewAnnotation(WorkflowBundle workflowBundle, Child<?> subject, URI predicate, String value) throws IOException
workflowBundle
- subject
- predicate
- value
- IOException
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.