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 class.
HasChildren The HasChildren property returns whether there are child objects.
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
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

Id

The Id property determines a repository object identifier.

Methods inherited from the class Object

  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.
getId The getId method returns repository object identifier.
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.
setId The setId method determines a repository object identifier.
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:

PP.Mb