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

/* Copyright (c) 2011 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:IDataAdminElement
Author(s):hdaniels
Created:Aug 2010




Method Summary
Options Name Purpose
Export ()
Export (character)
ExportTree (character)
ExportTree (character, character)
Import (character) /** Import entity data from the specified file (must exist) @param file the file name to imprt from - currently supportes .json only */
ImportTree (character) /** Import entity data including child collections from the specified file (the top level entity must exist) @param file the file name to imprt from - currently supportes .json only */

Property Summary
Options Name Purpose
LOGICAL Attached /** Tells whether the instance is in a collection or service. */
CHARACTER ContextId /** defines the context (or scope?) for the instance. Used in Equals() to ensure entities with the same keys - blank means the object has no context (yet) new and not attached (in which case equals is only true if exact same object instance) */
OpenEdge.DataAdmin.IRequestInfo RequestInfo /** Optional definition of unique find critieria for this object and/or queries for child collections. */
OpenEdge.DataAdmin.IDataAdminService Service /** returns the Service the object was retrieved from */


Method Detail
Top

Export ()

Top

Export (character)

Parameters:
cFile CHARACTER
Top

ExportTree (character)

Parameters:
cFile CHARACTER
Top

ExportTree (character, character)

Parameters:
cFile CHARACTER
pcCollections CHARACTER
Top

Import (character)

Purpose: Import entity data from the specified file (must exist)
Parameters:
cFile CHARACTER
Top

ImportTree (character)

Purpose: Import entity data including child collections from the specified file (the top level entity must exist)
Parameters:
cFile CHARACTER


Property Detail
Top

LOGICAL Attached

Purpose: Tells whether the instance is in a collection or service.
Returns LOGICAL
Top

CHARACTER ContextId

Purpose: defines the context (or scope?) for the instance.
Used in Equals() to ensure entities with the same keys
- blank means the object has no context (yet)
new and not attached (in which case equals is only true if exact same
object instance)
Returns CHARACTER
Top

OpenEdge.DataAdmin.IRequestInfo RequestInfo

Purpose: Optional definition of unique find critieria for this object and/or queries for child
collections.
Returns OpenEdge.DataAdmin.IRequestInfo
Top

OpenEdge.DataAdmin.IDataAdminService Service

Purpose: returns the Service the object was retrieved from
Returns OpenEdge.DataAdmin.IDataAdminService


Copyright © 2017 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7