Namespace: Consultingwerk.OERA.OpenAccess
Class 
TempTableSchemaExporter Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Inherited by: Consultingwerk.OERA.Swagger.SwaggerTempTableSchemaExporter

File:TempTableSchemaExporter
Purpose:Exports Temp-Table Schema as a JSON String
Description:Supports JSON Catalog Version 1.0
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Mon Oct 27 21:59:57 CET 2014



Top Method Summary
Options Name Purpose
+ CHARACTER AblTypeToCatalogType (character) Converts the given ABL Data Type into a Json Catalog type
# AddBufferField (handle, JsonObject) Adds the temp-table field to the given JsonObject
# AddErrorStringField (JsonObject) Adds the _errorString node to the properties (fields) of a table
# AddIdField (JsonObject) Adds the _id node to the properties (fields) of a table
+ Progress.Json.ObjectModel.JsonObject TempTableSchemaToJsonObject (handle) Adds nodes for the schema of the given temp-table to a new JsonObject
+ TempTableSchemaToJsonObject (handle, character, JsonObject) Adds nodes for the schema of the given temp-table to the given JsonObject
+ TempTableSchemaToJsonObject (handle, JsonObject) Adds nodes for the schema of the given temp-table to the given JsonObject

Top Property Summary
Options Name Purpose
+ LOGICAL IncludeErrorString


Method Detail
Top

PUBLIC CHARACTER AblTypeToCatalogType (character)

Purpose: Converts the given ABL Data Type into a Json Catalog type
Notes:

Parameters:
pcAblType CHARACTER
The ABL Data Type
Returns CHARACTER
The Json Catalog data type
Top

PROTECTED AddBufferField (handle, JsonObject)

Purpose: Adds the temp-table field to the given JsonObject
Notes:

Parameters:
phField HANDLE
The handle of the temp-table field
poJsonObject Progress.Json.ObjectModel.JsonObject
The JsonObject to add the field to
Top

PROTECTED AddErrorStringField (JsonObject)

Purpose: Adds the _errorString node to the properties (fields) of a table
Notes:

Parameters:
poJsonObject Progress.Json.ObjectModel.JsonObject
as JsonObject
Top

PROTECTED AddIdField (JsonObject)

Purpose: Adds the _id node to the properties (fields) of a table
Notes:

Parameters:
poJsonObject Progress.Json.ObjectModel.JsonObject
as JsonObject
Top

PUBLIC Progress.Json.ObjectModel.JsonObject TempTableSchemaToJsonObject (handle)

Purpose: Adds nodes for the schema of the given temp-table to a new JsonObject
Notes:

Parameters:
phBuffer HANDLE
The handle of the temp-table buffer
Returns Progress.Json.ObjectModel.JsonObject
The reference to the JsonObject
Top

PUBLIC TempTableSchemaToJsonObject (handle, character, JsonObject)

Purpose: Adds nodes for the schema of the given temp-table to the given
JsonObject
Notes:

Parameters:
phBuffer HANDLE
The handle of the temp-table buffer
pcType CHARACTER
The type attribute for the table reference (array / object)
poJsonObject Progress.Json.ObjectModel.JsonObject
The reference to the JsonObject
Top

PUBLIC TempTableSchemaToJsonObject (handle, JsonObject)

Purpose: Adds nodes for the schema of the given temp-table to the given
JsonObject
Notes:

Parameters:
phBuffer HANDLE
The handle of the temp-table buffer
poJsonObject Progress.Json.ObjectModel.JsonObject
The reference to the JsonObject


Property Detail
Top

PUBLIC LOGICAL IncludeErrorString


Returns LOGICAL


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 05:52:52