Skip to main content

A question about schema writing style.

1 reply [Last post]
Joined: 2006-04-04

I am a beginner level schema writer and would appreciate some guidance with regards to this. All critiques of this schema are more than welcome. (thats expecting a bit much, but I thought Id try anyway ; )

Consider the following snippet from a schema

This would generate a CityBlock class, a Homes class which would contain a List, and finally a House class.

My question is the following:
Is it possible to write the schema in such a way that the House class contains a referece to the CityBlock it lives in? If not in the schema, would a plug-in be cabaple of implementing this? Is there a best-practice with regards to doing this?


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-06-09

I think the JAXB users list archive contains some discussion about the "parent pointers" and life cycle event.

Please search the archive. If you didn't find any, we can talk more about it.