org.openorb.pss.connector.database

Class DatabaseWrapper

public class DatabaseWrapper extends 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
psdlState[]mappable_states(psdlStorageType st, boolean inherited)
This operation returns all mappable states for a storage type
voidmap_catalog(File into, psdlCatalog cat)
This operation will be called by the PSDL to Java generator in order to translate Catalog structure.
voidmap_catalog_for_session(File into, psdlCatalog cat)
This operation will be called by the PSDL to Java generator in order to translate Catalog structure.
voidmap_catalog_for_session_pool(File into, psdlCatalog cat)
This operation will be called by the PSDL to Java generator in order to translate Catalog structure.
voidmap_catalog_for_transactional_session(File into, psdlCatalog cat)
This operation will be called by the PSDL to Java generator in order to translate Catalog structure.
voidmap_storagehome(File into, psdlStorageHome sh)
This operation will be called by the PSDL to Java generator in order to translate Storage Home structure.
voidmap_storagetype(File into, psdlStorageType st)
This operation will be called by the PSDL to Java generator in order to translate Storage Type structure.

Constructor Detail

DatabaseWrapper

public DatabaseWrapper(PsdlCompilerProperties pcp)
Constructor

Method Detail

mappable_states

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

map_catalog

public void map_catalog(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

public void map_catalog_for_session(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(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(File into, psdlCatalog cat)
This operation will be called by the PSDL to Java generator in order to translate Catalog structure.

map_storagehome

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

map_storagetype

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