Interface IOperationModel

All Known Implementing Classes:
AbsoluteIntensityCalibrationModel, AbstractOperationModel, AffineTransformImageModel, AttenuationCorrection1DModel, AttenuationCorrectionModel, AverageSectionsOfFastestModel, AxisPullthroughModel, AzimuthalIntegrationDifferenceModel, AzimuthalPixelIntegrationModel, AzimuthalProfileToolModel, BlobExtractionModel, BoxIntegrationModel, BoxModel, BoxProfileToolModel, BoxSlicer1DModel, BoxSlicerModel, CakePixelIntegrationModel, CinaderOrientationModel, CitedModel, ConcatenatingTwoDatasetsModel, ConvertAxisTypeModel, CoordinateMaskModel, Crop1DModel, Crop2DModel, CropAroundPeak2DModel, DataPullthroughModel, DataWrittenModel, DCDQNormalisationModel, DegreeOfCrystallinityModel, DerivativeModel, DetectorEfficiencyCalculationModel, DifferentialPhaseContrastModel, DiffractionEllipseFitModel, DiffractionMetadataConversionModel, DiffractionMetadataImportModel, DigitalFilterModel, DilateMaskModel, DownsampleGridModel, DownsampleImageModel, ElasticLineReductionModel, EmptyModel, EnterDiffractionCalibrationModel, Export1DNXcanSASModel, Export2DBSLModel, ExportAsATSASModel, ExportAsText1DModel, ExportAsText2DModel, ExportImageModel, ExportTiffOperationModel, Expression1DModel, Expression2DModel, ExternalChannelAverageFrameModel, ExternalDataModel, ExternalDataSelectedFramesModel, FileMetadataModel, FilterDataModel, FittingModel, FluxCorrectionModel, FrameMathsFromPeakModel, FunctionFittingModel, FunctionModel, GeneralDetectorErrorModel, GeometricCorrectionModel, GuinierFittingModel, HermanOrientation1DModel, HermanOrientationModel, ImageIntegrationModel, ImportMaskInternalFilepathModel, ImportMaskModel, IntegrateImageMatchedAxesModel, IntegrationModel, InternalChannelAverageFrameModel, InternalDataModel, InternalDataSelectedFramesModel, InternalStringExternalDataModel, InterpolateMissingDataModel, InvalidateDataUnderMaskModel, IterativePolynomialBaselineSubtractionModel, KernelWidthModel, KratkyFittingModel, LocateInRowsModel, MaskOutliersInQModel, MaskOutsideRegionModel, MultipleDetectorScalerModel, MultiplicativeIntensityCorrectionModel, Pauw1DBackgroundSubtractionModel, Pauw2DBackgroundSubtractionModel, PeakFittingToolModel, PixelIntegrationModel, PolygonIntegrationModel, Polynomial2DReflectivityModel, PolynomialSmoothModel, PorodFittingModel, POSDetectorErrorModel, PyrometryModel, QErrorsModel, RadialProfileToolModel, RangeIntegration1DModel, ReadDetectorInformationModel, ReadMultiPositionDetectorInformationModel, Rebinning1DModel, RegionSumModel, RixsBaseModel, RixsImageCombinedReductionModel, RixsImageReductionBaseModel, RixsImageReductionModel, RodScanPolynomial2DModel, RollingBallBaselineModel, RotatedCartesianBoxModel, RotateImageModel, SavitzkyGolayModel, SaxsPlotModel, SectorIntegrationModel, SelectedFramesModel, SelfAbsorptionCorrectionModel, SetAxisModel, SimpleSectorIntegrationModel, SleepModel, SplineBaselineModel, StitchingImagesModel, StitchingTwoImagesModel, SubtractBackgroundImageModel, SubtractBlankFrameModel, SubtractFittedBackgroundModel, SubtractIntegratedXRegionsModel, SubtractMatchedIntensityModel, SubtractRemappedExternalDataModel, SubtractWithProcessingModel, SurfaceScatteringRemappingModel, ThresholdImageModel, ThresholdMaskModel, TopBottomProfileSubtractionModel, TParameterModel, Trim1DModel, TwoBoxModel, TwoDPolynomialBackgroundFitAndSubtractModel, UsaxsDarkcurrentModel, UsaxsTransmissionCorrectionModel, UsaxsTwoThetaToQModel, ValueModel, XAFSBraggPeakCorrectionModel, XAFSEDEPostEdgeBackgroundModel, XAFSFFTModel, XAFSNormalisationModel, XAFSRebinningModel, XAFSRelativeNormalisationModel, XAFSShiftEnergyAxisModel, XasDeglitchIndividualPointsModel, XasDeglitchMultiplePointsModel, XRangeModel, XRegionProfileNormalizeModel, XRFDeadTimeCorrectionModel, XRFElementalMappingROIModel, XRFGenerateEnergyAxisModel, ZoomProfileToolModel

public interface IOperationModel
A model to use with operations. Do not put JSON stuff in here. This model is designed to be the POJO and should be separate from the serialization methods such as XML or JSON. It should not contain mathematical methods or non-data operations. OperationModel objects must be POJOs! Do not put unexpected methods not involved with setting and getting the data. Put only model things here or the reflection risks doing the wrong thing or perhaps unintended dependencies will be created.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String name)
    Get a field by name using reflection.
    boolean
     
    set(String name, Object value)
    Set a field by name using reflection.
  • Method Details

    • get

      Object get(String name) throws Exception
      Get a field by name using reflection.
      Parameters:
      name -
      Returns:
      field value
      Throws:
      Exception
    • set

      Object set(String name, Object value) throws Exception
      Set a field by name using reflection.
      Parameters:
      name -
      Returns:
      fields old value, or null
      Throws:
      Exception
    • isModelField

      boolean isModelField(String name) throws Exception
      Parameters:
      name -
      Returns:
      true if the given field in in the model and does not have an annotation making it invisible.
      Throws:
      Exception