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, clearAnnotations, withAnnotation, withAnnotations, withAnnotations
public BuilderFacetRestriction(OWLFacetRestriction expected, OWLDataFactory df)
expected
- the existing objectdf
- data factory@Inject public BuilderFacetRestriction(OWLDataFactory df)
df
- data factorypublic BuilderFacetRestriction withLiteral(int arg)
arg
- int valuepublic BuilderFacetRestriction withLiteral(OWLLiteral arg)
arg
- literal valuepublic BuilderFacetRestriction withLiteral(double arg)
arg
- double valuepublic BuilderFacetRestriction withLiteral(float arg)
arg
- float valuepublic BuilderFacetRestriction withFacet(OWLFacet arg)
arg
- facetpublic OWLFacetRestriction buildObject()
buildObject
in interface Builder<OWLFacetRestriction>
buildObject
in class BaseBuilder<OWLFacetRestriction,BuilderFacetRestriction>
public OWLFacet getFacet()
public OWLLiteral getLiteral()
Copyright © 2020 The University of Manchester. All rights reserved.