Class StrategyImpl

java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
fr.ifremer.isisfish.entities.StrategyAbstract
fr.ifremer.isisfish.entities.StrategyImpl
All Implemented Interfaces:
Strategy, Serializable, org.nuiton.topia.persistence.TopiaEntity, org.nuiton.topia.persistence.TopiaEntityContextable

public class StrategyImpl extends StrategyAbstract
Implantation des operations pour l'entité Strategy. Created: 20 janv. 2006 03:29:14
Version:
$Revision$ Last update: $Date$ by : $Author$
Author:
poussin
See Also:
  • Constructor Details

    • StrategyImpl

      public StrategyImpl()
  • Method Details

    • getFisheryRegion

      public FisheryRegion getFisheryRegion()
    • setName

      public void setName(String value)
      Override to change name of equation.
      Specified by:
      setName in interface Strategy
      Overrides:
      setName in class StrategyAbstract
      See Also:
    • setInactivityEquation

      public void setInactivityEquation(Equation inactivityEquation)
      Set inactivityEquation. Do not forget to specify inactivity equation use.
      Specified by:
      setInactivityEquation in interface Strategy
      Overrides:
      setInactivityEquation in class StrategyAbstract
      Parameters:
      inactivityEquation -
    • getStrategyMonthInfo

      public List<StrategyMonthInfo> getStrategyMonthInfo()
      Specified by:
      getStrategyMonthInfo in interface Strategy
      Overrides:
      getStrategyMonthInfo in class StrategyAbstract
    • getStrategyMonthInfo

      public StrategyMonthInfo getStrategyMonthInfo(Month month)
    • getInactivityDays

      public double getInactivityDays(Month month)
      Compute or return inactivity days.
      Parameters:
      month - month
      Returns:
      age in month
    • getEffortNominalPerVessel

      public double getEffortNominalPerVessel(Month month)
    • isInactivityEquationUsed

      public boolean isInactivityEquationUsed()
    • isEffortEquationUsed

      public boolean isEffortEquationUsed()
    • computeNumberOfTrips

      protected void computeNumberOfTrips()
    • setInactivityEquationContent

      public void setInactivityEquationContent(String content)
      Set inactivityEquation content. Do not forget to specify inactivity equation use.
      Parameters:
      content - inactivityEquation content
    • setEffortEquationContent

      public void setEffortEquationContent(String content)
      Set effortEquation content.
      Parameters:
      content - effortEquation content
    • getProportionMetier

      public org.nuiton.math.matrix.MatrixND getProportionMetier()
      Return a single matrix with all sub strategymonthinfo's proportionMetier to be displayed in a single matrix in UI.
      • dim 0 : metier
      • dim 1 : month
      Returns:
      Since:
      4.0.0.0
    • setProportionMetier

      public void setProportionMetier(org.nuiton.math.matrix.MatrixND strategyProportionMetier)
    • toString

      public String toString()
      Overrides:
      toString in class StrategyAbstract