Model Components | ![]() |
![]() |
Model Components are classified into |
|
|
Collections | |
![]() |
A collection represents a group of objects, known as its elements. Code Generation Components There are three types of Code generation methods. They are Check out the Examples of each using Arrays, |
Method : Direct Initialization | |
![]() | |
|
|
Top |
Method : InLine Initialization | |
![]() | |
Choosing "InLine Initialization" option constructs & returns a Collection component (as array, Vector or Hashtable ) during runtime from ModelComponent. This option requires CockTail.jar. The ClassPath should be set to CockTail. The following code will be placed under Constructor part of the generated Code.
|
|
Top |
Method : Separate Method | |
![]() | |
Choosing "Separte Method" option constructs & returns a Method. That Method returns
as required Collection component (as array, Vector or Hashtable )
during runtime from ModelComponent.
This option requires CockTail.jar. The ClassPath should be set to CockTail.jar
The Method code will be placed under Method area of the generated Code.
// Methods ...
}catch(Exception ge){System.out.println(ge);}
String[] tempString = new String[rowData.size()];
|
|
Top |
UI DataModel | |
|
|
Top |