THYBaseDescriptor

Overview

This is the base class for Hydra descriptor objects.

These objects are used across the Hydra framework as sub-properties of objects that require version information.

Location


 

constructor Create  overload

Creates a new instance of the class.

constructor Create

constructor Create (string, Integer, Integer, string, string, string)  overload

Creates an instance of the object with specifed parameters.

constructor Create(const aName: string; aMajorVersion: Integer; aMinorVersion: Integer; const aRequiredPrivilege: string; const aDescription: string; const aUserData: string)

Parameters:

  • aName: Name of the object.
  • aMajorVersion: Major version number.
  • aMinorVersion: Minor version number.
  • aRequiredPrivilege: Plrivileges reuiqred to use this object.
  • aDescription: Description of the object.
  • aUserData: User defined data.

Assign  override

Copies the properties of a source object.

procedure Assign(Source: TPersistent)

Parameters:

  • Source: Source object.

Description

User defined description.

property Description: string read write

MajorVersion

Gets or sets major version number.

property MajorVersion: Integer read write

MinorVersion

Gets or sets minor version number.

property MinorVersion: Integer read write

Name

Gets or sets name of an object.

property Name: string read write

RequiredPrivilege

Gets or sets user defined string that holds privilages that is required to use an object.

property RequiredPrivilege: string read write

UserData

Gets or sets string that holds user defined data.

property UserData: string read write

 

Description

User defined description.

property Description: string read write

MajorVersion

Gets or sets major version number.

property MajorVersion: Integer read write

MinorVersion

Gets or sets minor version number.

property MinorVersion: Integer read write

Name

Gets or sets name of an object.

property Name: string read write

RequiredPrivilege

Gets or sets user defined string that holds privilages that is required to use an object.

property RequiredPrivilege: string read write

UserData

Gets or sets string that holds user defined data.

property UserData: string read write

 

constructor Create  overload

Creates a new instance of the class.

constructor Create

constructor Create (string, Integer, Integer, string, string, string)  overload

Creates an instance of the object with specifed parameters.

constructor Create(const aName: string; aMajorVersion: Integer; aMinorVersion: Integer; const aRequiredPrivilege: string; const aDescription: string; const aUserData: string)

Parameters:

  • aName: Name of the object.
  • aMajorVersion: Major version number.
  • aMinorVersion: Minor version number.
  • aRequiredPrivilege: Plrivileges reuiqred to use this object.
  • aDescription: Description of the object.
  • aUserData: User defined data.

Assign  override

Copies the properties of a source object.

procedure Assign(Source: TPersistent)

Parameters:

  • Source: Source object.

 

  • THYModuleController
  • THYPluginFactory