View Javadoc

1   package com.loribel.commons.business.abstraction;
2   
3   import com.loribel.commons.abstraction.*;
4   
5   /***
6    * Abstraction of BusinessObjectProperty.
7    */
8   public interface GB_BOPropertySimple
9           extends
10              GB_NodeConfigOwner,
11              GB_IndexOwner,
12              GB_NameOwner,
13              GB_TypeOwner,
14              GB_LabelIconOwner
15  {
16      String getDescription();
17  
18      GB_BOEnumItem[] getEnumItems();
19  
20      String getLabel();
21  
22      /***
23       * Getter for type.
24       */
25      Class getType();
26  
27      /***
28       * Getter for flagBusinessObject.
29       */
30      boolean isBusinessObject();
31  
32      /***
33       * Getter for flagCalculated.
34       */
35      boolean isCalculated();
36  
37      /***
38       * Getter for flagEnum.
39       */
40      boolean isEnumeration();
41  
42      /***
43       * Returns true if the property is persistent.
44       */
45      boolean isPersistent();
46  
47      /***
48       * Returns true if the property can have multiple values.
49       */
50      boolean isPropertyMulti();
51  
52  }