Class GearAbstract

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

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

    • name

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

      protected String effortUnit
      Nom de l'attribut en BD : effortUnit
    • standardisationFactor

      protected double standardisationFactor
      Nom de l'attribut en BD : standardisationFactor
    • parameterName

      protected String parameterName
      Nom de l'attribut en BD : parameterName
    • cost

      protected double cost

      Coût d'achat de l'engin

      Nom de l'attribut en BD : cost
    • possibleValue

      protected RangeOfValues possibleValue
      Nom de l'attribut en BD : possibleValue
    • comment

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

      protected Collection<Selectivity> populationSelectivity
      Nom de l'attribut en BD : population
  • Constructor Details

    • GearAbstract

      public GearAbstract()
  • 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 Gear
    • getName

      public String getName()
      Specified by:
      getName in interface Gear
    • setEffortUnit

      public void setEffortUnit(String effortUnit)
      Specified by:
      setEffortUnit in interface Gear
    • getEffortUnit

      public String getEffortUnit()
      Specified by:
      getEffortUnit in interface Gear
    • setStandardisationFactor

      public void setStandardisationFactor(double standardisationFactor)
      Specified by:
      setStandardisationFactor in interface Gear
    • getStandardisationFactor

      public double getStandardisationFactor()
      Specified by:
      getStandardisationFactor in interface Gear
    • setParameterName

      public void setParameterName(String parameterName)
      Specified by:
      setParameterName in interface Gear
    • getParameterName

      public String getParameterName()
      Specified by:
      getParameterName in interface Gear
    • setCost

      public void setCost(double cost)
      Specified by:
      setCost in interface Gear
    • getCost

      public double getCost()
      Specified by:
      getCost in interface Gear
    • setPossibleValue

      public void setPossibleValue(RangeOfValues possibleValue)
      Specified by:
      setPossibleValue in interface Gear
    • getPossibleValue

      public RangeOfValues getPossibleValue()
      Specified by:
      getPossibleValue in interface Gear
    • setComment

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

      public String getComment()
      Specified by:
      getComment in interface Gear
    • addPopulationSelectivity

      public void addPopulationSelectivity(Selectivity populationSelectivity)
      Specified by:
      addPopulationSelectivity in interface Gear
    • addAllPopulationSelectivity

      public void addAllPopulationSelectivity(Collection<Selectivity> populationSelectivity)
      Specified by:
      addAllPopulationSelectivity in interface Gear
    • setPopulationSelectivity

      public void setPopulationSelectivity(Collection<Selectivity> populationSelectivity)
      Specified by:
      setPopulationSelectivity in interface Gear
    • removePopulationSelectivity

      public void removePopulationSelectivity(Selectivity populationSelectivity)
      Specified by:
      removePopulationSelectivity in interface Gear
    • clearPopulationSelectivity

      public void clearPopulationSelectivity()
      Specified by:
      clearPopulationSelectivity in interface Gear
    • getPopulationSelectivity

      public Collection<Selectivity> getPopulationSelectivity()
      Specified by:
      getPopulationSelectivity in interface Gear
    • getPopulationSelectivityByTopiaId

      public Selectivity getPopulationSelectivityByTopiaId(String topiaId)
      Specified by:
      getPopulationSelectivityByTopiaId in interface Gear
    • getPopulationSelectivity

      public Selectivity getPopulationSelectivity(Population population)
      Specified by:
      getPopulationSelectivity in interface Gear
    • sizePopulationSelectivity

      public int sizePopulationSelectivity()
      Specified by:
      sizePopulationSelectivity in interface Gear
    • isPopulationSelectivityEmpty

      public boolean isPopulationSelectivityEmpty()
      Specified by:
      isPopulationSelectivityEmpty in interface Gear
    • 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