Class BuilderSWRLObjectPropertyAtom
java.lang.Object
org.semanticweb.owlapitools.builders.BaseBuilder<X,B>
org.semanticweb.owlapitools.builders.BuilderSWRLIndividualsAtom<SWRLObjectPropertyAtom,BuilderSWRLObjectPropertyAtom>
org.semanticweb.owlapitools.builders.BuilderSWRLObjectPropertyAtom
- All Implemented Interfaces:
Builder<SWRLObjectPropertyAtom>
public class BuilderSWRLObjectPropertyAtom
extends BuilderSWRLIndividualsAtom<SWRLObjectPropertyAtom,BuilderSWRLObjectPropertyAtom>
Builder class for SWRLObjectPropertyAtom.
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder initialized from an existing object. -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.semanticweb.owlapitools.builders.BuilderSWRLIndividualsAtom
getArg0, getArg1, withArg0, withArg1
Methods inherited from class org.semanticweb.owlapitools.builders.BaseBuilder
applyChanges, clearAnnotations, withAnnotation, withAnnotations, withAnnotations
-
Constructor Details
-
BuilderSWRLObjectPropertyAtom
Builder initialized from an existing object.- Parameters:
expected
- the existing objectdf
- data factory
-
BuilderSWRLObjectPropertyAtom
- Parameters:
df
- data factory
-
-
Method Details
-
withProperty
- Parameters:
arg
- property- Returns:
- this builder
-
getProperty
- Returns:
- property
-
buildObject
- Specified by:
buildObject
in interfaceBuilder<SWRLObjectPropertyAtom>
- Specified by:
buildObject
in classBaseBuilder<SWRLObjectPropertyAtom,
BuilderSWRLObjectPropertyAtom> - Returns:
- freshly built object
-