public final class ResultAnnotation extends Object
| Constructor and Description |
|---|
ResultAnnotation(String annotationProperty,
com.hp.hpl.jena.rdf.model.RDFNode annotationValue)
Instantiates a new Result annotation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAnnotationProperty()
Gets the annotation property.
|
com.hp.hpl.jena.rdf.model.RDFNode |
getAnnotationValue()
Gets the annotation value.
|
int |
hashCode() |
com.hp.hpl.jena.rdf.model.Resource |
serializeAsResult(com.hp.hpl.jena.rdf.model.Resource resource,
com.hp.hpl.jena.rdf.model.Model model)
Serialize this annotation for an extended test case result
|
com.hp.hpl.jena.rdf.model.Resource |
serializeAsTestCase(com.hp.hpl.jena.rdf.model.Model model)
Serialize this annotation for exporting a test case.
|
public ResultAnnotation(String annotationProperty, com.hp.hpl.jena.rdf.model.RDFNode annotationValue)
annotationProperty - the annotation propertyannotationValue - the annotation valuepublic com.hp.hpl.jena.rdf.model.Resource serializeAsResult(com.hp.hpl.jena.rdf.model.Resource resource,
com.hp.hpl.jena.rdf.model.Model model)
resource - the resourcemodel - the modelpublic com.hp.hpl.jena.rdf.model.Resource serializeAsTestCase(com.hp.hpl.jena.rdf.model.Model model)
model - the modelpublic String getAnnotationProperty()
public com.hp.hpl.jena.rdf.model.RDFNode getAnnotationValue()
Copyright © 2015. All rights reserved.