Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [%SYS] >  [%FileMan] >  [Field]
Private  Storage   

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 %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];


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.