Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / %iKnow.Model.dictionaryExternalColumn
Private  Storage   

%iKnow.Model.dictionaryExternalColumn


class %iKnow.Model.dictionaryExternalColumn extends
%iKnow.Model.node

Model representation for columns in an external dictionary content source. Each column represents an attribute of the dictionary, item or terms, as specified by the role property.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 5 1


Summary


Properties
external fixedValue position role stripQuotes

Methods
%AddToSaveSet %BindExport %ClassIsLatestVersion %ClassName
%ConstructClone %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%Extends %GetParameter %IsA %IsModified
%New %NormalizeObject %ObjectModified %OriginalNamespace
%PackageName %QuoteList %QuoteValue %QuoteValueL10N
%RemoveFromSaveSet %SerializeObject %SetModified %Validate
%ValidateObject XMLDTD XMLExport XMLExportToStream
XMLExportToString XMLNew XMLSchema XMLSchemaNamespace
XMLSchemaType


Parameters


• parameter XMLNAME = "column";
This parameter provides the default XMLNAME for the class. If it is empty then the class name will be used to construct a default XML name. The default XMLNAME is used as the top level tag when exporting objects and the export context did not provide an XML container name.

Properties


• relationship external as %iKnow.Model.dictionaryExternal(XMLPROJECTION="none") [ Inverse = columns,Cardinality = one ];
Link to the <matching> element this dictionary belongs to.
• property fixedValue as %String(XMLPROJECTION="ATTRIBUTE");
As an alternative to a position within the file or query result set, fixedValue allows hardcoding a particular value.
• property position as %Integer(XMLPROJECTION="ATTRIBUTE");
The position of the column in the file or query result set to be loaded
• property role as %String(VALUELIST=",dictionary name,dictionary description,item name,item URI,term,language",XMLPROJECTION="ATTRIBUTE");
The type of content this <column> contains, to be used for creating dictionary content. Each possible value can only be listed once, with the exception of "term", which can occur any number of times (>0) to simplify adding multiple columns as dictionary terms. The "term", "dictionary name" and "item URI" roles must be supplied for this <external> element to be valid.
• property stripQuotes as %Boolean(XMLPROJECTION="ATTRIBUTE") [ InitialExpression = 1 ];
If referring to a column in a CSV file, this boolean defines whether or not to strip quotes surrounding the actual value of that column.

Methods


• method %Validate(pDomainId As %Integer, pDomainDefinition As %iKnow.Model.domain) as %Status