Schema
Overview
The class represents a Schema, returned from the Data Abstract server. Can be obtained using RemoteDataAdapter method call.
Location
- Reference: com.remobjects.dataabstract.jar
- Package: com.remobjects.dataabstract.schema
- Ancestry: Object | Schema
constructor
Creates an instance of the Schema object.
constructor
Schema()
CustomAttributes
property CustomAttributes: String read write;
String CustomAttributes { __get; __set; }
DataTables
property DataTables: List<SchemaDataTable> read;
List<SchemaDataTable> DataTables { __get; }
deriveDataTableSchema
Creates a new SchemaDataTable instance based on the given initializaed data table.
class method deriveDataTableSchema(aDataTable: DataTable): SchemaDataTable
static SchemaDataTable deriveDataTableSchema(DataTable aDataTable)
Parameters:
- aDataTable: An initialized data table that will be used for generation of the 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
Fills the current instance with data from xml node. It is used in deserialization from XML.
method readFrom(aNode: Node)
void readFrom(Node aNode)
Parameters:
- aNode: A given XML node to read.
Version
property Version: Integer read write;
Integer Version { __get; __set; }
writeTo final
Stores the data of current instance to the given xml node. It is used in serialization to XML.
method writeTo(aNode: Node)
void writeTo(Node aNode)
Parameters:
- aNode: A given XML node to fill.
CustomAttributes
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
Creates a new SchemaDataTable instance based on the given initializaed data table.
class method deriveDataTableSchema(aDataTable: DataTable): SchemaDataTable
static SchemaDataTable deriveDataTableSchema(DataTable aDataTable)
Parameters:
- aDataTable: An initialized data table that will be used for generation of the schema.
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
Fills the current instance with data from xml node. It is used in deserialization from XML.
method readFrom(aNode: Node)
void readFrom(Node aNode)
Parameters:
- aNode: A given XML node to read.
writeTo final
Stores the data of current instance to the given xml node. It is used in serialization to XML.
method writeTo(aNode: Node)
void writeTo(Node aNode)
Parameters:
- aNode: A given XML node to fill.