public class BuilderAnnotationAssertion extends BaseAnnotationPropertyBuilder<OWLAnnotationAssertionAxiom,BuilderAnnotationAssertion> implements Builder<OWLAnnotationAssertionAxiom>
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(HasIRI arg) |
BuilderAnnotationAssertion |
withSubject(OWLAnnotationSubject arg) |
BuilderAnnotationAssertion |
withValue(OWLAnnotationValue arg) |
getProperty, withProperty, withProperty
applyChanges, clearAnnotations, withAnnotation, withAnnotations, withAnnotations
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyChanges
@Inject public BuilderAnnotationAssertion(OWLDataFactory df)
df
- data factorypublic BuilderAnnotationAssertion(OWLAnnotationAssertionAxiom expected, OWLDataFactory df)
expected
- the existing objectdf
- data factorypublic BuilderAnnotationAssertion withSubject(OWLAnnotationSubject arg)
arg
- subjectpublic BuilderAnnotationAssertion withSubject(HasIRI arg)
arg
- subjectpublic BuilderAnnotationAssertion withValue(OWLAnnotationValue arg)
arg
- valuepublic OWLAnnotationAssertionAxiom buildObject()
buildObject
in interface Builder<OWLAnnotationAssertionAxiom>
buildObject
in class BaseBuilder<OWLAnnotationAssertionAxiom,BuilderAnnotationAssertion>
@Nullable public OWLAnnotationValue getValue()
@Nullable public OWLAnnotationSubject getSubject()
Copyright © 2020 The University of Manchester. All rights reserved.