Class sap.ui.model.odata.type.SByteModule: sap/ui/model/odata/type/SByte

extends Int

This class represents the OData primitive type Edm.SByte.

In both sap.ui.model.odata.v2.ODataModel and sap.ui.model.odata.v4.ODataModel this type is represented as a number.


Since: 1.27.0.
Constructor Summary
new sap.ui.model.odata.type.SByte(oFormatOptions?, oConstraints?)Constructor for a primitive type Edm.SByte.
Method Summary
sap.ui.model.odata.type.SByte.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.model.odata.type.SByte with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.model.odata.type.SByte.getMetadata()Returns a metadata object for class sap.ui.model.odata.type.SByte.
getName()Returns the type's name.
getRange()Returns the type's supported range as object with properties minimum and maximum.
Methods borrowed from class sap.ui.base.Object
Constructor Detail
new sap.ui.model.odata.type.SByte(oFormatOptions?, oConstraints?)
Constructor for a primitive type Edm.SByte.
Parameters:
{object}oFormatOptions? format options as defined in sap.ui.core.format.NumberFormat
{object}oConstraints? constraints; validateValue throws an error if any constraint is violated
{boolean|string}oConstraints.nullable?, Default: true if true, the value null is accepted
Method Detail
sap.ui.model.odata.type.SByte.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.model.odata.type.SByte 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.odata.type.Int.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.odata.type.SByte.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.model.odata.type.SByte.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getName(): string
Returns the type's name.
Returns:
{string} the type's name
getRange(): object
Returns the type's supported range as object with properties minimum and maximum.
Returns:
{object} the range