org.openfjord.business.entities
Class SurveyVOFactory

java.lang.Object
  |
  +--org.openfjord.business.entities.SurveyVOFactory

public class SurveyVOFactory
extends java.lang.Object

Title: openFJORD

Description: open Flexible Java Online Research Designer

Copyright: Michael Lange

Company: University of Muenster

Version:
1.0
Author:
Michael Lange

Method Summary
static Survey createValueObject(SurveyBean surveyBean)
          Easy VO create method which returns a survey VO without the relations.
static void mergeData(Survey surveyVO, SurveyBean surveyBean)
          Fills the Date into the just created Survey Bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createValueObject

public static Survey createValueObject(SurveyBean surveyBean)
Easy VO create method which returns a survey VO without the relations. All relations are set by the ValueObjectAssembler. A SurveyLocal interface is given by the calling session bean

Returns:
mySurveyVO the created VO

mergeData

public static void mergeData(Survey surveyVO,
                             SurveyBean surveyBean)
Fills the Date into the just created Survey Bean. All relations are filled with null. They have to be set by the VO Assembler.

Parameters:
surveyVO - the given Value Object


openFJORD Copyright © 2003 University of Muenster.