WS.Common

Description

Common and utility functions.

Categories

NameDescription
Notify
QueryFunctions to query cache.
Stack

Functions

NameSignature and Synopsis
assertInstancevoid assertInstance(Concept concept, boolean fireRules)
Assert a concept into WM.
byteArrayLengthint byteArrayLength(Object array)
Get the length of the byte array
escapeXMLString escapeXML(String xml)
Escape characters in XML String.
generateUUIDString generateUUID
Generate random UID.
getConceptReferenceConcept getConceptReference(PropertyAtomConceptReference pacr)
Gets the value of the PropertyAtomContainedConcept from a non asserted concept.
getContainedConceptConcept getContainedConcept (PropertyAtomContainedConcept pacc, long time)
Gets the value of the PropertyAtomContainedConcept from a non asserted concept.
getDestinationConceptArrayConcept[] getDestinationConceptArray(String conceptURI, int length)
Creates an array of concept type specified by the uri. All elements are null.
getServerBuildDetailsObject getServerVersion()
Get the server version, build & copyright details.
isDecisionManagerInstalledboolean isDecisionManagerInstalled()
Checks whether Decision Manager is installed.
joinStringArrayString joinStringArray(String[] stringArray, String delimiter)
Join a string[] and create a string out of it with specified delimiter.
setExtIdvoid setExtId(Concept concept, String extId)
Set extId on an un-asserted concept.
toArrayConceptConcept[] toArrayConcept(PropertyArrayConcept arr)
Returns a Concept[] containing all of the instances in a PropertyArrayConcept in the correct order without loading any of those into Rete
unEscapeXMLString unEscapeXML(String xml)
Unescape characters in XML String.