Ticket #203 (closed defect: worksforme)

Opened 2 years ago

Last modified 2 years ago

IPlan parametrization is messed

Reported by: dumoulin Owned by: romain.reuillon
Priority: low Milestone: 1.0
Component: core.workflow Version: 0.3
Severity: minor Keywords:
Cc: romain.reuillon@…

Description

If I declare a design like that:

IExperimentalDesign design

Then, if I want to access to the factors of the plan, I haven't found a better solution than:

((IPlan<IFactor<?, ?>>) design.getMethod()).getFactors()

This cast should be not needed! I think that we have to find a better API design in IPlan parametrization…

Change History

Changed 2 years ago by DefaultCC Plugin

  • cc romain.reuillon@… added

Changed 2 years ago by romain.reuillon

  • status changed from new to closed
  • resolution set to worksforme

Changed 2 years ago by dumoulin

Ok, this code works fine with r2587:

design.getMethod()).getFactors()
Note: See TracTickets for help on using tickets.

logo cemagref

logo iscpif

logo lifegrid

logo region auvergne

logo patres project