public class BuilderDatatypeRestriction extends BaseSetBuilder<OWLDatatypeRestriction,BuilderDatatypeRestriction,OWLFacetRestriction>
Constructor and Description |
---|
BuilderDatatypeRestriction(OWLDataFactory df) |
BuilderDatatypeRestriction(OWLDatatypeRestriction expected,
OWLDataFactory df)
Builder initialized from an existing object.
|
Modifier and Type | Method and Description |
---|---|
OWLDatatypeRestriction |
buildObject() |
OWLDatatype |
getType() |
BuilderDatatypeRestriction |
withDatatype(OWLDatatype arg) |
withItem, withItems, withItems, withItems
applyChanges, clearAnnotations, withAnnotation, withAnnotations, withAnnotations
public BuilderDatatypeRestriction(OWLDatatypeRestriction expected, OWLDataFactory df)
expected
- the existing objectdf
- data factory@Inject public BuilderDatatypeRestriction(OWLDataFactory df)
df
- data factorypublic BuilderDatatypeRestriction withDatatype(OWLDatatype arg)
arg
- rangepublic OWLDatatypeRestriction buildObject()
buildObject
in interface Builder<OWLDatatypeRestriction>
buildObject
in class BaseBuilder<OWLDatatypeRestriction,BuilderDatatypeRestriction>
public OWLDatatype getType()
Copyright © 2020 The University of Manchester. All rights reserved.