org.openorb.pss.connector.database
Class DatabaseWrapper

java.lang.Object
  extended by org.openorb.pss.connector.database.DatabaseWrapper
All Implemented Interfaces:
PsdlWrapper

public class DatabaseWrapper
extends java.lang.Object
implements PsdlWrapper

This class provides a way to translate Storage Type and Home for a database persistence.

Author:
Jerome Daniel

Constructor Summary
DatabaseWrapper(PsdlCompilerProperties pcp)
          Constructor
 
Method Summary
 void map_catalog_for_session_pool(java.io.File into, psdlCatalog cat)
          This operation will be called by the PSDL to Java generator in order to translate Catalog structure.
 void map_catalog_for_session(java.io.File into, psdlCatalog cat)
          This operation will be called by the PSDL to Java generator in order to translate Catalog structure.
 void map_catalog_for_transactional_session(java.io.File into, psdlCatalog cat)
          This operation will be called by the PSDL to Java generator in order to translate Catalog structure.
 void map_catalog(java.io.File into, psdlCatalog cat)
          This operation will be called by the PSDL to Java generator in order to translate Catalog structure.
 void map_storagehome(java.io.File into, psdlStorageHome sh)
          This operation will be called by the PSDL to Java generator in order to translate Storage Home structure.
 void map_storagetype(java.io.File into, psdlStorageType st)
          This operation will be called by the PSDL to Java generator in order to translate Storage Type structure.
 psdlState[] mappable_states(psdlStorageType st, boolean inherited)
          This operation returns all mappable states for a storage type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseWrapper

public DatabaseWrapper(PsdlCompilerProperties pcp)
Constructor

Method Detail

map_storagetype

public void map_storagetype(java.io.File into,
                            psdlStorageType st)
This operation will be called by the PSDL to Java generator in order to translate Storage Type structure.

Specified by:
map_storagetype in interface PsdlWrapper

mappable_states

public psdlState[] mappable_states(psdlStorageType st,
                                   boolean inherited)
This operation returns all mappable states for a storage type


map_storagehome

public void map_storagehome(java.io.File into,
                            psdlStorageHome sh)
This operation will be called by the PSDL to Java generator in order to translate Storage Home structure.

Specified by:
map_storagehome in interface PsdlWrapper

map_catalog

public void map_catalog(java.io.File into,
                        psdlCatalog cat)
This operation will be called by the PSDL to Java generator in order to translate Catalog structure.

Specified by:
map_catalog in interface PsdlWrapper

map_catalog_for_session

public void map_catalog_for_session(java.io.File into,
                                    psdlCatalog cat)
This operation will be called by the PSDL to Java generator in order to translate Catalog structure.


map_catalog_for_transactional_session

public void map_catalog_for_transactional_session(java.io.File into,
                                                  psdlCatalog cat)
This operation will be called by the PSDL to Java generator in order to translate Catalog structure.


map_catalog_for_session_pool

public void map_catalog_for_session_pool(java.io.File into,
                                         psdlCatalog cat)
This operation will be called by the PSDL to Java generator in order to translate Catalog structure.