Name | Description |
---|---|
PropertyArray | Utility Functions to Operate on PropertyArray types of Concepts |
PropertyAtom | Utility functions to operate on PropertyAtom properties |
StateMachine | Utility functions to operate on StateMachines |
Name | Signature and Synopsis |
---|---|
createInstance | Concept createInstance (String xslt-template) Creates a new Concept Instance based on the data passed in. |
createInstanceFromXML | Concept createInstanceFromXML (String uri, String xml) This function returns a concept instance using the xml . The XML
String should adhere to the XML schema corresponding to the concept definition. |
deleteInstance | Concept deleteInstance (Concept instance) Retracts and deletes the Concept Instance instance from the working
memory. |
filterAndSerializeUsingDefaults | String filterAndSerializeUsingDefaults (Concept instance, String propertyNameRegexFilter) Serializes the Concept into an XML String using concept namespace uri and Regex filter. |
getByExtId | Concept getByExtId (String extId) Returns the Instance using extId as the external ID. |
getById | Concept getById (long Id) Returns the Instance using Id as the internal ID. |
getExpandedName |
Get the fully qualified namespace URI for a concept instance. |
isModified | boolean isModified (Concept instance) This function returns true if a concept instance is being modified by
other rules during the conflict resolution. Use "isNew(instance)" to check if an instance is
newly added during the conflict resolution. Use "!isModified(instance)" to check if an
instance is newly added but has not been modified during the conflict resolution. Use
"isNew(instance) || isModified(instance)" regardless the instance is newly added or being
modified during the conflict resolution. |
isNew | boolean isNew (Concept instance) This function returns true if a concept instance is newly added
during the conflict resolution. Use "isModified(instance)" to check if an instance is being
modified by other rules during the conflict resolution. Use "!isModified(instance)" to check
if an instance is newly added but has not been modified during the conflict resolution. Use
"isNew(instance) || isModified(instance)" regardless the instance is newly added or being
modified during the conflict resolution. |
newInstance | Concept newInstance (String uri, String extId) Creates a new empty Concept Instance |
serialize | String serialize (Concept instance, boolean changedOnly, String nameSpace, String
root) Serializes the Concept into an XML String. |
serializeUsingDefaults | String serializeUsingDefaults (Concept instance) Serializes the Concept into an XML String using concept namespace uri. |
updateInstanceFromXML | Concept updateInstanceFromXML (String xml) Update a concept instance with references as specified in the XML. "extId" from the XML string is first used to locate the concept instance to be updated. Then its contents and property references are updated with values provided in the XML |