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
.
Constructor for a primitive type Edm.SByte
.
new sap.ui.model.odata.type.SByte(oFormatOptions?, oConstraints?)
Param | Type | Default Value | Description |
---|---|---|---|
oFormatOptions? | object | format options as defined in sap.ui.core.format.NumberFormat |
|
oConstraints? | object | constraints; validateValue throws an error if any constraint is violated |
|
nullable? | boolean string | true | if |
Method | Description |
---|---|
sap.ui.model.odata.type.SByte.extend |
Creates a new subclass of class sap.ui.model.odata.type.SByte with name
|
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 |
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.
Param | Type | DefaultValue | Description |
---|---|---|---|
sClassName | string |
Name of the class being created |
|
oClassInfo | object |
Object literal with information about the class |
|
FNMetaImpl | function |
Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class |