Class ModelAdapterManagerImpl
- java.lang.Object
-
- cern.accsoft.steering.aloha.model.adapt.ModelAdapterManagerImpl
-
- All Implemented Interfaces:
ModelAdapterManager
public class ModelAdapterManagerImpl extends java.lang.Object implements ModelAdapterManager
This is the implementation of a class which provides model adapters for different model types.
-
-
Constructor Summary
Constructors Constructor Description ModelAdapterManagerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JMadModelAdaptergetModelAdapter(cern.accsoft.steering.jmad.model.JMadModel model)returns a (singleton) instance of a model adapter which is valid for the given model.voidsetModelAdapters(java.util.List<JMadModelAdapter> modelAdapters)
-
-
-
Method Detail
-
getModelAdapter
public JMadModelAdapter getModelAdapter(cern.accsoft.steering.jmad.model.JMadModel model)
Description copied from interface:ModelAdapterManagerreturns a (singleton) instance of a model adapter which is valid for the given model.- Specified by:
getModelAdapterin interfaceModelAdapterManager- Parameters:
model- the model for which to find an adapter- Returns:
- the adapter.
-
setModelAdapters
public void setModelAdapters(java.util.List<JMadModelAdapter> modelAdapters)
-
-