Class StrategyAbstract

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

public abstract class StrategyAbstract extends org.nuiton.topia.persistence.TopiaEntityAbstract implements Strategy
See Also:
  • Field Details

    • name

      protected String name
      Nom de l'attribut en BD : name
    • proportionSetOfVessels

      protected double proportionSetOfVessels
      Nom de l'attribut en BD : proportionSetOfVessels
    • comment

      protected String comment
      Nom de l'attribut en BD : comment
    • inactivityEquationUsed

      protected boolean inactivityEquationUsed
      Nom de l'attribut en BD : inactivityEquationUsed
    • inactivityEquation

      protected Equation inactivityEquation
      Nom de l'attribut en BD : inactivityEquation
    • setOfVessels

      protected SetOfVessels setOfVessels
      Nom de l'attribut en BD : setOfVessels
    • strategyMonthInfo

      protected List<StrategyMonthInfo> strategyMonthInfo
      Nom de l'attribut en BD : strategyMonthInfo
  • Constructor Details

    • StrategyAbstract

      public StrategyAbstract()
  • Method Details

    • update

      public void update() throws org.nuiton.topia.TopiaException
      Specified by:
      update in interface org.nuiton.topia.persistence.TopiaEntityContextable
      Throws:
      org.nuiton.topia.TopiaException
    • delete

      public void delete() throws org.nuiton.topia.TopiaException
      Specified by:
      delete in interface org.nuiton.topia.persistence.TopiaEntityContextable
      Throws:
      org.nuiton.topia.TopiaException
    • accept

      public void accept(org.nuiton.topia.persistence.EntityVisitor visitor) throws org.nuiton.topia.TopiaException
      Specified by:
      accept in interface org.nuiton.topia.persistence.TopiaEntity
      Throws:
      org.nuiton.topia.TopiaException
    • accept0

      protected void accept0(org.nuiton.topia.persistence.EntityVisitor visitor) throws org.nuiton.topia.TopiaException
      Throws:
      org.nuiton.topia.TopiaException
    • setName

      public void setName(String name)
      Specified by:
      setName in interface Strategy
    • getName

      public String getName()
      Specified by:
      getName in interface Strategy
    • setProportionSetOfVessels

      public void setProportionSetOfVessels(double proportionSetOfVessels)
      Specified by:
      setProportionSetOfVessels in interface Strategy
    • getProportionSetOfVessels

      public double getProportionSetOfVessels()
      Specified by:
      getProportionSetOfVessels in interface Strategy
    • setComment

      public void setComment(String comment)
      Specified by:
      setComment in interface Strategy
    • getComment

      public String getComment()
      Specified by:
      getComment in interface Strategy
    • setInactivityEquationUsed

      public void setInactivityEquationUsed(boolean inactivityEquationUsed)
      Specified by:
      setInactivityEquationUsed in interface Strategy
    • isInactivityEquationUsed

      public boolean isInactivityEquationUsed()
      Specified by:
      isInactivityEquationUsed in interface Strategy
    • getInactivityEquationUsed

      public boolean getInactivityEquationUsed()
      Specified by:
      getInactivityEquationUsed in interface Strategy
    • setInactivityEquation

      public void setInactivityEquation(Equation inactivityEquation)
      Specified by:
      setInactivityEquation in interface Strategy
    • getInactivityEquation

      public Equation getInactivityEquation()
      Specified by:
      getInactivityEquation in interface Strategy
    • setSetOfVessels

      public void setSetOfVessels(SetOfVessels setOfVessels)
      Specified by:
      setSetOfVessels in interface Strategy
    • getSetOfVessels

      public SetOfVessels getSetOfVessels()
      Specified by:
      getSetOfVessels in interface Strategy
    • addStrategyMonthInfo

      public void addStrategyMonthInfo(StrategyMonthInfo strategyMonthInfo)
      Specified by:
      addStrategyMonthInfo in interface Strategy
    • addAllStrategyMonthInfo

      public void addAllStrategyMonthInfo(List<StrategyMonthInfo> strategyMonthInfo)
      Specified by:
      addAllStrategyMonthInfo in interface Strategy
    • setStrategyMonthInfo

      public void setStrategyMonthInfo(List<StrategyMonthInfo> strategyMonthInfo)
      Specified by:
      setStrategyMonthInfo in interface Strategy
    • removeStrategyMonthInfo

      public void removeStrategyMonthInfo(StrategyMonthInfo strategyMonthInfo)
      Specified by:
      removeStrategyMonthInfo in interface Strategy
    • clearStrategyMonthInfo

      public void clearStrategyMonthInfo()
      Specified by:
      clearStrategyMonthInfo in interface Strategy
    • getStrategyMonthInfo

      public List<StrategyMonthInfo> getStrategyMonthInfo()
      Specified by:
      getStrategyMonthInfo in interface Strategy
    • getStrategyMonthInfoByTopiaId

      public StrategyMonthInfo getStrategyMonthInfoByTopiaId(String topiaId)
      Specified by:
      getStrategyMonthInfoByTopiaId in interface Strategy
    • sizeStrategyMonthInfo

      public int sizeStrategyMonthInfo()
      Specified by:
      sizeStrategyMonthInfo in interface Strategy
    • isStrategyMonthInfoEmpty

      public boolean isStrategyMonthInfoEmpty()
      Specified by:
      isStrategyMonthInfoEmpty in interface Strategy
    • getAggregate

      public List<org.nuiton.topia.persistence.TopiaEntity> getAggregate() throws org.nuiton.topia.TopiaException
      Specified by:
      getAggregate in interface org.nuiton.topia.persistence.TopiaEntity
      Overrides:
      getAggregate in class org.nuiton.topia.persistence.TopiaEntityAbstract
      Throws:
      org.nuiton.topia.TopiaException
    • getComposite

      public List<org.nuiton.topia.persistence.TopiaEntity> getComposite() throws org.nuiton.topia.TopiaException
      Specified by:
      getComposite in interface org.nuiton.topia.persistence.TopiaEntity
      Overrides:
      getComposite in class org.nuiton.topia.persistence.TopiaEntityAbstract
      Throws:
      org.nuiton.topia.TopiaException
    • toString

      public String toString()
      Overrides:
      toString in class Object