Skip to main content

%iKnow.Objects.MetadataField

Class %iKnow.Objects.MetadataField Extends %Persistent [ Deprecated, StorageStrategy = iKnowStorage, System = 4 ]

Note: the use of this class is no longer recommended for accessing elements of a specific domain. For those scenarios, %iKnow.Tables.Utils offers a more flexible and customizable way of projecting iKnow domain data to SQL

This is a read-only object representation wrapping the internal iKnow data structures for Metadata fields.

This class can be used from ObjectScript or SQL to access a single or small number of entries, but the storage mappings are not meant to support elaborate or complex queries targeting this SQL table.

Please use the predefined queries in %iKnow.Queries.MetadataAPI and other query classes to consult metadata as the internal global structures are designed to optimize performance for these queries rather than general-purpose access.

Parameters

READONLY

Parameter READONLY = 1;

Properties

DomainId

Property DomainId As %Integer;

FieldId

Property FieldId As %Integer;

Name

Property Name As %String(MAXLEN = 1000);

SupportedOperators

Property SupportedOperators As %String [ Calculated, SqlComputeCode = { set {SupportedOperators} = $lts($lg(^IRIS.IK.Mdt.FieldId({DomainId},{FieldId}),2))}, SqlComputed ];

HasBitstringStorage

Property HasBitstringStorage As %Boolean [ Calculated, SqlComputeCode = { set {HasBitstringStorage} = {StorageType}#2 }, SqlComputed ];

StorageType

Property StorageType As %Integer;

DataType

Property DataType As %String;

IsCaseSensitive

Property IsCaseSensitive As %Boolean;

ListOfValuesId

Property ListOfValuesId As %Integer;

ValidateListOfValues

Property ValidateListOfValues As %Boolean;

Hidden

Property Hidden As %Boolean;