Namespace: OpenEdge.DataAdmin
Interface
ISchema
Parent classes:
Inherits: OpenEdge.DataAdmin.IDataAdminElement

/* Copyright (c) 2010 by progress Software Corporation
/*
/* all rights reserved. no part of this program or document
/* may be reproduced in any form or by any means without
/* permission in writing from progress Software Corporation.
File:ISchema
Author(s):hdaniels
Created:Thu Jun 10 00:52:52 EDT 2010




Method Summary
Options Name Purpose
ImportTree (character, character) /** ImportTree overload to allow load of Options and Partitions from JSON into a Schema with unloaded schema changes. @param filename json filename @param collections - Comma separated list of collections to load. Currently expected to consist of 'options' and/or 'partitions'. */

Property Summary
Options Name Purpose
OpenEdge.DataAdmin.Binding.IDataDefinitionOptions LoadOptions /** Load options for new schema changes */
CHARACTER Name
OpenEdge.DataAdmin.IPartitionCollection Partitions /** Partitions are accessible in a schema instance with newly loaded definition changes. The property will throw an UnsupportedOperationError if referenced in a new unloaded schema or in a regular instance retrieved through the service:GetSchema(). For a regular Schema Partitions are available in the each table (ITable) in the Schema's Tables collections and in the indexes (IIndex) and fields (IField) in the table's Indexes and LOBFields collections. */
CHARACTER SchemaState /** SchemaState is "NEW" for unloaded schema, "LOADED" for loaded schema "IMPORTED" after import of partitions "NORMAL" n a regular instance retrieved through the service:GetSchema() */
OpenEdge.DataAdmin.ISequenceSet Sequences /** Sequences in the schema. Not accessible in an unloaded schema.*/
OpenEdge.DataAdmin.ITableSet Tables /** Tables in the schema. Not accessible in an unloaded schema.*/


Method Detail
Top

ImportTree (character, character)

Purpose: ImportTree overload to allow load of Options and Partitions
from JSON into a Schema with unloaded schema changes.
Currently expected to consist of 'options' and/or 'partitions'.
Parameters:
pcfile CHARACTER
pcCollection CHARACTER


Property Detail
Top

OpenEdge.DataAdmin.Binding.IDataDefinitionOptions LoadOptions

Purpose: Load options for new schema changes
Returns OpenEdge.DataAdmin.Binding.IDataDefinitionOptions
Top

CHARACTER Name

Returns CHARACTER
Top

OpenEdge.DataAdmin.IPartitionCollection Partitions

Purpose: Partitions are accessible in a schema instance with newly loaded definition changes.
The property will throw an UnsupportedOperationError if referenced in a new
unloaded schema or in a regular instance retrieved through the service:GetSchema().
For a regular Schema Partitions are available in the each table (ITable) in the Schema's
Tables collections and in the indexes (IIndex) and fields (IField) in the table's
Indexes and LOBFields collections.
Returns OpenEdge.DataAdmin.IPartitionCollection
Top

CHARACTER SchemaState

Purpose: SchemaState is "NEW" for unloaded schema,
"LOADED" for loaded schema
"IMPORTED" after import of partitions
"NORMAL" n a regular instance retrieved through the service:GetSchema()
Returns CHARACTER
Top

OpenEdge.DataAdmin.ISequenceSet Sequences

Purpose: Sequences in the schema. Not accessible in an unloaded schema.
Returns OpenEdge.DataAdmin.ISequenceSet
Top

OpenEdge.DataAdmin.ITableSet Tables

Purpose: Tables in the schema. Not accessible in an unloaded schema.
Returns OpenEdge.DataAdmin.ITableSet


Copyright © 2017 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7