class sap.ui.model.type.Boolean

Control sample: sap.ui.model.type.Boolean
Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/model/type/Boolean
Application Component: CA-UI5-COR

This class represents boolean simple types.


Constructor

Constructor for a Boolean type.

new sap.ui.model.type.Boolean(oFormatOptions?, oConstraints?)
Param Type Default Value Description
oFormatOptions? object

Format options as defined in the interface of sap.ui.model.SimpleType; this type ignores them, since it does not support any format options

oConstraints? object

Constraints as defined in the interface of sap.ui.model.SimpleType; this type ignores them, since it does not support any constraints


Methods Overview

Method Description
sap.ui.model.type.Boolean.extend

Creates a new subclass of class sap.ui.model.type.Boolean 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.

sap.ui.model.type.Boolean.getMetadata

Returns a metadata object for class sap.ui.model.type.Boolean.

sap.ui.model.type.Boolean.extend

Creates a new subclass of class sap.ui.model.type.Boolean 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.

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

sap.ui.model.type.Boolean.getMetadata

Returns a metadata object for class sap.ui.model.type.Boolean.