public class BuilderFacetRestriction extends BaseBuilder<OWLFacetRestriction,BuilderFacetRestriction>
Constructor and Description |
---|
BuilderFacetRestriction(OWLDataFactory df) |
BuilderFacetRestriction(OWLFacetRestriction expected,
OWLDataFactory df)
builder initialized from an existing object
|
Modifier and Type | Method and Description |
---|---|
OWLFacetRestriction |
buildObject() |
OWLFacet |
getFacet() |
OWLLiteral |
getLiteral() |
BuilderFacetRestriction |
withFacet(OWLFacet arg) |
BuilderFacetRestriction |
withLiteral(double arg) |
BuilderFacetRestriction |
withLiteral(float arg) |
BuilderFacetRestriction |
withLiteral(int arg) |
BuilderFacetRestriction |
withLiteral(OWLLiteral arg) |
applyChanges, withAnnotation, withAnnotations
public BuilderFacetRestriction(@Nonnull OWLFacetRestriction expected, OWLDataFactory df)
expected
- the existing objectdf
- data factory@Inject public BuilderFacetRestriction(OWLDataFactory df)
df
- data factory@Nonnull public BuilderFacetRestriction withLiteral(int arg)
arg
- int value@Nonnull public BuilderFacetRestriction withLiteral(OWLLiteral arg)
arg
- literal value@Nonnull public BuilderFacetRestriction withLiteral(double arg)
arg
- double value@Nonnull public BuilderFacetRestriction withLiteral(float arg)
arg
- float value@Nonnull public BuilderFacetRestriction withFacet(OWLFacet arg)
arg
- facetpublic OWLFacetRestriction buildObject()
buildObject
in interface Builder<OWLFacetRestriction>
buildObject
in class BaseBuilder<OWLFacetRestriction,BuilderFacetRestriction>
@Nonnull public OWLLiteral getLiteral()
Copyright © 2020 The University of Manchester. All rights reserved.