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.
getClass()Returns the (constructor of the) described class
getName()Returns the fully qualified name of the described class
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.
isAbstract()Returns whether the described class is abstract
isDeprecated()Whether the described class is deprecated and should not be used any more
isFinal()Returns whether the described class is final
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:
stringsClassNamefully qualified name of the described class
objectoClassInfoinfo 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:
functionclass described by this metadata
getName(): string
Returns the fully qualified name of the described class
Returns:
stringname 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.Metadatametadata 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:
booleanwhether the class is abstract
isDeprecated(): boolean
Whether the described class is deprecated and should not be used any more
Returns:
booleanwhether the class is considered deprecated
Since:
1.26.4
isFinal(): boolean
Returns whether the described class is final
Returns:
booleanwhether the class is final
isInstanceOf(sInterface): boolean
Checks whether the described class or one of its ancestor classes implements the given interface.
Parameters:
stringsInterfacename of the interface to test for (in dot notation)
Returns:
booleanwhether this class implements the interface