Hi Thomas, as far as I know Castor only uses
ArrayList getStyles() and calls get and add on the list returned. With your merge and split of the lists would expect problems at unmarshalling but I don't see a reason why marshalling fails. Are you sure the Styles are correctly set on the parent object? Regards Ralf Thomas Schoofs schrieb: > Hi Castor Community, > > The general question is in with way access castor the java objects? > In my comprehension it should use the getter and setter Methode. > > I create an object with the setter Methode > "setStyles(ArrayList<Style>)". The type "Style" is other java object. > I modified the setter Methode to split the array- list into four > differed array-lists. The split depends on the name of the Style. The > getter method merges the four differed array- lists to one list and > returns them. > > In my opinion nothing has change for castor framework but the list of > Styles is missing in the output xml file. > > My first idea was to set the getter and setter methods in the mapping > file. But nothing happens. The list of styles is missing in the output > xml, too > > > Any idea where is the failure? > > Regards > Thomas > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email -- Syscon Ingenieurbüro für Meß- und Datentechnik GmbH Ralf Joachim Raiffeisenstraße 11 72127 Kusterdingen Germany Tel. +49 7071 3690 52 Mobil: +49 173 9630135 Fax +49 7071 3690 98 Internet: www.syscon.eu E-Mail: [EMAIL PROTECTED] Sitz der Gesellschaft: D-72127 Kusterdingen Registereintrag: Amtsgericht Stuttgart, HRB 382295 Geschäftsleitung: Jens Joachim, Ralf Joachim --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

