(Imported from Google Code)
Currently, the Component Builder framework automatically creates empty child Builders if null, or an empty List of Builders, but callers must still add initial Builders into the Lists before working with them in a form UI.
It would be more flexible if all the Lists in the Builders used a lazy list instantiation approach so listed components could be added/removed from a web page. For example,
This code should automatically create an Identifier.Builder in slot 0 and 1 if slot 1 is currently null.
Consider use of the commons-collections framework. Or, if that is too much overkill, do a custom implementation.