Class TableModelFileImpl
- java.lang.Object
-
- cern.accsoft.steering.jmad.domain.file.AbstractModelFile
-
- cern.accsoft.steering.jmad.domain.file.TableModelFileImpl
-
- All Implemented Interfaces:
ModelFile
,TableModelFile
public class TableModelFileImpl extends AbstractModelFile implements TableModelFile
A model file which will be loaded as table
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface cern.accsoft.steering.jmad.domain.file.ModelFile
ModelFile.ModelFileLocation
-
-
Field Summary
-
Fields inherited from class cern.accsoft.steering.jmad.domain.file.AbstractModelFile
DEFAULT_MODEL_FILE_LOCATION
-
-
Constructor Summary
Constructors Constructor Description TableModelFileImpl()
default constructor.TableModelFileImpl(java.lang.String path, ModelFile.ModelFileLocation location)
TableModelFileImpl(java.lang.String path, ModelFile.ModelFileLocation location, java.lang.String tableName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getTableName()
return the name of the table which will hold the data after loadting.-
Methods inherited from class cern.accsoft.steering.jmad.domain.file.AbstractModelFile
abstractReadResolve, clone, equals, fillWriteReplace, getLocation, getName, hashCode
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface cern.accsoft.steering.jmad.domain.file.ModelFile
getLocation, getName
-
-
-
-
Constructor Detail
-
TableModelFileImpl
public TableModelFileImpl()
default constructor. Necessary for XStream
-
TableModelFileImpl
public TableModelFileImpl(java.lang.String path, ModelFile.ModelFileLocation location)
-
TableModelFileImpl
public TableModelFileImpl(java.lang.String path, ModelFile.ModelFileLocation location, java.lang.String tableName)
-
-
Method Detail
-
getTableName
public java.lang.String getTableName()
Description copied from interface:TableModelFile
return the name of the table which will hold the data after loadting.If this is
null
then readtyble will be used. Otherwise 'readmytable' will be used in madx.- Specified by:
getTableName
in interfaceTableModelFile
- Returns:
- the name of the table where to load the file into
-
-