public class NeuroMLModelInterpreterService extends AModelInterpreter
Modifier and Type | Field and Description |
---|---|
private static Log |
_logger |
private GeppettoModelAccess |
access |
private ModelInterpreterConfig |
neuroMLModelInterpreterConfig |
private PopulateTypes |
populateTypes |
private OptimizedLEMSReader |
reader |
private java.util.Map<java.lang.String,Type> |
types |
dependentModels
Constructor and Description |
---|
NeuroMLModelInterpreterService() |
Modifier and Type | Method and Description |
---|---|
private void |
addTypesToLibrary(GeppettoLibrary library) |
java.io.File |
downloadModel(Pointer pointer,
ModelFormat format,
IAspectConfiguration aspectConfiguration) |
Type |
extractTypes(java.net.URL url,
java.lang.String typeId,
GeppettoLibrary library,
GeppettoModelAccess access,
ILEMSDocument lemsDocument,
NeuroMLDocument neuroMLDocument,
NetworkHelper networkHelper) |
GeppettoModelAccess |
getAccess() |
java.lang.String |
getName() |
PopulateTypes |
getPopulateTypes() |
java.util.List<ModelFormat> |
getSupportedOutputs(Pointer pointer) |
private Type |
getUniqueType() |
Type |
importType(java.net.URL url,
java.lang.String typeId,
GeppettoLibrary library,
GeppettoModelAccess access) |
void |
registerGeppettoService() |
getDependentModels, importValue
addFeature, getFeature, getScope, getsetProjectId, isSupported, setProjectId, setScope
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addFeature, getFeature, isSupported
private static Log _logger
private ModelInterpreterConfig neuroMLModelInterpreterConfig
private java.util.Map<java.lang.String,Type> types
private PopulateTypes populateTypes
private GeppettoModelAccess access
private OptimizedLEMSReader reader
public Type importType(java.net.URL url, java.lang.String typeId, GeppettoLibrary library, GeppettoModelAccess access) throws ModelInterpreterException
ModelInterpreterException
public Type extractTypes(java.net.URL url, java.lang.String typeId, GeppettoLibrary library, GeppettoModelAccess access, ILEMSDocument lemsDocument, NeuroMLDocument neuroMLDocument, NetworkHelper networkHelper) throws NeuroMLException, LEMSException, GeppettoVisitingException, ContentError, ModelInterpreterException
NeuroMLException
LEMSException
GeppettoVisitingException
ContentError
ModelInterpreterException
private void addTypesToLibrary(GeppettoLibrary library)
private Type getUniqueType() throws ModelInterpreterException
ModelInterpreterException
public java.lang.String getName()
public PopulateTypes getPopulateTypes()
public void registerGeppettoService()
public java.io.File downloadModel(Pointer pointer, ModelFormat format, IAspectConfiguration aspectConfiguration) throws ModelInterpreterException
ModelInterpreterException
public java.util.List<ModelFormat> getSupportedOutputs(Pointer pointer) throws ModelInterpreterException
getSupportedOutputs
in interface IModelInterpreter
getSupportedOutputs
in class AModelInterpreter
ModelInterpreterException
public GeppettoModelAccess getAccess()