TBoldMetaElement¶
The superclass of all elements holding information describing the Bold system
Unit: BoldElements
Declaration¶
Hierarchy¶
- TObject
TBoldMemoryManagedObjectTBoldFlaggedObject- TBoldSubscribableObject
- TBoldElement
- TBoldMetaElement
- Direct subclasses
- TBoldElementTypeInfo
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¶
The DelphiName is the Delphi-identifier representing the meta element.
ExpressionName¶
The ExpressionName is the name used in ocl-expressions for the metaelement.
ModelName¶
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¶
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.