Namespace: PP.Ufe;
MetaSource
The MetaSource class is a metadata tree model.
PP.initClass(PP.Ufe.MetaSource, PP.Mb.Object, "PP.Ufe.MetaSource", [PP.Mb.IElSource]);
| Constructor name | Brief description | |
| MetaSource | The MetaSource constructor creates an instance of the MetaSource class. |
| 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. |
| 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. |
| 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. |
| 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: