public class BuilderSWRLRule extends BaseBuilder<SWRLRule,BuilderSWRLRule>
| Constructor and Description | 
|---|
| BuilderSWRLRule(OWLDataFactory df) | 
| BuilderSWRLRule(SWRLRule expected,
               OWLDataFactory df)Builder initialized from an existing object. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | bodySize() | 
| SWRLRule | buildObject() | 
| int | headSize() | 
| BuilderSWRLRule | withBody(Collection<SWRLAtom> arg) | 
| BuilderSWRLRule | withBody(Stream<SWRLAtom> arg) | 
| BuilderSWRLRule | withBody(SWRLAtom arg) | 
| BuilderSWRLRule | withHead(Collection<SWRLAtom> arg) | 
| BuilderSWRLRule | withHead(Stream<SWRLAtom> arg) | 
| BuilderSWRLRule | withHead(SWRLAtom arg) | 
applyChanges, clearAnnotations, withAnnotation, withAnnotations, withAnnotationspublic BuilderSWRLRule(SWRLRule expected, OWLDataFactory df)
expected - the existing objectdf - data factory@Inject public BuilderSWRLRule(OWLDataFactory df)
df - data factorypublic BuilderSWRLRule withBody(SWRLAtom arg)
arg - body atompublic BuilderSWRLRule withHead(SWRLAtom arg)
arg - head atompublic BuilderSWRLRule withBody(Collection<SWRLAtom> arg)
arg - body atompublic BuilderSWRLRule withBody(Stream<SWRLAtom> arg)
arg - body atompublic BuilderSWRLRule withHead(Collection<SWRLAtom> arg)
arg - head atompublic BuilderSWRLRule withHead(Stream<SWRLAtom> arg)
arg - head atompublic SWRLRule buildObject()
buildObject in interface Builder<SWRLRule>buildObject in class BaseBuilder<SWRLRule,BuilderSWRLRule>public int bodySize()
public int headSize()
Copyright © 2020 The University of Manchester. All rights reserved.