Descriptor

Namespace: PP.Mb;

Inheritance hierarchy

PP.Object

PP.Mb.Descriptor

Description

The Descriptor class is a basic class for all repository objects.

Syntax

PP.initClass(PP.Mb.Descriptor, PP.Object, "Descriptor");

Properties

  Property name Brief description
Class The Class property determines a repository object objects class.
HasChildren The HasChildren property returns whether there are children objects.

Id

The Id property determines repository object identifier.
IsLink The IsLink property returns whether this object is in another repository.
IsShortcut The IsShortcut property returns whether this object is a shortcut to other repository object.
Key The Key property determines a repository object key.
Metadata The Metadata property determines object metadata.
Name The Name property determines object name.

ParentKey

The ParentKey property determines parent object key.
TimeStamp The TimeStamp property determines date and time of the last changing of the repository object.
Visible The Visible property returns whether a repository object is visible.

NOTE. Properties can be used as the set/get methods. Available methods are specified in the specific property description.

Methods

  Method name Brief description
getClass The getClass method returns class of repository object.
getHasChildren The getHasChildren method determines whether an object has child objects.
getIsShortcut The getIsShortcut method indicates whether an object is a shortcut.
getParentKey The getParentKey method returns key of the parent object.
getState The getState method returns object descriptor metadata: values of all properties of the Descriptor class.

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.Mb