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