com.ca.commons.datamodel
Interface DataModelBuilder

All Known Subinterfaces:
DataModelEditor
All Known Implementing Classes:
ConcurrentBuilder, DataModelBuilderImpl, DataModelEditorImpl

public interface DataModelBuilder

This class handles the composition of any number of model fragments into a single non-JAXB merged image of the model.


Field Summary
static Logger metadataMismatchLogger
           
 
Method Summary
 DataModel getDataModel()
           
 void mergeFragment(DataModelSource readSource)
          Used to read in a fragment containing values which aren't going to edited, either because the client application is read-only or because this fragment is static as far as it is concerned.
 

Field Detail

metadataMismatchLogger

static final Logger metadataMismatchLogger
Method Detail

getDataModel

@NotNull
DataModel getDataModel()

mergeFragment

void mergeFragment(@NotNull
                   DataModelSource readSource)
                   throws DataModelException,
                          IOException,
                          javax.xml.bind.JAXBException
Used to read in a fragment containing values which aren't going to edited, either because the client application is read-only or because this fragment is static as far as it is concerned.

Parameters:
readSource - Read-only source from which datamodel fragment should be read.
Throws:
DataModelSourceException - Problem getting, or processing, fragment.
DataModelException
IOException
javax.xml.bind.JAXBException


Created 2011-07-14 13:27 EST