Skip to content

TBoldMetaElement

The superclass of all elements holding information describing the Bold system

Unit: BoldElements

Declaration

TBoldMetaElement = class(TBoldElement)

Hierarchy

  1. TObject
  2. TBoldMemoryManagedObject
  3. TBoldFlaggedObject
  4. TBoldSubscribableObject
  5. TBoldElement
  6. TBoldMetaElement
  7. Direct subclasses
  8. TBoldElementTypeInfo
  9. TBoldMetaElementWithConstraint

Description

TBoldMetaElement is the superclass of all elements holding information describing the Bold system as such. Its sibling class TBoldDomainElement is the superclass for all classes representing the information held by the Bold system.

Properties

Name Summary Notes
DelphiName The DelphiName is the Delphi-identifier representing the meta element. read-only
ExpressionName The ExpressionName is the name used in ocl-expressions for the metaelement. read-only
ModelName Name of the original model element read-only

DelphiName

property DelphiName: string;

The DelphiName is the Delphi-identifier representing the meta element.

ExpressionName

property ExpressionName: string;

The ExpressionName is the name used in ocl-expressions for the metaelement.

ModelName

property ModelName: string;

This is the name of the original model element.

Methods

Name Summary Notes
Create Constructor
DefaultSubscribe Overrides TBoldElement.DefaultSubscribe. override
GetAsList Overrides TBoldElement.GetAsList. override
GetStringRepresentation Overrides TBoldElement.GetStringRepresentation. protected, override
IsEqualAs Overrides TBoldElement.IsEqualAs. override

Create

constructor Create(const ModelName: string; const ExpressionName: string; const DelphiName: string);

Constructor

DefaultSubscribe

procedure DefaultSubscribe(Subscriber: TBoldSubscriber; RequestedEvent: TBoldEvent = breReEvaluate); override; See also Ancestor Method

Since MetaElements are always immutable, and are only destroyed when the system is destroyed, it is not possible to subscribe to meta elements.

GetAsList

procedure GetAsList(ResultList: TBoldIndirectElement); override; See also Ancestor Method

There is currently no subclass of TBoldList that supports meta-elements. Calling GetAsList on a meta element will raise an exception.

GetStringRepresentation

function GetStringRepresentation(Representation: TBoldRepresentation): string; override; See also Ancestor Method

Overrides GetStringRepresentation

IsEqualAs

function IsEqualAs(CompareType: TBoldCompareType; BoldElement: TBoldElement): Boolean; override; See also Ancestor Method

Overrides IsEqualAs


Generated from the Bold 4.0 help (Help/BfD.chm) by Tools/chm2mkdocs.py; member lists reflect Bold 4.0, see the source for members added since.