
/*------------------------------------------------------------------------
    File        : ICdcOwner
    Purpose     : 
    Syntax      : 
    Description : 
    Author(s)   : mkondra
    Created     : Fri Nov 20 12:43:33 IST 2015
    Notes       : 
  ----------------------------------------------------------------------*/

using Progress.Lang.*.
using OpenEdge.DataAdmin.ICdcParent.
using OpenEdge.DataAdmin.ICdcMap.

interface OpenEdge.DataAdmin.ICdcOwner inherits ICdcParent:  
    
        /** Id internal unique integer identifier - read-only - generated by database 
        (internal - dump and load will generate a new id) */    
    define public property Id as int no-undo                   get.
    
    /** Partitions IPartitionMap property with all partitions of the tenant
        mapped by ISchemaElement (ITable,IIndex,IField)     */                    
    define public property CdcTablePolicies      as ICdcMap no-undo get.
     
     /** IsDataEnabled 
          default true gives access to partitioned data 
          set to false to prevent access to partitioned data 
          (only shared data accessible)  */    
    define public property Instance as int no-undo         get. set. 
     
    /** IsAllocated 
          <b>true</b> if all partitions have a state of Allocated or None
          false if any partition have a state of Delayed 
          Use Allocate() to allocate delayed partitions
          Owners that has a single table and does not support delayed partitions implements this 
          as directly exposing if it has allocated partitions. (all partitions are allocated in synch for a table)  */
              
    define public property Level as int no-undo      get.
    
    
  
end interface.