com.sri.emo.wizard.completion.persistence
Class CompletionDBObjConverterImpl

java.lang.Object
  extended by com.sri.emo.wizard.completion.persistence.CompletionDBObjConverterImpl
All Implemented Interfaces:
CompletionDBObjConverter

public class CompletionDBObjConverterImpl
extends Object
implements CompletionDBObjConverter

Author:
Michael Rimov

Constructor Summary
CompletionDBObjConverterImpl()
          Default constructor.
 
Method Summary
 CompletionBean convertToBean(WizDefinition source)
          Converts a wizard definition to a completion bean.
 WizDefinition convertToDBObject(CompletionBean source)
          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

CompletionDBObjConverterImpl

public CompletionDBObjConverterImpl()
Default constructor.

Method Detail

convertToBean

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

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

convertToDBObject

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

Specified by:
convertToDBObject in interface CompletionDBObjConverter
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.