Class sap.ui.model.type.IntegerModule: sap/ui/model/type/Integer

extends SimpleType

This class represents integer simple types.

Constructor Summary
new sap.ui.model.type.Integer(oFormatOptions?, oConstraints?)Constructor for a Integer type.
Method Summary
sap.ui.model.type.Integer.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.model.type.Integer with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.model.type.Integer.getMetadata()Returns a metadata object for class sap.ui.model.type.Integer.
Methods borrowed from class sap.ui.model.Type
Methods borrowed from class sap.ui.base.Object
Constructor Detail
new sap.ui.model.type.Integer(oFormatOptions?, oConstraints?)
Constructor for a Integer type.
Parameters:
{object}oFormatOptions? formatting options. Supports the same options as NumberFormat.getIntegerInstance
{object}oFormatOptions.source? additional set of format options to be used if the property in the model is not of type string and needs formatting as well. In case an empty object is given, the default is disabled grouping and a dot as decimal separator.
{object}oConstraints? value constraints.
{int}oConstraints.minimum? smallest value allowed for this type
{int}oConstraints.maximum? largest value allowed for this type
Method Detail
sap.ui.model.type.Integer.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.model.type.Integer with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.ui.model.SimpleType.extend.

Parameters:
{string}sClassName Name of the class being created
{object}oClassInfo? Object literal with information about the class
{function}FNMetaImpl? Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata
Returns:
{function} Created class / constructor function
sap.ui.model.type.Integer.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.model.type.Integer.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class