/* @(#)Z 1.4 com/src/storage/idl/ODCtr.idl, odstorage, od96nt, odnt9712d 97/03/21 16:48:51 (96/10/29 09:32:42) */


#ifndef _ODCTR_
#define _ODCTR_

#ifndef _REFCTOBJ_
#include "RefCtObj.idl"
#endif

//==============================================================================
// Classes used by this interface
//==============================================================================
interface   ODStorageSystem; 

//==============================================================================
// Classes defined in this interface
//==============================================================================
interface   ODContainer;
interface	ODDocument;

//==============================================================================
// ODContainer
//==============================================================================

interface ODContainer :  ODRefCntObject 
{

	ODStorageSystem  GetStorageSystem();

	ODContainerID GetID();

	ODContainerName GetName();

	void SetName(in ODContainerName name);

	ODDocument  AcquireDocument(in ODDocumentID id);


#ifdef __SOMIDL__
  implementation
  {
	majorversion = 1; minorversion = 0;
  	functionprefix = ODContainer;
    override:
		somUninit,
		Acquire,
        Release,
        Purge;
    releaseorder:
        GetStorageSystem,
        GetID,
        GetName,
        SetName,
        AcquireDocument,
			reserved1,
			reserved2,
			reserved3,
			reserved4,
			reserved5;
  };
#endif
};

#endif  // _ODCTR_

