View Javadoc
1   package com.loribel.commons.business.abstraction;
2   
3   /***
4    * Abstraction of a simple BusinessObject with setter for values.
5    * <br />
6    *
7    * @author Grégory Borelli
8    */
9   public interface GB_SimpleBusinessObjectSet
10          extends
11              GB_SimpleBusinessObject,
12              GB_BOParentOwnerSet
13  {
14      /***
15       * Add a value for the property <tt>a_propertyName</tt>
16       *
17       * @param a_propertyName String -
18       * @param a_value Object -
19       */
20      void addPropertyValue(
21              String a_propertyName,
22              Object a_value);
23  
24      /***
25       * Set the value of the property <tt>a_propertyName</tt>
26       *
27       * @param a_propertyName String -
28       * @param a_value Object -
29       */
30      void setPropertyValue(
31              String a_propertyName,
32              Object a_value);
33  
34      /***
35       * Remove a value for the property <tt>a_propertyName</tt>
36       *
37       * @param a_propertyName String -
38       * @param a_value Object -
39       */
40      void removePropertyValue(
41              String a_propertyName,
42              Object a_value);
43  
44      /***
45       * Set the businessObject read-only.
46       */
47      void setReadOnly(
48              boolean a_readOnly);
49  
50      /***
51       * Add a value for the property <tt>a_propertyName</tt>
52       *
53       * @param a_propertyName String -
54       * @param a_value Object -
55       */
56      void putPropertyValueMap(
57              String a_propertyName,
58              String a_name,
59              Object a_value);
60  
61      /***
62       * Remove a value for the property <tt>a_propertyName</tt>
63       *
64       * @param a_propertyName String -
65       * @param a_value Object -
66       */
67      void removePropertyValueMap(
68              String a_propertyName,
69              String a_name);
70  
71      
72      void setModified(boolean a_flag);
73  }