Hello,
Is their any way to make jibx Ignore unmapped XML collections during unmarshalling
My java class
public class xxxx {
HashSet projectRow;
HashSet workOrderRow;
HashSet bjcWorkOrderRow;
HashSet bjcWellServiceRow;
HashSet wellRow;
HashSet rmInformationItemRow;
HashSet rmPhysicalItemRow;
HashSet bjcRServiceProductTypeRow;
HashSet bjcRServicePropertyRow;
HashSet bjcRTubingTypeAliasRow;
HashSet rActivityTypeRow;
HashSet rAdditiveTypeRow
……..
…….
}
Except for the 1st five items I don’t want any thing from the xml file.
<mapping name="xxxxxxx" class="domain.xxxx" ordered="false" >
<collection field="projectRow" usage="optional" >
<structure map-as="domain.Project" />
</collection>
<collection field="workOrderRow" usage="optional" >
<structure map-as="domain.WorkOrder" />
</collection>
<collection field="bjcWorkOrderRow" usage="optional" >
<structure map-as="domain.BjcWorkOrder" />
</collection>
<collection field="bjcWellServiceRow" usage="optional" >
<structure map-as="domain.BjcWellService" />
</collection>
<collection field="wellRow" usage="optional" >
<structure map-as="domain.Well" />
</collection>
xml file contains reference data, how to ignore reference the which is in the form of collection.
***************************************************************************
* This e-mail was scanned by a McAfee e500 appliance when sent
***************************************************************************
