DeBold 3.3

By Droopy Eyes Software

Freeware 09 Apr 2006

In category

Bold > Tools > Tools

Description

These components help to make development with Bold for Delphi simpler.

Bold is the MDA (Model Driven Architecture) product which was acquired by Borland in 2003. These components are based on this framework and help the developer performing automatic object validation etc:

  • TdeBoldObjectValidator: Set the BoldObject property, and each time the list of broken constraints alters for that object the OnValidationError event will be called with the appropriate constraint message.
  • TdeBoldHandleValidator: Set the RootHandle property and this component will always validate the RootHandle.CurrentBoldObject. As the CurrentBoldObject in the RootHandle changes (eg, selecting a new item in a TBoldGrid) the new object will be validated instead. As with the TdeBoldObjectValidator the event OnValidatationError will be called for each broken constraint.
  • TdeBoldFormSaverValidator: Set the BoldFormSaver property and this component and all objects in the BoldFormSaverx92s DirtyObjects list will be validated against their constraints. Each time an object is added/removed from the list, or the broken constraints list in any of the contained objects is altered the OnValidation event is called. This event tells you if all objects are valid or not (this is useful for enabling/disabling controls/actions which call BoldFormSaver.OK).
  • TdeBoldAutoIncManager: Point your TBoldSystemHandle.PersistenceHandle to this component, and then set the NextPersistenceHandle property of this component to your real component. This AutoIncManager component will request auto-inc values from an AutoIncProvider (described below) for any Integer attribute with a tagged value deBold.AutoIncId.
  • TdeBoldAutoIncProvider: This component is referenced from a TdeBoldAutoIncManager. It provides an auto-inc value in a generic manner or a manner specific to a certain DB.
  • TdeBoldObjectPrivilegeManager: This component is the main component for managing security. It makes use of a "Provider" component to grant/deny permissions.
  • deBoldObjectPrivilegeProvider: Provides grant/deny information to the security manager, this component exposes events to allow the programmer to handle requests using Delphi code.
  • TdeBoldOCLObjectPrivilegeProvider: Provides grant/deny information to the security manager, this component evaluates OCL expressions agains the object in question in order to return a True/False result.
  • TdeBoldModelledObjectPrivilegeProvider: This component is identical to the TdeBoldOCLObjectPrivilegeProvider component except that it fetches its OCL expressions from a database.

Informations

  • Status: Fully functional
  • Source: FW
  • Size: 318 780kB

Platforms:

  • Delphi 2005 (VCL)
  • Delphi 2006 (Win32)
  • Delphi 7

Downloads