Single occurrence all or sequence elements
When a sequence element or all element has minOccurs of 1 and maxOccurs of 1 (the default), HydraExpress does not explicitly represent the sequence or all element. Instead, HydraExpress includes the content of the group in the class definition. In other words, for the schema fragment below:
 
<complexType name="Book">
<sequence>
<element name="author" type="string"/>
<element name="title" type="string"/>
</sequence>
</complexType>
HydraExpress creates a Book class with the accessor methods getAuthor and getTitle and the mutator methods setAuthor and setTitle. There is no need to explicitly represent the sequence constraint.