DASchemaColumnMapping

Overview

This class manages mapping between schema table fields and database table fields

Location

 

databaseFieldName  retain

Name of the field in the DataBase

@property (retain) NSString *databaseFieldName

initWithName:    (declared in DASchemaBaseObject)

Initializes a new instance of the class with a given name.

- (id) initWithName:(NSString *)aName

Parameters:

  • aName:

initWithXml:    (declared in DASchemaBaseObject)

Initializes a new instance of the class with a given XML string. Here, the XML string is the XML node from the Schema XML file that represents a certain schema object, for example the Schema Data Table or Schema Parameter. In most cases you will not need to invoke this method directly on the DASchemaBaseObject. This method is overridden in descendant classes (for example in the DASchemaDataTable) where it can be used for deserializing schema XML into a schema object.

- (id) 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

schemaFieldName  retain

Name of the field in the Schema

@property (retain) NSString *schemaFieldName

sqlAlias  retain

Represents a field alias. For example when SQL statement has something like

SELECT
     Name AS WorkerName,
     ....

then DatabaseName will be Name and sqlAlias will be WorkerName

@property (retain) NSString *sqlAlias

 

databaseFieldName  retain

Name of the field in the DataBase

@property (retain) NSString *databaseFieldName

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

schemaFieldName  retain

Name of the field in the Schema

@property (retain) NSString *schemaFieldName

sqlAlias  retain

Represents a field alias. For example when SQL statement has something like

SELECT
     Name AS WorkerName,
     ....

then DatabaseName will be Name and sqlAlias will be WorkerName

@property (retain) NSString *sqlAlias

 

initWithName:    (declared in DASchemaBaseObject)

Initializes a new instance of the class with a given name.

- (id) initWithName:(NSString *)aName

Parameters:

  • aName:

initWithXml:    (declared in DASchemaBaseObject)

Initializes a new instance of the class with a given XML string. Here, the XML string is the XML node from the Schema XML file that represents a certain schema object, for example the Schema Data Table or Schema Parameter. In most cases you will not need to invoke this method directly on the DASchemaBaseObject. This method is overridden in descendant classes (for example in the DASchemaDataTable) where it can be used for deserializing schema XML into a schema object.

- (id) initWithXml:(NSString *)anXml

Parameters:

  • anXml: