DocBook|Search
Class Reference
%iKnow.KB.Knowledgebase
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [USER] >  [%iKnow] >  [KB] >  [Knowledgebase]
Private  Storage  

persistent class %iKnow.KB.Knowledgebase extends %Persistent, %XML.Adaptor

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 37 1


Summary

Properties
ConceptLabel Hash Name

Methods
%%OIDGet %AddToSaveSet %AddToSyncSet %BMEBuilt
%BuildIndices %CheckUnique %ClassIsLatestVersion %ClassName
%ComposeOid %ConstructClone %Delete %DeleteExtent
%DeleteId %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%Exists %ExistsId %Extends %GUID
%GUIDSet %GetLock %GetParameter %GetSwizzleObject
%Id %InsertBatch %IsA %IsModified
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectModified
%Oid %OnBeforeAddToSync %OnDetermineClass %Open
%OpenId %OriginalNamespace %PackageName %PhysicalAddress
%PurgeIndices %Reload %RemoveFromSaveSet %ResolveConcurrencyConflict
%RollBack %Save %SaveDirect %SaveIndices
%SerializeObject %SetModified %SortBegin %SortEnd
%SyncObjectIn %SyncTransport %UnlockExtent %UnlockId
%ValidateObject AcronymCount AddToHash ClearAll
FilterCount GetAcronym GetByName GetConceptLabel
GetFilter GetHash GetLabel GetLexrep
GetLexrepRaw GetPreprocessFilter GetPunctuationLabel GetRelationLabel
GetRule GetSentenceBeginLabel GetSentenceEndLabel GetUnknownLabel
ImportFromCSV ImportFromXML ImportItemsFromXML LabelCount
LexrepCount LoadDir LoadTableFromCSV NextAcronym
NextFilter NextLabel NextLexrep NextPreprocessFilter
NextRule Obfuscate PreprocessFilterCount RuleCount
Unobfuscate WriteAsXML XMLDTD XMLExport
XMLExportToStream XMLExportToString XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType


Properties

• property ConceptLabel as Label;
• property Hash as %String;
• property Name as %String(XMLPROJECTION="ATTRIBUTE") [ Required ];

Methods

• method AcronymCount() as %Integer
• method AddToHash(string As %String)
Adds a value to this Knowledgebase's hash. The ultimate hash value is dependent on the sequence of values passed to this function.
• classmethod ClearAll()
Clears all Knowledgebase data
• method FilterCount() as %Integer
• method GetAcronym(key As %String) as Acronym
• classmethod GetByName(name As %String) as Knowledgebase
Retrieves the KB with the given name, returning "" if not found.
• method GetConceptLabel() as Label
• method GetFilter(key As %String) as Filter
• method GetHash() as %String
Returns a hash based on the content of this Knowledgebase
• method GetLabel(key As %String) as Label
• method GetLexrep(key As %String) as Lexrep
• method GetLexrepRaw(key As %String) as %List
• method GetPreprocessFilter(key As %String) as PreprocessFilter
• method GetPunctuationLabel() as Label
• method GetRelationLabel() as Label
• method GetRule(key As %String) as Rule
• method GetSentenceBeginLabel() as Label
• method GetSentenceEndLabel() as Label
• method GetUnknownLabel() as Label
• classmethod ImportFromCSV(name As %String, prefix As %String, obfuscate As %Boolean = 1) as Knowledgebase
• classmethod ImportFromXML(fileName As %String) as Knowledgebase
• classmethod ImportItemsFromXML(r As %XML.Reader, kb As Knowledgebase, collectionName As %String, className As %String, keyPropertyName As %String = "")
• method LabelCount() as %Integer
• method LexrepCount() as %Integer
• classmethod LoadDir(dir As %String, forcemulticompile As %Boolean = 0, obfuscate As %Boolean = 1) as %Status
• classmethod LoadTableFromCSV(fileName As %String, className As %String, kb As Knowledgebase)
• method NextAcronym(key As %String) as %String
• method NextFilter(key As %String) as %String
• method NextLabel(key As %String) as %String
• method NextLexrep(key As %String) as %String
• method NextPreprocessFilter(key As %String) as %String
• method NextRule(key As %String) as %String
• classmethod Obfuscate(string As %String, property As %String, id As %Integer) as %String
• method PreprocessFilterCount() as %Integer
• method RuleCount() as %Integer
• classmethod Unobfuscate(string As %String, property As %String, id As %Integer) as %String
• method WriteAsXML()

Indices

• index (NameIndex on Name) [Unique];