DASchemaServerBusinessRuleScript

Overview

The DASchemaServerBusinessRuleScript class provides the Business Rules Scripts base 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 Data Abstract 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 Business rules Scripting in 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

script  retain

Gets or sets Business Rules Script source code.

@property (retain) NSString *script

scriptLanguage  retain

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

script  retain

Gets or sets Business Rules Script source code.

@property (retain) NSString *script

scriptLanguage  retain

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: