public class BuilderDataMinCardinality extends BaseDataBuilder<OWLDataMinCardinality,BuilderDataMinCardinality> implements SettableCardinality<BuilderDataMinCardinality>
Constructor and Description |
---|
BuilderDataMinCardinality(OWLDataFactory df) |
BuilderDataMinCardinality(OWLDataMinCardinality expected,
OWLDataFactory df)
Builder initialized from an existing object.
|
Modifier and Type | Method and Description |
---|---|
OWLDataMinCardinality |
buildObject() |
int |
getCardinality()
Gets the cardinality of a restriction.
|
BuilderDataMinCardinality |
withCardinality(int arg) |
getDataRange, getRange, withRange, withRange
getProperty, withProperty
applyChanges, clearAnnotations, withAnnotation, withAnnotations, withAnnotations
@Inject public BuilderDataMinCardinality(OWLDataFactory df)
df
- data factorypublic BuilderDataMinCardinality(OWLDataMinCardinality expected, OWLDataFactory df)
expected
- the existing objectdf
- data factorypublic BuilderDataMinCardinality withCardinality(int arg)
withCardinality
in interface SettableCardinality<BuilderDataMinCardinality>
arg
- cardinality to setpublic int getCardinality()
HasCardinality
getCardinality
in interface HasCardinality
public OWLDataMinCardinality buildObject()
buildObject
in interface Builder<OWLDataMinCardinality>
buildObject
in class BaseBuilder<OWLDataMinCardinality,BuilderDataMinCardinality>
Copyright © 2020 The University of Manchester. All rights reserved.