Schema

Overview

The class represents a Schema, returned from the Data Abstract server. Can be obtained using RemoteDataAdapter method call.

Location

 

constructor

Creates an instance of the Schema object.

 

constructor

 

Schema()

CustomAttributes

The property represents custom string bound to the schema.

 

property CustomAttributes: String read write;

 

String CustomAttributes { __get; __set; }

DataTables

 

property DataTables: List<SchemaDataTable> read;

 

List<SchemaDataTable> DataTables { __get; }

deriveDataTableSchema

 

class method deriveDataTableSchema(dataTable: DataTable): SchemaDataTable

 

static SchemaDataTable deriveDataTableSchema(DataTable dataTable)

Parameters:

  • dataTable:

findTableSchema

Finds a table schema by its name.

 

method findTableSchema(aTableName: String): SchemaDataTable

 

SchemaDataTable findTableSchema(String aTableName)

Parameters:

  • aTableName: A name of the table schema to find.

readFrom  final

Creates a new SchemaDataTable instance based on the given initializaed data table.

 

method readFrom(node: Node)

 

void readFrom(Node node)

Parameters:

  • node: An initialized data table that will be used for generation of the schema.

Version

 

property Version: Integer read write;

 

Integer Version { __get; __set; }

writeTo  final

Creates a new SchemaDataTable instance based on the given initializaed data table.

 

method writeTo(node: Node)

 

void writeTo(Node node)

Parameters:

  • node: An initialized data table that will be used for generation of the schema.

 

CustomAttributes

The property represents custom string bound to the schema.

 

property CustomAttributes: String read write;

 

String CustomAttributes { __get; __set; }

DataTables

 

property DataTables: List<SchemaDataTable> read;

 

List<SchemaDataTable> DataTables { __get; }

Version

 

property Version: Integer read write;

 

Integer Version { __get; __set; }

 

deriveDataTableSchema

 

class method deriveDataTableSchema(dataTable: DataTable): SchemaDataTable

 

static SchemaDataTable deriveDataTableSchema(DataTable dataTable)

Parameters:

  • dataTable:

 

constructor

Creates an instance of the Schema object.

 

constructor

 

Schema()

findTableSchema

Finds a table schema by its name.

 

method findTableSchema(aTableName: String): SchemaDataTable

 

SchemaDataTable findTableSchema(String aTableName)

Parameters:

  • aTableName: A name of the table schema to find.

readFrom  final

Creates a new SchemaDataTable instance based on the given initializaed data table.

 

method readFrom(node: Node)

 

void readFrom(Node node)

Parameters:

  • node: An initialized data table that will be used for generation of the schema.

writeTo  final

Creates a new SchemaDataTable instance based on the given initializaed data table.

 

method writeTo(node: Node)

 

void writeTo(Node node)

Parameters:

  • node: An initialized data table that will be used for generation of the schema.