public class FloatProperty extends DecimalProperty
Modifier and Type | Field and Description |
---|---|
protected Float |
_default |
protected List<Float> |
_enum |
static String |
FORMAT |
TYPE
exclusiveMaximum, exclusiveMinimum, maximum, minimum, multipleOf
access, allowEmptyValue, description, example, format, name, position, readOnly, required, title, type, vendorExtensions, xml
Constructor and Description |
---|
FloatProperty() |
Modifier and Type | Method and Description |
---|---|
FloatProperty |
_default(Float _default) |
FloatProperty |
_default(String _default) |
FloatProperty |
_enum(Float value) |
FloatProperty |
_enum(List<Float> value) |
boolean |
equals(Object obj) |
FloatProperty |
example(Float example) |
Float |
getDefault() |
List<Float> |
getEnum() |
int |
hashCode() |
static boolean |
isType(String type,
String format) |
FloatProperty |
readOnly() |
void |
setDefault(Float _default) |
void |
setDefault(String _default) |
void |
setEnum(List<Float> _enum) |
void |
setExample(Object example) |
FloatProperty |
vendorExtension(String key,
Object obj) |
FloatProperty |
xml(Xml xml) |
example
exclusiveMaximum, exclusiveMinimum, getExclusiveMaximum, getExclusiveMinimum, getMaximum, getMinimum, getMultipleOf, maximum, minimum, multipleOf, setExclusiveMaximum, setExclusiveMinimum, setMaximum, setMinimum, setMultipleOf
allowEmptyValue, description, getAccess, getAllowEmptyValue, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getVendorExtensions, getXml, rename, setAccess, setAllowEmptyValue, setDescription, setExample, setFormat, setName, setPosition, setReadOnly, setRequired, setTitle, setType, setVendorExtension, setVendorExtensionMap, setVendorExtensions, setXml, title
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
description, getAccess, getAllowEmptyValue, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getVendorExtensions, getXml, rename, setAccess, setAllowEmptyValue, setDescription, setExample, setName, setPosition, setReadOnly, setRequired, setTitle, setXml, title
public static final String FORMAT
protected Float _default
public FloatProperty _enum(Float value)
public FloatProperty _enum(List<Float> value)
public FloatProperty xml(Xml xml)
xml
in class DecimalProperty
public FloatProperty example(Float example)
public void setExample(Object example)
setExample
in interface Property
setExample
in class DecimalProperty
public FloatProperty _default(String _default)
public FloatProperty _default(Float _default)
public FloatProperty vendorExtension(String key, Object obj)
vendorExtension
in class DecimalProperty
public Float getDefault()
public void setDefault(String _default)
setDefault
in interface Property
setDefault
in class AbstractProperty
public void setDefault(Float _default)
public FloatProperty readOnly()
readOnly
in class DecimalProperty
public int hashCode()
hashCode
in class AbstractNumericProperty
public boolean equals(Object obj)
equals
in class AbstractNumericProperty
Copyright © 2019. All Rights Reserved.