
public final class FloatRestriction extends BoundedValueRestriction
TypeExpression (BoundedValueRestriction) that contains all
literals of type float with a given lower bound and/or upper bound.TypeRestriction.Facet| Modifier and Type | Field and Description |
|---|---|
static String |
DATATYPE_URI
URI of the data type Float.
|
XSD_FACET_MAX_EXCLUSIVE, XSD_FACET_MAX_INCLUSIVE, XSD_FACET_MIN_EXCLUSIVE, XSD_FACET_MIN_INCLUSIVEPROP_OWL_ON_DATATYPE, PROP_OWL_WITH_RESTRICTIONS, restrictions, XSD_FACET_PATTERNEXCEPTION_TTL, OWL_CLASS, OWL_NAMESPACE, PROP_RDFS_SUB_CLASS_OF, RDFS_DATATYPE, TYPE_OWL_THINGANON_URI_PREFIX, blockAddingTypes, isXMLLiteral, NAMESPACE_PREFIX, ns_delim_index, PROP_INVOLVED_HUMAN_USER, PROP_RDF_FIRST, PROP_RDF_REST, PROP_RDF_TYPE, PROP_RDFS_COMMENT, PROP_RDFS_LABEL, PROP_SERIALIZATION_FULL, PROP_SERIALIZATION_OPTIONAL, PROP_SERIALIZATION_REDUCED, PROP_SERIALIZATION_UNDEFINED, props, RDF_EMPTY_LIST, RDF_NAMESPACE, RDFS_NAMESPACE, SERVICE_NAMESPACE, TYPE_RDF_LIST, TYPE_RDFS_CLASS, uri, VOCABULARY_NAMESPACE| Constructor and Description |
|---|
FloatRestriction()
Standard constructor for exclusive use by serializers.
|
FloatRestriction(float min,
boolean minInclusive,
float max,
boolean maxInclusive)
Creates a new restriction.
|
FloatRestriction(Float min,
boolean minInclusive,
Float max,
boolean maxInclusive)
Creates a new restriction.
|
FloatRestriction(Object min,
boolean minInclusive,
Object max,
boolean maxInclusive)
Creates a new restriction.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkType(Object o)
Determines whether the type of the given object is valid.
|
TypeExpression |
copy()
Create a copy of this object, i.e.
|
protected Comparable |
getNext(Comparable c)
Returns the next element, i.e.
|
protected Comparable |
getPrevious(Comparable c)
Returns the previous element, i.e.
|
copyTo, getLowerbound, getUpperbound, hasMember, isDisjointWith, isWellFormed, matches, setPropertyaddConstrainingFacet, copyTo, getMemberValueToCheck, getNamedSuperclasses, getTypeURI, getUpperEnumeration, hasMember, iterate, matches, resolveVarByGreaterEqual, resolveVarByLessEqual, setFacet, setPatterncheckTTL, collectTypesMinimized, getDefaultMatchmakingTTL, hasMember, hasMember, isDisjointWith, isDisjointWith, matches, matches, synchronizeaddMultiLangProp, addType, asList, asList, asRDFList, changeProperty, copy, deepCopy, equals, generateAnonURI, getDefaultLang, getFilename, getLocalName, getMultiLangProp, getNamespace, getOrConstructLabel, getOrConstructLabel, getProperty, getPropertyURIs, getPropSerializationType, getResource, getResourceComment, getResourceLabel, getResourceLabel, getStaticFieldValue, getType, getTypes, getURI, hashCode, hasProperty, hasQualifiedName, isAnon, isAnon, isBlockingAddingTypes, isClosedCollection, isQualifiedName, literal, numberOfProperties, representsQualifiedURI, serializesAsXMLLiteral, setPropertyPath, setPropertyPath, setPropertyPathFromOffset, setResourceComment, setResourceLabel, toString, toStringRecursive, toStringRecursive, unliteralpublic static final String DATATYPE_URI
public FloatRestriction()
public FloatRestriction(float min,
boolean minInclusive,
float max,
boolean maxInclusive)
min - The minimum value, or null if no minimum is defined.minInclusive - True, if the minimum value is included. Ignored, if min is
null.max - The maximum value, or null if no maximum is defined.maxInclusive - True, if the maximum value is included. Ignored, if max is
null.public FloatRestriction(Float min, boolean minInclusive, Float max, boolean maxInclusive)
min - The minimum value, or null if no minimum is defined.minInclusive - True, if the minimum value is included. Ignored, if min is
null.max - The maximum value, or null if no maximum is defined.maxInclusive - True, if the maximum value is included. Ignored, if max is
null.public FloatRestriction(Object min, boolean minInclusive, Object max, boolean maxInclusive)
min - The minimum value, or a Variable reference, or null if
no minimum is defined.minInclusive - True, if the minimum value is included. Ignored, if min is
null.max - The maximum value, or a Variable reference, or null if
no maximum is defined.maxInclusive - True, if the maximum value is included. Ignored, if max is
null.protected boolean checkType(Object o)
BoundedValueRestrictionVariable.checkType in class BoundedValueRestrictiono - The object to check.protected Comparable getNext(Comparable c)
TypeRestrictiongetNext in class TypeRestrictionc - A value for which to get the next value.protected Comparable getPrevious(Comparable c)
TypeRestrictiongetPrevious in class TypeRestrictionc - A value for which to get the previous value.public TypeExpression copy()
TypeExpressioncopy in class TypeExpressionCopyright © 2018 universAAL Consortium. All rights reserved.