%iKnow.Objects.DictionaryTerm
Class %iKnow.Objects.DictionaryTerm 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 Terms.
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;
DictionaryTermId
Property DictionaryTermId As %Integer;
DictionaryId
Property DictionaryId As %Integer;
DictionaryItemId
Property DictionaryItemId As %Integer;
String
Property String As %String(MAXLEN = 2000);
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 ];
DictionaryItem
Property DictionaryItem As %iKnow.Objects.DictionaryItem [ Calculated, SqlComputeCode = {set {DictionaryItem} = {DomainId} _"||"_ {DictionaryItemId}}, SqlComputed ];
Methods
Open
ClassMethod Open(pDomainId As %Integer, pDictionaryTermId As %Integer) As %iKnow.Objects.DictionaryTerm
Returns a %iKnow.Objects.DictionaryTerm object using the supplied identifiers, resolving negative dictionary Term IDs to the appropriate coordinates for a cross-domain dictionary entry.