Class sap.ui.base.MetadataModule: sap/ui/base/Metadata
Metadata for a class.
Since: 0.8.6.
Constructor Summary
new sap.ui.base.Metadata(sClassName, oClassInfo)Creates a new metadata object from the given static infos.
Method Summary
getAllPublicMethods()Returns an array with the names of all public methods declared by the described class and its ancestors.
getParent()Returns the metadata object of the base class of the described class or null if the class has no (documented) base class.
getPublicMethods()Returns an array with the names of the public methods declared by the described class.
isInstanceOf(sInterface)Checks whether the described class or one of its ancestor classes implements the given interface.
Constructor Detail
new sap.ui.base.Metadata(sClassName, oClassInfo)
Creates a new metadata object from the given static infos.
Note: throughout this class documentation, the described subclass of Object is referenced as the described class.
Parameters:
{string} | sClassName | fully qualified name of the described class |
{object} | oClassInfo | info to construct the class and its metadata from |
Method Detail
getAllPublicMethods(): string[]
Returns an array with the names of all public methods declared by the described class and its ancestors.
Returns:
{string[]} | array with names of all public methods provided by the described class and its ancestors |
getClass(): function
Returns the (constructor of the) described class
Returns:
{function} | class described by this metadata |
getName(): string
Returns the fully qualified name of the described class
Returns:
{string} | name of the described class |
getParent(): sap.ui.base.Metadata
Returns the metadata object of the base class of the described class or null if the class has no (documented) base class.
Returns:
{sap.ui.base.Metadata} | metadata of the base class |
getPublicMethods(): string[]
Returns an array with the names of the public methods declared by the described class.
Returns:
{string[]} | array with names of public methods declared by the described class |
isAbstract(): boolean
Returns whether the described class is abstract
Returns:
{boolean} | whether the class is abstract |
isDeprecated(): boolean
Whether the described class is deprecated and should not be used any more
- Since:
- 1.26.4
Returns:
{boolean} | whether the class is considered deprecated |