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 | |
The Id property determines a repository object identifier. |
Method name | Brief description | |
clone | The clone method creates an object copy. | |
dispose | The dispose method deletes the component. | |
getHashCode | The getHashCode method returns hash code of repository object. | |
getSettings | The getSettings method returns repository object settings. | |
getTypeName | The getTypeName method returns the name of the object type without the namespace, to which it belongs. | |
isEqual | The isEqual method determines whether the specified object is equal to the current repository object. | |
isLive | The isLive method determines validity of repository object. | |
removeAllEvents | The removeAllEvents method removes all object event handlers by the specified context. | |
setSettings | The setSettings method determines repository object settings. | |
defineProps | The defineProps method creates get and set methods from name array for the specified class. | |
keys | The keys method returns array of methods and properties names for the specified object. |
See also: