TFORMer SDK - JAVA
8
|
A Project is a logical container for related FormLayout, DataSource and DataField definitions. It divides a Repository into logical units.
Exactly one GlobalProject is available for both a Repository or a stand-alone FormLayout. In the case of a Repository additional Project objects can be created by the user.
In order to access the DataFields in a Project you may either use the method Project.getDataField or you may iterate through all available DataFields using Project.getFirstDataField and DataField.getNext. If you want to know, whether the returned DataField is actually used in a FormLayout you can use the method FormLayout.getDataFieldUsage.
To retrieve all Project objects within a Repository do the following:
// Retrieve the first Project Project project = repository.getFirstProject (); while (project != null) { System.out.println (project.toString()); // Get the next Project project = project.getNext (); }
© 2006-2024 - all rights reserved by TEC-IT Datenverarbeitung GmbH |
![]() |
Generated on Thu Oct 3 2024 05:08:23 for TFORMer SDK - JAVA with doxygen 1.7.6.1 |