[Overview][Resource strings][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'tiObject' (#tiopf)

TtiFieldAbs

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Abstract persistent field for use with TtiObject

Declaration

Source position: tiObject.pas line 101

type TtiFieldAbs = class(TtiBaseObject) end;

protected

  procedure Clear; virtual;

  procedure SetValue; virtual;

  procedure SetAsString(); virtual; abstract;

  function GetAsString; virtual; abstract;

  function GetFieldName; virtual;

  procedure SetFieldName(); virtual;

public

  constructor Create();

  function IsValidValue(); virtual;

  function Equals(); virtual; abstract;

  procedure Assign(); virtual; abstract;

  property Owner: TtiObject; [r]

  property FieldName: string; [rw]

  property NullValidation: TtiNullValidation; [rw]

  property AsString: string; [rw]

  property IsNull: Boolean; [rw]

Inheritance

TtiFieldAbs

  

Abstract persistent field for use with TtiObject

|

TtiBaseObject,IInterface

|

TObject

Description

Abstract persistent field for use with TtiObject. The usual way to add data to TtiObjectis with published properties. These can be simple data types (String, Integer, Float, DateTime) or object data types that you define. Simple data types will not handle NULL values so if NULL management is required, you should use persistent fields. Using persistent fields however, makes the code more complex and harder to maintain.


Documentation generated on: 2017-08-16