Package io.swagger.models.properties
Class BaseIntegerProperty
- java.lang.Object
-
- io.swagger.models.properties.AbstractProperty
-
- io.swagger.models.properties.AbstractNumericProperty
-
- io.swagger.models.properties.BaseIntegerProperty
-
- Direct Known Subclasses:
IntegerProperty,LongProperty
public class BaseIntegerProperty extends AbstractNumericProperty
TheBaseIntegerPropertyclass defines property for integers without specific format, or with a custom format.
-
-
Field Summary
Fields Modifier and Type Field Description static StringTYPE-
Fields inherited from class io.swagger.models.properties.AbstractNumericProperty
exclusiveMaximum, exclusiveMinimum, maximum, minimum, multipleOf
-
Fields inherited from class io.swagger.models.properties.AbstractProperty
access, allowEmptyValue, booleanValue, description, example, format, name, position, readOnly, required, title, type, vendorExtensions, xml
-
-
Constructor Summary
Constructors Constructor Description BaseIntegerProperty()BaseIntegerProperty(String format)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanisType(String type, String format)voidsetExample(Object example)-
Methods inherited from class io.swagger.models.properties.AbstractNumericProperty
equals, exclusiveMaximum, exclusiveMinimum, getExclusiveMaximum, getExclusiveMinimum, getMaximum, getMinimum, getMultipleOf, hashCode, maximum, minimum, multipleOf, setExclusiveMaximum, setExclusiveMinimum, setMaximum, setMinimum, setMultipleOf
-
Methods inherited from class io.swagger.models.properties.AbstractProperty
allowEmptyValue, description, getAccess, getAllowEmptyValue, getBooleanValue, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getVendorExtensions, getXml, readOnly, rename, setAccess, setAllowEmptyValue, setBooleanValue, setDefault, setDescription, setExample, setFormat, setName, setPosition, setReadOnly, setRequired, setTitle, setType, setVendorExtension, setVendorExtensionMap, setVendorExtensions, setXml, title
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.swagger.models.properties.Property
description, getAccess, getAllowEmptyValue, getBooleanValue, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getVendorExtensions, getXml, rename, setAccess, setAllowEmptyValue, setBooleanValue, setDefault, setDescription, setExample, setName, setPosition, setReadOnly, setRequired, setTitle, setXml, title
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BaseIntegerProperty
public BaseIntegerProperty()
-
BaseIntegerProperty
public BaseIntegerProperty(String format)
-
-
Method Detail
-
setExample
public void setExample(Object example)
- Specified by:
setExamplein interfaceProperty- Overrides:
setExamplein classAbstractProperty
-
-