public class BuilderSWRLObjectPropertyAtom extends BaseObjectPropertyBuilder<SWRLObjectPropertyAtom,BuilderSWRLObjectPropertyAtom>
Constructor and Description |
---|
BuilderSWRLObjectPropertyAtom(OWLDataFactory df) |
BuilderSWRLObjectPropertyAtom(SWRLObjectPropertyAtom expected,
OWLDataFactory df)
builder initialized from an existing object
|
Modifier and Type | Method and Description |
---|---|
SWRLObjectPropertyAtom |
buildObject() |
SWRLIArgument |
getArg0() |
SWRLIArgument |
getArg1() |
BuilderSWRLObjectPropertyAtom |
withArg0(SWRLIArgument arg) |
BuilderSWRLObjectPropertyAtom |
withArg1(SWRLIArgument arg) |
getProperty, withProperty
applyChanges, withAnnotation, withAnnotations
public BuilderSWRLObjectPropertyAtom(@Nonnull SWRLObjectPropertyAtom expected, OWLDataFactory df)
expected
- the existing objectdf
- data factory@Inject public BuilderSWRLObjectPropertyAtom(OWLDataFactory df)
df
- data factory@Nonnull public BuilderSWRLObjectPropertyAtom withArg0(SWRLIArgument arg)
arg
- individual@Nonnull public BuilderSWRLObjectPropertyAtom withArg1(SWRLIArgument arg)
arg
- individualpublic SWRLObjectPropertyAtom buildObject()
buildObject
in interface Builder<SWRLObjectPropertyAtom>
buildObject
in class BaseBuilder<SWRLObjectPropertyAtom,BuilderSWRLObjectPropertyAtom>
@Nonnull public SWRLIArgument getArg1()
@Nonnull public SWRLIArgument getArg0()
Copyright © 2020 The University of Manchester. All rights reserved.