Skip to main content

%iKnow.Objects.MetadataValue

deprecated persistent class %iKnow.Objects.MetadataValue extends %Library.Persistent

SQL Table Name: %iKnow_Objects.MetadataValue

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 field values.

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.

Property Inventory

Parameters

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

Properties

property DomainId as %Integer [ Required ];
Property methods: DomainIdDisplayToLogical(), DomainIdGet(), DomainIdIsValid(), DomainIdLogicalToDisplay(), DomainIdNormalize(), DomainIdSet()
property Field as %iKnow.Objects.MetadataField [ Calculated ];
Property methods: FieldCompute(), FieldGet(), FieldGetObject(), FieldGetObjectId(), FieldSQLCompute()
property FieldId as %Integer [ Required ];
Property methods: FieldIdDisplayToLogical(), FieldIdGet(), FieldIdIsValid(), FieldIdLogicalToDisplay(), FieldIdNormalize(), FieldIdSet()
property SourceId as %Integer [ Required ];
Property methods: SourceIdDisplayToLogical(), SourceIdGet(), SourceIdIsValid(), SourceIdLogicalToDisplay(), SourceIdNormalize(), SourceIdSet()
property Value as %String (MAXLEN = 2000) [ Calculated ];
Property methods: ValueCompute(), ValueDisplayToLogical(), ValueGet(), ValueIsValid(), ValueLogicalToDisplay(), ValueLogicalToOdbc(), ValueNormalize(), ValueSQLCompute()

Indexes

index (PKINDEX on DomainId,SourceId,FieldId) [IdKey, PrimaryKey, Type = key, Unique];
Index methods: PKINDEXCheck(), PKINDEXDelete(), PKINDEXExists(), PKINDEXOpen(), PKINDEXSQLCheckUnique(), PKINDEXSQLExists(), PKINDEXSQLFindPKeyByConstraint(), PKINDEXSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: SQLStorage

Maps: 1

  • Map number 1 is named MainMap

    thismap.Global: ^IRIS.IK.Mdt.Values

  • ^IRIS.IK.Mdt.Values({DomainId},{SourceId},{FieldId})
    =
    Node Delimiter Piece Name
    ValueInternal
FeedbackOpens in a new tab