The 'class' element is used to store information about mapping of a class. Specifies the fully qualified package name of the Java object needed to be mapped. An optional attribute to specify the extension relationship between objects. Used only if mapping of the another object is provided. An optional attribute to specify that one object depends on another object. An optional attribute for specifying the unique identificator of the object within the persistence storage. Specifies whether Castor should use reflection to establish XML data binding information at startup time for those fields that are not mapped explicitly. If set to the name of a mapped field, this field will be used for check on object modifications during transactions (Castor JDO only). The 'map-to' element is used for specifying the name of the item that should be associated with the given Java object. An optional attribute used to specify the name of the table to which the given Java object is associated. The 'field' element is used to describe the property of a Java object. A required attribute used to identify the name of the property. An optional attribute used to identify the type of the property. Indicates whether the field should be treated as a container, i.e. only it's fields should be persisted, but not the containing class itself. In this case, the container attribute should be set to true (supported in Castor XML only). An optional attribute used to specify the type of the collection, if the property is multi-valued. The 'sql' element is used to store information about the database column to which a Java object is mapped to. An optional attribute used to store the name of the column in the database table. An optional attibute used to specify the DB-specific type of the column. An optional attribute to specify the name of the bridge table containing the primary keys of the object on each side of the many to many relationship. An optional attribute to specidy name of the columns that holds the foreign key to this object. That column is in the database table that stores objects of the Java type of this field. An optional attribute to specify cascading support; possible values are 'none', 'all', 'create', 'delete' and 'update'; it is possible to use more than one of those values (when not using 'all' or 'none'), using whitespace as a delimiter (as in 'create delete'). The 'bind-xml' element is used for specifying XML specific databinding properties and behavior for a specific field. 'bind-xml' may only appear as a child of a 'field' element. An optional attribute used for specifying the XML name for the field associated with the 'bind-xml' element. Allows specifying how Castor should automatically determines the XML name of this field when no name has been specified. In most cases the XML name is determined by using the field name, but in some cases the user may want to use the Class name of the field type. This attribute allows choosing between the two approaches. If this attribute is not specified, the field name is used as the XML name. Allows specifying a nested location path for this field, the value should just be a simplified XPath like value where names are separated by "/".