Home > Class Reference > ENSLIB namespace > %FileMan.Field
Private  Storage   

%FileMan.Field


persistent class %FileMan.Field extends %Persistent

This file stores the descriptive information for all fields in a file for a FileMan managed database.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 5 2 1


Summary


Properties
CHARACTERISTICS DESCRIPTION FILE NAME
NUMBER

Methods
%AddToSaveSet %AddToSyncSet %BuildIndicesAsync %BuildIndicesAsyncResponse
%CheckConstraints %CheckConstraintsForExtent %ClassIsLatestVersion %ClassName
%ComposeOid %ConstructClone %Delete %DeleteExtent
%DeleteId %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%Exists %ExistsId %Extends %GUID
%GUIDSet %GetLock %GetParameter %GetSwizzleObject
%Id %IsA %IsModified %IsNull
%KillExtent %LockExtent %LockId %New
%NormalizeObject %ObjectIsNull %ObjectModified %Oid
%OnBeforeAddToSync %OnDetermineClass %Open %OpenId
%OriginalNamespace %PackageName %PurgeIndices %Reload
%RemoveFromSaveSet %ResolveConcurrencyConflict %RollBack %Save
%SaveDirect %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject


Parameters


• parameter READONLY = 1;
READONLY = 1 means that objects can be created, opened but not saved or deleted. Tables are projected to SQL as READONLY.

Properties


• property CHARACTERISTICS as %String;
• property DESCRIPTION as list of %String;
• relationship FILE as %FileMan.File [ Inverse = FIELDS,Cardinality = parent ];
• property NAME as %String;
• property NUMBER as %Numeric;

Queries


• query AllFields(file As %Library.String)
SQL Query :
SELECT NUMBER,NAME FROM %FileMan.Field
WHERE "FILE" = :file OR :file IS NULL
ORDER BY NUMBER
• query AllFieldsByName(file As %Library.String)
SQL Query :
SELECT NUMBER,NAME FROM %FileMan.Field
WHERE "FILE" = :file OR :file IS NULL
ORDER BY NAME

Indices


•index (IdKey on NUMBER) [IdKey,PrimaryKey,Unique];