DASchemaClientBusinessRuleScript

Overview

The DASchemaClientBusinessRuleScript provides the Business Rules Scripts class which defines specific rules and actions to validate data input, without having to hard-code this logic into the client and server application.

With Business Rules Scripts, the server can provide the business logic in form of JavaScript language as part of the schema, which will then be executed on the server and client side.

See more about Scripting at Business Rules Scripting Overview.

Location


 

initWithName:    (declared in DASchemaBaseObject)

- (InstanceType) initWithName:(NSString *)aName

Parameters:

  • aName:

initWithXml:    (declared in DASchemaBaseObject)

- (InstanceType) initWithXml:(NSString *)anXml

Parameters:

  • anXml:

name  retain    (declared in DASchemaBaseObject)

Represents the name of the schema object. Name is a mandatory property and an exception will be raised if its value is nil or empty. Only alpha-numeric characters are allowed in the Name value.

@property (retain) NSString *name

note  retain    (declared in DASchemaBaseObject)

Description for schema object

@property (retain) NSString *note

runOnClientAndServer  assign

Determines whether the script is run on the client and server side.

@property (assign) BOOL runOnClientAndServer

script  retain    (declared in DASchemaServerBusinessRuleScript)

Gets or sets Business Rules Script source code.

@property (retain) NSString *script

scriptLanguage  retain    (declared in DASchemaServerBusinessRuleScript)

Gets or sets the name of the scripting language used in the {bold|Script} property.

@property (retain) NSString *scriptLanguage

 

name  retain    (declared in DASchemaBaseObject)

Represents the name of the schema object. Name is a mandatory property and an exception will be raised if its value is nil or empty. Only alpha-numeric characters are allowed in the Name value.

@property (retain) NSString *name

note  retain    (declared in DASchemaBaseObject)

Description for schema object

@property (retain) NSString *note

runOnClientAndServer  assign

Determines whether the script is run on the client and server side.

@property (assign) BOOL runOnClientAndServer

script  retain    (declared in DASchemaServerBusinessRuleScript)

Gets or sets Business Rules Script source code.

@property (retain) NSString *script

scriptLanguage  retain    (declared in DASchemaServerBusinessRuleScript)

Gets or sets the name of the scripting language used in the {bold|Script} property.

@property (retain) NSString *scriptLanguage

 

initWithName:    (declared in DASchemaBaseObject)

- (InstanceType) initWithName:(NSString *)aName

Parameters:

  • aName:

initWithXml:    (declared in DASchemaBaseObject)

- (InstanceType) initWithXml:(NSString *)anXml

Parameters:

  • anXml: