Class ServerDataModel

java.lang.Object
org.scictrl.mp.orbitcorrect.mvc.ApplicationModel
org.scictrl.mp.orbitcorrect.server.ServerDataModel

public class ServerDataModel extends ApplicationModel
Holds references to all data entities and value collections. These are main data with which orbit correction operates. Values here must be managed by OrbitCorrectionApplication.
Author:
igor@scictrl.com
  • Field Details

    • AVAILABLE_CORRECTION_MODELS_H

      public static final String AVAILABLE_CORRECTION_MODELS_H
      Constant AVAILABLE_CORRECTION_MODELS_H="availableCorrectionModelsH"
      See Also:
    • AVAILABLE_CORRECTION_MODELS_V

      public static final String AVAILABLE_CORRECTION_MODELS_V
      Constant AVAILABLE_CORRECTION_MODELS_V="availableCorrectionModelsV"
      See Also:
    • CORRECTION_MODEL_V

      public static final String CORRECTION_MODEL_V
      Constant CORRECTION_MODEL_V="correctionModelV"
      See Also:
    • CORRECTION_MODEL_H

      public static final String CORRECTION_MODEL_H
      Constant CORRECTION_MODEL_H="correctionModelH"
      See Also:
    • AVAILABLE_BPMS_H

      public static final String AVAILABLE_BPMS_H
      Constant AVAILABLE_BPMS_H="availableBpmsH"
      See Also:
    • AVAILABLE_BPMS_V

      public static final String AVAILABLE_BPMS_V
      Constant AVAILABLE_BPMS_V="availableBpmsV"
      See Also:
    • AVAILABLE_CORRECTORS_H

      public static final String AVAILABLE_CORRECTORS_H
      Constant AVAILABLE_CORRECTORS_H="availableCorrectorsH"
      See Also:
    • AVAILABLE_CORRECTORS_V

      public static final String AVAILABLE_CORRECTORS_V
      Constant AVAILABLE_CORRECTORS_V="availableCorrectorsV"
      See Also:
    • SELECTED_BPMS_H

      public static final String SELECTED_BPMS_H
      Constant SELECTED_BPMS_H="selectedBpmsH"
      See Also:
    • SELECTED_BPMS_V

      public static final String SELECTED_BPMS_V
      Constant SELECTED_BPMS_V="selectedBpmsV"
      See Also:
    • SELECTED_CORRECTORS_H

      public static final String SELECTED_CORRECTORS_H
      Constant SELECTED_CORRECTORS_H="selectedCorrectorsH"
      See Also:
    • SELECTED_CORRECTORS_V

      public static final String SELECTED_CORRECTORS_V
      Constant SELECTED_CORRECTORS_V="selectedCorrectorsV"
      See Also:
    • BPMS_H_SELECTION

      public static final String BPMS_H_SELECTION
      Constant BPMS_H_SELECTION="bpmsHSelection"
      See Also:
    • BPMS_V_SELECTION

      public static final String BPMS_V_SELECTION
      Constant BPMS_V_SELECTION="bpmsVSelection"
      See Also:
    • CORRECTORS_H_SELECTION

      public static final String CORRECTORS_H_SELECTION
      Constant CORRECTORS_H_SELECTION="correctorsHSelection"
      See Also:
    • CORRECTORS_V_SELECTION

      public static final String CORRECTORS_V_SELECTION
      Constant CORRECTORS_V_SELECTION="correctorsVSelection"
      See Also:
  • Constructor Details

    • ServerDataModel

      public ServerDataModel()

      Constructor for ServerDataModel.

  • Method Details

    • getAvailableCorrectionModelsH

      public List<IOrbitCorrectionModel> getAvailableCorrectionModelsH()

      Getter for the field availableCorrectionModelsH.

      Returns:
      a List object
    • setAvailableCorrectionModelsH

      public void setAvailableCorrectionModelsH(List<IOrbitCorrectionModel> availableCorrectionModelsH)

      Setter for the field availableCorrectionModelsH.

      Parameters:
      availableCorrectionModelsH - a List object
    • getAvailableCorrectionModelsV

      public List<IOrbitCorrectionModel> getAvailableCorrectionModelsV()

      Getter for the field availableCorrectionModelsV.

      Returns:
      a List object
    • setAvailableCorrectionModelsV

      public void setAvailableCorrectionModelsV(List<IOrbitCorrectionModel> availableCorrectionModelsV)

      Setter for the field availableCorrectionModelsV.

      Parameters:
      availableCorrectionModelsV - a List object
    • addAvailableCorrectionModel

      public void addAvailableCorrectionModel(IOrbitCorrectionModel model)

      addAvailableCorrectionModel.

      Parameters:
      model - a IOrbitCorrectionModel object
    • getAvailableCorrectionModels

      public List<IOrbitCorrectionModel> getAvailableCorrectionModels(Orientation o)

      getAvailableCorrectionModels.

      Parameters:
      o - a Orientation object
      Returns:
      a List object
    • getAvailableCorrectionModels

      public List<IOrbitCorrectionModel> getAvailableCorrectionModels(IOrientationMarker om)

      getAvailableCorrectionModels.

      Parameters:
      om - a IOrientationMarker object
      Returns:
      a List object
    • setCorrectionModel

      public void setCorrectionModel(IOrbitCorrectionModel correctionModel)

      setCorrectionModel.

      Parameters:
      correctionModel - a IOrbitCorrectionModel object
    • setCorrectionModelH

      public void setCorrectionModelH(IOrbitCorrectionModel correctionModel)

      Setter for the field correctionModelH.

      Parameters:
      correctionModel - a IOrbitCorrectionModel object
    • getCorrectionModelH

      public IOrbitCorrectionModel getCorrectionModelH()

      Getter for the field correctionModelH.

      Returns:
      a IOrbitCorrectionModel object
    • setCorrectionModelV

      public void setCorrectionModelV(IOrbitCorrectionModel correctionModel)

      Setter for the field correctionModelV.

      Parameters:
      correctionModel - a IOrbitCorrectionModel object
    • getCorrectionModelV

      public IOrbitCorrectionModel getCorrectionModelV()

      Getter for the field correctionModelV.

      Returns:
      a IOrbitCorrectionModel object
    • getAvailableBpmsH

      public ElementList<BPMonitor> getAvailableBpmsH()

      Getter for the field availableBpmsH.

      Returns:
      a ElementList object
    • getAvailableBpmsV

      public ElementList<BPMonitor> getAvailableBpmsV()

      Getter for the field availableBpmsV.

      Returns:
      a ElementList object
    • getAvailableCorrectorsH

      public ElementList<AbstractCorrector> getAvailableCorrectorsH()

      Getter for the field availableCorrectorsH.

      Returns:
      a ElementList object
    • getAvailableCorrectorsV

      public ElementList<AbstractCorrector> getAvailableCorrectorsV()

      Getter for the field availableCorrectorsV.

      Returns:
      a ElementList object
    • getSelectedBpmsH

      public ElementList<BPMonitor> getSelectedBpmsH()

      Getter for the field selectedBpmsH.

      Returns:
      a ElementList object
    • getSelectedBpmsV

      public ElementList<BPMonitor> getSelectedBpmsV()

      Getter for the field selectedBpmsV.

      Returns:
      a ElementList object
    • getSelectedCorrectorsH

      public ElementList<AbstractCorrector> getSelectedCorrectorsH()

      Getter for the field selectedCorrectorsH.

      Returns:
      a ElementList object
    • getSelectedCorrectorsV

      public ElementList<AbstractCorrector> getSelectedCorrectorsV()

      Getter for the field selectedCorrectorsV.

      Returns:
      a ElementList object
    • getBpmsHSelection

      public boolean[] getBpmsHSelection()

      Getter for the field bpmsHSelection.

      Returns:
      an array of
      invalid reference
      boolean
      objects
    • getBpmsVSelection

      public boolean[] getBpmsVSelection()

      Getter for the field bpmsVSelection.

      Returns:
      an array of
      invalid reference
      boolean
      objects
    • getCorrectorsHSelection

      public boolean[] getCorrectorsHSelection()

      Getter for the field correctorsHSelection.

      Returns:
      an array of
      invalid reference
      boolean
      objects
    • getCorrectorsVSelection

      public boolean[] getCorrectorsVSelection()

      Getter for the field correctorsVSelection.

      Returns:
      an array of
      invalid reference
      boolean
      objects
    • getAvailableBPMs

      public ElementList<BPMonitor> getAvailableBPMs(Orientation orinetation)

      getAvailableBPMs.

      Parameters:
      orinetation - a Orientation object
      Returns:
      a ElementList object
    • getSelectedBPMs

      public ElementList<BPMonitor> getSelectedBPMs(Orientation orinetation)

      getSelectedBPMs.

      Parameters:
      orinetation - a Orientation object
      Returns:
      a ElementList object
    • getBPMsSelection

      public boolean[] getBPMsSelection(Orientation orinetation)

      getBPMsSelection.

      Parameters:
      orinetation - a Orientation object
      Returns:
      an array of
      invalid reference
      boolean
      objects
    • getAvailableCorrectors

      public ElementList<AbstractCorrector> getAvailableCorrectors(Orientation orientation)

      getAvailableCorrectors.

      Parameters:
      orientation - a Orientation object
      Returns:
      a ElementList object
    • setBpmsHSelection

      public void setBpmsHSelection(boolean[] bpmsHSelection)

      Setter for the field bpmsHSelection.

      Parameters:
      bpmsHSelection - an array of
      invalid reference
      boolean
      objects
    • setSelectedBpmsH

      public void setSelectedBpmsH(ElementList<BPMonitor> selectedBpmsH)

      Setter for the field selectedBpmsH.

      Parameters:
      selectedBpmsH - a ElementList object
    • setAvailableBpmsH

      public void setAvailableBpmsH(ElementList<BPMonitor> availableBpmsH)

      Setter for the field availableBpmsH.

      Parameters:
      availableBpmsH - a ElementList object
    • setBpmsVSelection

      public void setBpmsVSelection(boolean[] bpmsVSelection)

      Setter for the field bpmsVSelection.

      Parameters:
      bpmsVSelection - an array of
      invalid reference
      boolean
      objects
    • setSelectedBpmsV

      public void setSelectedBpmsV(ElementList<BPMonitor> selectedBpmsV)

      Setter for the field selectedBpmsV.

      Parameters:
      selectedBpmsV - a ElementList object
    • setAvailableBpmsV

      public void setAvailableBpmsV(ElementList<BPMonitor> availableBpmsV)

      Setter for the field availableBpmsV.

      Parameters:
      availableBpmsV - a ElementList object
    • setCorrectorsHSelection

      public void setCorrectorsHSelection(boolean[] correctorsHSelection)

      Setter for the field correctorsHSelection.

      Parameters:
      correctorsHSelection - an array of
      invalid reference
      boolean
      objects
    • setSelectedCorrectorsH

      public void setSelectedCorrectorsH(ElementList<AbstractCorrector> selectedCorrectorsH)

      Setter for the field selectedCorrectorsH.

      Parameters:
      selectedCorrectorsH - a ElementList object
    • setAvailableCorrectorsH

      public void setAvailableCorrectorsH(ElementList<AbstractCorrector> availableCorrectorsH)

      Setter for the field availableCorrectorsH.

      Parameters:
      availableCorrectorsH - a ElementList object
    • setCorrectorsVSelection

      public void setCorrectorsVSelection(boolean[] correctorsVSelection)

      Setter for the field correctorsVSelection.

      Parameters:
      correctorsVSelection - an array of
      invalid reference
      boolean
      objects
    • setSelectedCorrectorsV

      public void setSelectedCorrectorsV(ElementList<AbstractCorrector> selectedCorrectorsV)

      Setter for the field selectedCorrectorsV.

      Parameters:
      selectedCorrectorsV - a ElementList object
    • setAvailableCorrectorsV

      public void setAvailableCorrectorsV(ElementList<AbstractCorrector> availableCorrectorsV)

      Setter for the field availableCorrectorsV.

      Parameters:
      availableCorrectorsV - a ElementList object