Home > Class Reference > ENSLIB namespace > %iKnow.Objects.MetadataValue

%iKnow.Objects.MetadataValue

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 Cache 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 (Including Private)

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 (Including Private)

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(), FieldIdDisplayToLogical(), FieldIdGet(), FieldIdIsValid(), FieldIdLogicalToDisplay(), FieldIdNormalize(), FieldIdSet(), 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(), ValueInternalDisplayToLogical(), ValueInternalGet(), ValueInternalIsValid(), ValueInternalLogicalToDisplay(), ValueInternalLogicalToOdbc(), ValueInternalNormalize(), ValueInternalSet(), 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 (Including Private)