TRODLComplexEntity

Overview

The TRODLComplexEntity class is the base class for all list structures in the RODL file.

Location

 

constructor Create  override

Creates a new instance with a unique GUID.

constructor Create

Abstract

Equals true if the current TRODLComplexEntity object describes abstract objects, otherwise equals false.

property Abstract: boolean read write

Add  overload virtual

Adds a new object to the Items collection.

function Add: TRODLEntity

Add (TRODLEntity): integer  overload virtual

Adds specified object to the Items collection.

function Add(anEntity: TRODLEntity): integer

Parameters:

  • anEntity:

Assign  virtual    (declared in TRODLEntity)

Copies data from a given source.

procedure Assign(const Source: TRODLEntity)

Parameters:

  • Source: Instance whose properties will be copied

Attributes    (declared in TRODLEntity)

List of strings that represents object attributes.

property Attributes: TStrings read write

AutoCreateParams

Equals true if the described object has the ability to autocreate fields, otherwise equals false.

property AutoCreateParams: boolean read write

Clear  virtual

Clears the Items collection.

procedure Clear

ContainsEntity

Returns true if the aEntity object is found in the Items collection. If aRecurse is true, it searches recursively on all objects in the Items collection. By default, aRecurse is true.

function ContainsEntity(aEntity: TRODLEntity; aRecurse: boolean): boolean

Parameters:

  • aEntity: Object;
  • aRecurse: If true, the method searches recursively on all objects;

Count

Count of items in the Items collection.

property Count: integer read write

Data    (declared in TRODLEntity)

Object associated with the current TRODLEntity object. This property is needed to hold custom application-specific data at runtime for application coding convenience.

property Data: TObject read write

Delete  virtual

Deletes items with the specified Index from the Items collection.

procedure Delete(Index: integer)

Parameters:

  • Index: Index of item that will be deleted;

Documentation    (declared in TRODLEntity)

Description of the current object.

property Documentation: UnicodeString read write

DontCodegen    (declared in TRODLEntity)

property DontCodegen: boolean read write

Exchange  virtual

Exchanges two items in Items collection.

procedure Exchange(Index1: integer; Index2: integer)

Parameters:

  • Index1: First item index;
  • Index2: Second item index;

GetDontCodegen  protected virtual    (declared in TRODLEntity)

function GetDontCodegen: boolean

GroupUnder    (declared in TRODLEntity)

If the object is contained in group, this property returns the group object, otherwise it returns nil.

property GroupUnder: TRODLGroup read write

Info    (declared in TRODLEntity)

The TRODLEntity object that is associated with the current object. It is needed for backwards compatibility.

property Info: TRODLEntity read write

Insert (integer): TRODLEntity  overload virtual

Inserts a new object to the Items collection in the specified aIndex position.

function Insert(aIndex: integer): TRODLEntity

Parameters:

  • aIndex:

Insert (integer, TRODLEntity)  overload virtual

Inserts an anEntity object to the Items collection in the specified aIndex position.

procedure Insert(aIndex: integer; anEntity: TRODLEntity)

Parameters:

  • aIndex:
  • anEntity:

InUse    (declared in TRODLEntity)

property InUse: TRODLUseList read write

InUseCount    (declared in TRODLEntity)

property InUseCount: integer read write

IsFromUsedRodl    (declared in TRODLEntity)

Indicates when a class refers to the linked RODL file. The linked RODL file is declared in the section Uses of the current RODL file.

property IsFromUsedRodl: boolean read write

ItemByName

Returns the item with the specified aName name in the Items collection.

function ItemByName(const aName: string): TRODLEntity

Parameters:

  • aName:

ItemByUID

Returns the item with the specified aUID UID in the Items collection.

function ItemByUID(const aUID: TGUID): TRODLEntity

Parameters:

  • aUID:

ItemClass

Contains the class name of the current object.

property ItemClass: TRODLEntityClass read write

Items

Contains the collection of TRODLEntity objects.

property Items[Index: integer]: TRODLEntity read write

LocatedInRodlUse    (declared in TRODLEntity)

Detailed info about the RODL that is using the current TRODLEntity object.

property LocatedInRodlUse: TRODLUse read write

Name    (declared in TRODLEntity)

The Name of the current TRODLEntity object.

property Name: string read write

OriginalName    (declared in TRODLEntity)

The OriginalName of the current TRODLEntity object. If the private variable fOriginalName is not defined, OriginalName equals Name.

property OriginalName: string read write

Owner    (declared in TRODLEntity)

The Owner of the current TRODLEntity object.

property Owner: TRODLEntity read write

OwnerLibrary    (declared in TRODLEntity)

The owner library of the current object.

property OwnerLibrary: TRODLLibrary read write

ReadableEntityTypeName    (declared in TRODLEntity)

Returns the class name without the prefix 'TRODL'.

class function ReadableEntityTypeName: string

Remove  virtual

Removes the specified object from the Items collection.

procedure Remove(anEntity: TRODLEntity)

Parameters:

  • anEntity: Object that will be removed;

Sort

Sorts items in Items collection.

procedure Sort

UID    (declared in TRODLEntity)

Unique identifier.

property UID: TGUID read write

UniqueName

Generates unique names based on the aBaseName.

function UniqueName(aBaseName: string): string

Parameters:

  • aBaseName:

Validate  override

Validates the current object.

procedure Validate(iMessages: IROPluginMessages)

Parameters:

  • iMessages: plugin

 

Abstract

Equals true if the current TRODLComplexEntity object describes abstract objects, otherwise equals false.

property Abstract: boolean read write

Attributes    (declared in TRODLEntity)

List of strings that represents object attributes.

property Attributes: TStrings read write

AutoCreateParams

Equals true if the described object has the ability to autocreate fields, otherwise equals false.

property AutoCreateParams: boolean read write

Count

Count of items in the Items collection.

property Count: integer read write

Data    (declared in TRODLEntity)

Object associated with the current TRODLEntity object. This property is needed to hold custom application-specific data at runtime for application coding convenience.

property Data: TObject read write

Documentation    (declared in TRODLEntity)

Description of the current object.

property Documentation: UnicodeString read write

DontCodegen    (declared in TRODLEntity)

property DontCodegen: boolean read write

GroupUnder    (declared in TRODLEntity)

If the object is contained in group, this property returns the group object, otherwise it returns nil.

property GroupUnder: TRODLGroup read write

Info    (declared in TRODLEntity)

The TRODLEntity object that is associated with the current object. It is needed for backwards compatibility.

property Info: TRODLEntity read write

InUse    (declared in TRODLEntity)

property InUse: TRODLUseList read write

InUseCount    (declared in TRODLEntity)

property InUseCount: integer read write

IsFromUsedRodl    (declared in TRODLEntity)

Indicates when a class refers to the linked RODL file. The linked RODL file is declared in the section Uses of the current RODL file.

property IsFromUsedRodl: boolean read write

ItemClass

Contains the class name of the current object.

property ItemClass: TRODLEntityClass read write

Items

Contains the collection of TRODLEntity objects.

property Items[Index: integer]: TRODLEntity read write

LocatedInRodlUse    (declared in TRODLEntity)

Detailed info about the RODL that is using the current TRODLEntity object.

property LocatedInRodlUse: TRODLUse read write

Name    (declared in TRODLEntity)

The Name of the current TRODLEntity object.

property Name: string read write

OriginalName    (declared in TRODLEntity)

The OriginalName of the current TRODLEntity object. If the private variable fOriginalName is not defined, OriginalName equals Name.

property OriginalName: string read write

Owner    (declared in TRODLEntity)

The Owner of the current TRODLEntity object.

property Owner: TRODLEntity read write

OwnerLibrary    (declared in TRODLEntity)

The owner library of the current object.

property OwnerLibrary: TRODLLibrary read write

UID    (declared in TRODLEntity)

Unique identifier.

property UID: TGUID read write

 

ReadableEntityTypeName    (declared in TRODLEntity)

Returns the class name without the prefix 'TRODL'.

class function ReadableEntityTypeName: string

 

constructor Create  override

Creates a new instance with a unique GUID.

constructor Create

Add  overload virtual

Adds a new object to the Items collection.

function Add: TRODLEntity

Add (TRODLEntity): integer  overload virtual

Adds specified object to the Items collection.

function Add(anEntity: TRODLEntity): integer

Parameters:

  • anEntity:

Assign  virtual    (declared in TRODLEntity)

Copies data from a given source.

procedure Assign(const Source: TRODLEntity)

Parameters:

  • Source: Instance whose properties will be copied

Clear  virtual

Clears the Items collection.

procedure Clear

ContainsEntity

Returns true if the aEntity object is found in the Items collection. If aRecurse is true, it searches recursively on all objects in the Items collection. By default, aRecurse is true.

function ContainsEntity(aEntity: TRODLEntity; aRecurse: boolean): boolean

Parameters:

  • aEntity: Object;
  • aRecurse: If true, the method searches recursively on all objects;

Delete  virtual

Deletes items with the specified Index from the Items collection.

procedure Delete(Index: integer)

Parameters:

  • Index: Index of item that will be deleted;

Exchange  virtual

Exchanges two items in Items collection.

procedure Exchange(Index1: integer; Index2: integer)

Parameters:

  • Index1: First item index;
  • Index2: Second item index;

GetDontCodegen  protected virtual    (declared in TRODLEntity)

function GetDontCodegen: boolean

Insert (integer): TRODLEntity  overload virtual

Inserts a new object to the Items collection in the specified aIndex position.

function Insert(aIndex: integer): TRODLEntity

Parameters:

  • aIndex:

Insert (integer, TRODLEntity)  overload virtual

Inserts an anEntity object to the Items collection in the specified aIndex position.

procedure Insert(aIndex: integer; anEntity: TRODLEntity)

Parameters:

  • aIndex:
  • anEntity:

ItemByName

Returns the item with the specified aName name in the Items collection.

function ItemByName(const aName: string): TRODLEntity

Parameters:

  • aName:

ItemByUID

Returns the item with the specified aUID UID in the Items collection.

function ItemByUID(const aUID: TGUID): TRODLEntity

Parameters:

  • aUID:

Remove  virtual

Removes the specified object from the Items collection.

procedure Remove(anEntity: TRODLEntity)

Parameters:

  • anEntity: Object that will be removed;

Sort

Sorts items in Items collection.

procedure Sort

UniqueName

Generates unique names based on the aBaseName.

function UniqueName(aBaseName: string): string

Parameters:

  • aBaseName:

Validate  override

Validates the current object.

procedure Validate(iMessages: IROPluginMessages)

Parameters:

  • iMessages: plugin

Descendants