Class ApertureDefinitionImpl
- java.lang.Object
-
- cern.accsoft.steering.jmad.domain.machine.ApertureDefinitionImpl
-
- All Implemented Interfaces:
ApertureDefinition
public class ApertureDefinitionImpl extends java.lang.Object implements ApertureDefinition
-
-
Constructor Summary
Constructors Constructor Description ApertureDefinitionImpl(ModelFile indexFile)
the constructor which enforces to provide at least the index-file
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPartFile(ModelFile partFile)
adds a file which contains part of the aperture values to this definitionModelFile
getIndexFile()
java.util.List<ModelFile>
getPartFiles()
-
-
-
Constructor Detail
-
ApertureDefinitionImpl
public ApertureDefinitionImpl(ModelFile indexFile)
the constructor which enforces to provide at least the index-file- Parameters:
indexFile
- the file with the aperture index
-
-
Method Detail
-
getIndexFile
public ModelFile getIndexFile()
- Specified by:
getIndexFile
in interfaceApertureDefinition
- Returns:
- the file which defines the s-positions of the aperture-model
-
getPartFiles
public java.util.List<ModelFile> getPartFiles()
- Specified by:
getPartFiles
in interfaceApertureDefinition
- Returns:
- a list of files that really contain the aperture values
-
addPartFile
public void addPartFile(ModelFile partFile)
adds a file which contains part of the aperture values to this definition- Parameters:
partFile
- the file to add.
-
-