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