@Override public OWLFacetRestriction getOWLFacetRestriction(OWLFacet facet, float facetValue) { return getOWLFacetRestriction(facet, getOWLLiteral(facetValue)); }
@Nonnull @Override public OWLFacetRestriction getOWLFacetRestriction(OWLFacet facet, double facetValue) { return getOWLFacetRestriction(facet, getOWLLiteral(facetValue)); }
@Nonnull @Override public OWLFacetRestriction getOWLFacetRestriction(OWLFacet facet, float facetValue) { return getOWLFacetRestriction(facet, getOWLLiteral(facetValue)); }
@Nonnull @Override public OWLFacetRestriction getOWLFacetRestriction(OWLFacet facet, int facetValue) { return getOWLFacetRestriction(facet, getOWLLiteral(facetValue)); }
@Override public OWLFacetRestriction getOWLFacetRestriction(OWLFacet facet, double facetValue) { return getOWLFacetRestriction(facet, getOWLLiteral(facetValue)); }
public OWLFacetRestriction getOWLFacetRestriction(OWLFacet facet, double facetValue) { return getOWLFacetRestriction(facet, getOWLTypedLiteral(facetValue)); }
@Override public OWLDatatypeRestriction getOWLDatatypeMinMaxExclusiveRestriction( int minExclusive, int maxExclusive) { return getOWLDatatypeRestriction( getIntegerOWLDatatype(), getOWLFacetRestriction(OWLFacet.MIN_EXCLUSIVE, getOWLLiteral(minExclusive)), getOWLFacetRestriction(OWLFacet.MAX_EXCLUSIVE, maxExclusive)); }
@Override public OWLDatatypeRestriction getOWLDatatypeMinMaxInclusiveRestriction( double minInclusive, double maxInclusive) { return getOWLDatatypeRestriction( getDoubleOWLDatatype(), getOWLFacetRestriction(OWLFacet.MIN_INCLUSIVE, getOWLLiteral(minInclusive)), getOWLFacetRestriction(OWLFacet.MAX_INCLUSIVE, maxInclusive)); }
@Override public OWLDatatypeRestriction getOWLDatatypeMinMaxInclusiveRestriction( int minInclusive, int maxInclusive) { return getOWLDatatypeRestriction( getIntegerOWLDatatype(), getOWLFacetRestriction(OWLFacet.MIN_INCLUSIVE, getOWLLiteral(minInclusive)), getOWLFacetRestriction(OWLFacet.MAX_INCLUSIVE, maxInclusive)); }
@Override public OWLDatatypeRestriction getOWLDatatypeMinMaxExclusiveRestriction(int minExclusive, int maxExclusive) { return getOWLDatatypeRestriction(getIntegerOWLDatatype(), getOWLFacetRestriction(OWLFacet.MIN_EXCLUSIVE, getOWLLiteral(minExclusive)), getOWLFacetRestriction(OWLFacet.MAX_EXCLUSIVE, maxExclusive)); }
@Override public OWLDatatypeRestriction getOWLDatatypeMinMaxExclusiveRestriction( double minExclusive, double maxExclusive) { return getOWLDatatypeRestriction( getDoubleOWLDatatype(), getOWLFacetRestriction(OWLFacet.MIN_EXCLUSIVE, getOWLLiteral(minExclusive)), getOWLFacetRestriction(OWLFacet.MAX_EXCLUSIVE, maxExclusive)); }
@Override public OWLDatatypeRestriction getOWLDatatypeMinMaxExclusiveRestriction(double minExclusive, double maxExclusive) { return getOWLDatatypeRestriction(getDoubleOWLDatatype(), getOWLFacetRestriction(OWLFacet.MIN_EXCLUSIVE, getOWLLiteral(minExclusive)), getOWLFacetRestriction(OWLFacet.MAX_EXCLUSIVE, maxExclusive)); }
@Override public OWLDatatypeRestriction getOWLDatatypeMinMaxInclusiveRestriction(int minInclusive, int maxInclusive) { return getOWLDatatypeRestriction(getIntegerOWLDatatype(), getOWLFacetRestriction(OWLFacet.MIN_INCLUSIVE, getOWLLiteral(minInclusive)), getOWLFacetRestriction(OWLFacet.MAX_INCLUSIVE, maxInclusive)); }
@Override public OWLDatatypeRestriction getOWLDatatypeMinMaxInclusiveRestriction(double minInclusive, double maxInclusive) { return getOWLDatatypeRestriction(getDoubleOWLDatatype(), getOWLFacetRestriction(OWLFacet.MIN_INCLUSIVE, getOWLLiteral(minInclusive)), getOWLFacetRestriction(OWLFacet.MAX_INCLUSIVE, maxInclusive)); }
@Override public OWLDatatypeRestriction getOWLDatatypeRestriction(OWLDatatype datatype, OWLFacet facet, OWLLiteral typedConstant) { checkNull(datatype, DATATYPE2); checkNull(facet, "facet"); checkNull(typedConstant, "typedConstant"); return new OWLDatatypeRestrictionImpl(datatype, Collections.singleton(getOWLFacetRestriction(facet, typedConstant))); }
@Nonnull @Override public OWLDatatypeRestriction getOWLDatatypeRestriction( OWLDatatype dataType, OWLFacet facet, OWLLiteral typedLiteral) { checkNotNull(dataType, "datatype cannot be null"); checkNotNull(facet, "facet cannot be null"); checkNotNull(typedLiteral, "typedConstant cannot be null"); return new OWLDatatypeRestrictionImpl(dataType, CollectionFactory.createSet(getOWLFacetRestriction(facet, typedLiteral))); }
@Override public OWLDatatypeRestriction getOWLDatatypeRestriction(OWLDatatype dataType, OWLFacet facet, OWLLiteral typedLiteral) { checkNotNull(dataType, DATATYPE_CANNOT_BE_NULL); checkNotNull(facet, FACET_CANNOT_BE_NULL); checkNotNull(typedLiteral, TYPED_CONSTANT_CANNOT_BE_NULL); return new OWLDatatypeRestrictionImpl(dataType, CollectionFactory.createSet(getOWLFacetRestriction(facet, typedLiteral))); }
@Override public OWLDatatypeRestriction getOWLDatatypeRestriction(OWLDatatype dataType, OWLFacet facet, OWLLiteral typedLiteral) { checkNotNull(dataType, DATATYPE_CANNOT_BE_NULL); checkNotNull(facet, FACET_CANNOT_BE_NULL); checkNotNull(typedLiteral, TYPED_CONSTANT_CANNOT_BE_NULL); return new OWLDatatypeRestrictionImpl(dataType, CollectionFactory.createSet(getOWLFacetRestriction(facet, typedLiteral))); }
@Override public OWLDatatypeRestriction getOWLDatatypeRestriction(OWLDatatype dataType, OWLFacet facet, OWLLiteral typedLiteral) { checkNotNull(dataType, DATATYPE_CANNOT_BE_NULL); checkNotNull(facet, FACET_CANNOT_BE_NULL); checkNotNull(typedLiteral, TYPED_CONSTANT_CANNOT_BE_NULL); return new OWLDatatypeRestrictionImpl(dataType, CollectionFactory.createSet(getOWLFacetRestriction(facet, typedLiteral))); }
@Override public OWLDatatypeRestriction getOWLDatatypeRestriction(OWLDatatype dataType, OWLFacet facet, OWLLiteral typedLiteral) { checkNotNull(dataType, DATATYPE_CANNOT_BE_NULL); checkNotNull(facet, FACET_CANNOT_BE_NULL); checkNotNull(typedLiteral, TYPED_CONSTANT_CANNOT_BE_NULL); return new OWLDatatypeRestrictionImpl(dataType, CollectionFactory.createSet(getOWLFacetRestriction(facet, typedLiteral))); }