skip to main content
Corticon Studio: Rule Language Guide : Categories of rule operators : Entity/Association operators : Entity
 

Try Corticon Now
Entity
Corticon's Entity operators are as follows:
Name and Syntax
Returns
Description
<Entity> .new [<Expression1>,…]
Entity
Creates a new instance of <Entity>. Expressions (optional to assign attribute values) in square brackets [..] must be written in the form: attribute = value.
<Entity> .newUnique [<Expression1>,…]
Entity
Creates a new instance of <Entity> only if the instance created is unique as defined by optional <Expression1>,…
<Entity>.clone [<Expression1>,…]
Entity
Creates a new instance of <Entity> with the same attributes and their respective values. Expressions (optional to override attribute values) in square brackets [..] must be written in the form: attribute = value.
< Entity>.remove [(true)|(false)]
Entity
Deletes the entity from memory and from the resultant XML document. Children can be removed as well when set to (true, or retained after moving to root (false). Blank or no value defaults to true.