%iKnow.Objects.DictionaryItem
Class %iKnow.Objects.DictionaryItem 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 Dictionary Items.
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.Matching.DictionaryAPI and other query classes to consult Dictionary data 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;
DictionaryItemId
Property DictionaryItemId As %Integer;
DictionaryId
Property DictionaryId As %Integer;
Name
Property Name As %String(MAXLEN = 1000);
URI
Property URI As %String(MAXLEN = 1000);
DefaultLanguage
Property DefaultLanguage As %String [ Calculated, SqlComputeCode = {set {DefaultLanguage} = $s({DefaultLanguageId}:$lg($$$IKLANGUAGES,+{DefaultLanguageId}), 1:"") }, SqlComputed ];
DefaultLanguageId
Property DefaultLanguageId As %Integer;
Dictionary
Property Dictionary As %iKnow.Objects.Dictionary [ Calculated, SqlComputeCode = {set {Dictionary} = {DomainId} _"||"_ {DictionaryId}}, SqlComputed ];
Methods
Open
ClassMethod Open(pDomainId As %Integer, pDictionaryItemId As %Integer) As %iKnow.Objects.DictionaryItem
Returns a %iKnow.Objects.DictionaryItem object using the supplied identifiers, resolving negative dictionary Item IDs to the appropriate coordinates for a cross-domain dictionary entry.