I have a little problem with xsd and jaxbI have the following xsd \[code\]<xs:complexType name="Activities"> <xs:annotation> <xs:documentation>...</xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="activities" type="orch:Activity" minOccurs="0" maxOccurs="unbounded" /> <xs:element name="hypermedia" type="rest:Hypermedia" maxOccurs="1" minOccurs="1" /> </xs:sequence> </xs:complexType> <xs:complexType name="Transitions"> <xs:sequence> <xs:element name="transition" type="orch:ConditionedTransition" minOccurs="0" maxOccurs="unbounded" /> <xs:element name="default" type="orch:Transition" maxOccurs="1" minOccurs="1" /> </xs:sequence> </xs:complexType>\[/code\]and I would like that jaxb would generate a method like the following\[code\]public Transitions getTransitions() { if(this.transitions == null) { this.transitions = new Transitions(); } return transitions; }\[/code\]instead I am able to generate only a method like this\[code\]public Transitions getTransitions() { return transitions; }\[/code\]Any idea about solution. Thank you in advance for any help!!:-D