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
applyChanges, withAnnotation, withAnnotations
@Inject public BuilderAnnotation(OWLDataFactory df)
df
- data factorypublic BuilderAnnotation(@Nonnull OWLAnnotation expected, OWLDataFactory df)
expected
- the existing objectdf
- data factory@Nonnull public BuilderAnnotation withValue(OWLAnnotationValue arg)
arg
- the annotation valuepublic OWLAnnotation buildObject()
buildObject
in interface Builder<OWLAnnotation>
buildObject
in class BaseBuilder<OWLAnnotation,BuilderAnnotation>
@Nonnull public OWLAnnotationValue getValue()
Copyright © 2020 The University of Manchester. All rights reserved.