com.sri.emo.wizard.creation.persistence
Class CreationDBObjConverterImpl

java.lang.Object
  extended by com.sri.emo.wizard.creation.persistence.CreationDBObjConverterImpl
All Implemented Interfaces:
CreationDBObjConverter

public class CreationDBObjConverterImpl
extends Object
implements CreationDBObjConverter

Author:
Michael Rimov

Constructor Summary
CreationDBObjConverterImpl()
          Default constructor.
 
Method Summary
 CreationBeans convertToBean(WizDefinition source)
          Converts a wizard definition to a completion bean.
 WizDefinition convertToDBObject(CreationBeans sourceBeans)
          Converts a Completion Bean to a Wiz Definition bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreationDBObjConverterImpl

public CreationDBObjConverterImpl()
Default constructor.

Method Detail

convertToBean

public CreationBeans convertToBean(WizDefinition source)
                            throws RepositoryConversionException
Converts a wizard definition to a completion bean.

Specified by:
convertToBean in interface CreationDBObjConverter
Parameters:
source - WizDefinition
Returns:
CompletionBean
Throws:
RepositoryConversionException - upon generic conversion error.

convertToDBObject

public WizDefinition convertToDBObject(CreationBeans sourceBeans)
                                throws RepositoryConversionException
Converts a Completion Bean to a Wiz Definition bean.

Specified by:
convertToDBObject in interface CreationDBObjConverter
Parameters:
source - CompletionBean the completion bean.
Returns:
WizDefinition constructed wizard definition.
Throws:
RepositoryConversionException - upon generic conversion error.


Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.