Runtime representation of a Field.
|
||
Description: Returns a string of the Field's name |
||
Code Sample: var session = inrule.createRuleSession(); |
|
||
Description: The element identifier which uniquely identifies this Field within its RuleSession |
||
Code Sample: var session = inrule.createRuleSession(); |
|
||
Description: Returns the Field's value |
||
Code Sample: var session = inrule.createRuleSession(); |
|
||
Parameters: value Type: object The value you want to set the Field to. If the type of the value does not match the type of the Field, implicit conversion will take be attempted. |
||
Description: Sets the Field's value |
||
Code Sample: var session = inrule.createRuleSession(); |
|
||
Parameters: fieldName Type: string The name of the Field to return |
||
Description: For Entity and Complex fields, returns a child Field from the Field instance |
||
Code Sample: var session = inrule.createRuleSession(); // Assume Person has a field "FirstName" and a |
|
||
Parameters: collectionName Type: string The name of the Collection to return |
||
Description: For Entity and Complex fields, returns a child Collection from the Field instance |
||
Code Sample: var session = inrule.createRuleSession(); // Assume Person has a Field "FirstName" and |
|
||
Description: Returns a boolean indicating whether or not the current Entity is valid based on the rules that were executed. If rules have not been applied, this will always return True. |
||
Code Sample: var session = inrule.createRuleSession(); var entity1 = session.createEntity("Entity1"); |
|
||
Description: This returns an AuthoringMetadata object for the Field |
||
Code Sample: var session = inrule.createRuleSession(); |
Comments
0 comments
Please sign in to leave a comment.