[Overview][Resource strings][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Abstract persistent field for use with TtiObject
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 FieldName: string; [rw] |
property NullValidation: TtiNullValidation; [rw] |
property AsString: string; [rw] |
property IsNull: Boolean; [rw] |
|
Abstract persistent field for use with TtiObject |
|
| | ||
TtiBaseObject,IInterface |
||
| | ||
TObject |
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.