public class BuilderAnnotation extends BaseAnnotationPropertyBuilder<OWLAnnotation,BuilderAnnotation>
Constructor and Description |
---|
BuilderAnnotation(OWLAnnotation expected,
OWLDataFactory df)
Builder initialized from an existing object.
|
BuilderAnnotation(OWLDataFactory df) |
Modifier and Type | Method and Description |
---|---|
OWLAnnotation |
buildObject() |
OWLAnnotationValue |
getValue() |
BuilderAnnotation |
withValue(OWLAnnotationValue arg) |
getProperty, withProperty, withProperty
applyChanges, clearAnnotations, withAnnotation, withAnnotations, withAnnotations
@Inject public BuilderAnnotation(OWLDataFactory df)
df
- data factorypublic BuilderAnnotation(OWLAnnotation expected, OWLDataFactory df)
expected
- the existing objectdf
- data factorypublic BuilderAnnotation withValue(OWLAnnotationValue arg)
arg
- the annotation valuepublic OWLAnnotation buildObject()
buildObject
in interface Builder<OWLAnnotation>
buildObject
in class BaseBuilder<OWLAnnotation,BuilderAnnotation>
public OWLAnnotationValue getValue()
Copyright © 2020 The University of Manchester. All rights reserved.