TIBCO Adapter SDK C++ Reference
MInstance
Class Hierarchy | C++ Classes and Methods | Members | Methods
The MInstance class allows hierarchical data representation. In contrast to MTree, however, MInstance depends on a predefined class description (metadata information). This metadata information is provided in the repository and then encapsulated in a number of classes by the MApp application manager.

In effect, MInstance is an MTree constrained by a class description that is stored in TIBCO Repository.

MInstance keeps a copy of all MData items that are set.

Remarks
As the name implies, this class behaves like an instance of a class. The equivalent “class” here is an MModeledClassDescription that encapsulates the predefined metadata information and in effect defines the “members” of this instance. The class definitions are provided as repository objects, where each adapter instance accesses one repository directory containing all objects for that instance.

Note that the SDK does not manage memory and references if you create MInstance instances based on repository information. The SDK also does not enforce data integrity.

MInstance always represents an MModeledClassDescription, that is, a class description class created by the SDK based on metadata information.

See also "Adapter Creates Runtime Data" in TIBCO Adapter SDK Programmer's Guide.

Declaration
class MInstance : public MData;
Class Hierarchy
MObject
    MData
        MInstance
File
MInstance.h
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.