Bean data elements supported data types

Bean data elements support simple and complex data types.
The following table describes the simple data type supported by the Bean data elements:
Table 1. Simple Type
Data type Description
byte, int, char, long, float, double, boolean, short and String POJO's attributes can be these type and the bean collection can retrieve their values.
Set POJO's attributes can be Set and the bean collection can retrieve its value as a Set object.
Date and Time POJO's attributes can be Date and Time and the bean collection can retrieve its value as Date and Time object.
Extended simple type You can define any object as the POJO's attributes, and the bean collection can retrieve its value. To extend simple data type, see Extending simple data types.

The following table describes the complex data type supported by the bean data elements:

Table 2. Complex Type
Data type Description
CopyOnWriteArrayList, Arraylist, LinkedList, AttributeList, RoleList, RoleUnresolvedList, Stack and Vector POJO's attributes can be these list types and the bean collection can retrieve data element as a list object and get its value by its index number.
ConcurrentHashMap, HashMap, Hashtable, LinkedHashMap, Properties, TreeMap, UIDefaults, and WeakHashMap POJO's attributes can be these map types, and the bean collection can retrieve the data element as a map object and get its value by its key name. The key name must be a string value.
byte[], int[], char[], long[], float[], double[], boolean[], short[] and String[] POJO's attributes can be these array types, and the bean collection can retrieve the data element as an array object and get its value by its index number.
nested Java™ Bean POJO's attributes can be another POJO and the bean collection can retrieve the data element as the nested POJO object, and get its value by the attribute name of the nested POJO.