MetaSource

Namespace: PP.Ufe;

Inheritance hierarchy

Object

MetaSource

Description

The MetaSource class is a metadata tree model.

Syntax

PP.initClass(PP.Ufe.MetaSource, PP.Mb.Object, "PP.Ufe.MetaSource", [PP.Mb.IElSource]);

Constructor

  Constructor name Brief description
MetaSource The MetaSource constructor creates an instance of the MetaSource class.

Properties

  Property name Brief description
AllowHasData The AllowHasData property determines whether to check if there are new data for model.
AllowSelection The AllowSelection property determines setting of selection for metadata tree model elements.
ChildEls The ChildEls property determines child elements of the tree model parent element.
ChildrenReqCount The ChildrenReqCount property determines the number of tree nodes, which are loaded after the tree is created.
IsDataLoading The IsDataLoading property determines whether all tree model elements are loaded.
TotalCount The TotalCount property determines the number of elements for each model filter.

Methods

  Method name Brief description
getAttributeIndex The getAttributeIndex method returns attribute index.
getAttributes The getAttributes method returns model metadata attributes.
getChildrenCount The getChildrenCount method returns the number of child elements of tree model parent element.
getDefaultFilter The getDefaultFilter method returns basic filter of tree model elements.
getElem The getElem method returns model element by its key.
getElems The getElems method returns loaded tree model elements.
getIsEmpty The getIsEmpty method checks if there are elements in metadata tree model.
getPredefinedAttributeId The getPredefinedAttributeId method returns identifier of attribute by predefined identifier value.
isMdLoaded The isMdLoaded method determines whether tree model contains all required data.
setAllElements The setAllElements method adds new elements to metadata tree model.

Properties inherited from the class Object

  Property name Brief description
Data The Data property associates a random object with this component.
Id The Id property sets component identifier.
Settings The Settings property sets the component parameters.

Methods inherited from the class Object

  Method name Brief description
clone The clone method creates a copy of object. It is not implemented in PP.Ui.Control.
dispose The dispose method deletes the component.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.

See also:

PP.Ufe