View Javadoc

1   /*
2    * Created on 2005-08-11
3    *
4    * TODO To change the template for this generated file go to
5    * Window - Preferences - Java - Code Style - Code Templates
6    */
7   package com.loribel.commons.business.abstraction;
8   
9   import com.loribel.commons.exception.*;
10  
11  /***
12   *  Abstraction of a copyBOValue class.
13   *
14   * @author Gregory Borelli
15   */
16  public interface GB_BOCopyValue
17  {
18      /***
19       * Copy one value of <tt>a_boWithValues</tt> to <tt>a_bo</tt>.
20       */
21      public void copyValue(
22              GB_SimpleBusinessObjectSet a_bo,
23              GB_SimpleBusinessObject a_boWithValues,
24              String a_propertyName,
25              boolean a_flagCreateChildren)
26          throws GB_BOException;
27  
28      /***
29       * Copy all values of <tt>a_boWithValues</tt> to <tt>a_bo</tt>.
30       */
31      public void copyValues(
32              GB_SimpleBusinessObjectSet a_bo,
33              GB_SimpleBusinessObject a_boWithValues,
34              boolean a_flagCreateChildren)
35          throws GB_BOException;
36  }