Tables
Unbounded Occurring Elements in XSD
staff, which you can use to select a group of colleagues as members of staff and assign them a manager. The following table reflects the definition of this data type in the XSD editor:
Definition of an Unbounded XSD Element Within a Structure
| Structure | Category | Type | Occurrence | Description | |
|---|---|---|---|---|---|
|
staff |
Complex Type |
||||
|
[-] manager |
Element |
1 |
staff manager |
||
|
name |
Element |
xsd:string |
1 |
||
|
birthday |
Element |
xsd:date |
1 |
||
|
[-] employee |
Element |
1..unbounded |
staff members |
||
|
name |
Element |
xsd:string |
1 |
||
|
birthday |
Element |
xsd:date |
1 |
employeecan occur more than once in the corresponding XML schema.
Conversion to Java Classes
Java proxy generation in the ES Builder generates the class Staff_Type for the data type staff. This class can be reused just like the data type in the Enterprise Services Repository. The class provides two alternatives for accessing the values of the element employee that can occur infinitely in the message:
- The method getEmployee() returns an array type Staff_Type.Employee_Type[]
- The method get_as_listEmployee() returns an object of type Staff_Type.Employee_List for accessing the values with list methods.
The class Staff_Type contains the inner class Staff_Type.Employee_List for accessing with list methods as well as the inner classes Staff_Type.Employee_Type and Staff_Type.Manager_Type.
Class Hierarchy with Public Methods in UML Notation
