Class StrategyMonthInfoAbstract

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

public abstract class StrategyMonthInfoAbstract extends org.nuiton.topia.persistence.TopiaEntityAbstract implements StrategyMonthInfo
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected double
    Nom de l'attribut en BD : minInactivityDays
    protected Month
    Nom de l'attribut en BD : month
    protected double
    Nombre de Trip par mois.
    protected org.nuiton.math.matrix.MatrixND
    Nom de l'attribut en BD : proportionMetier
    protected Strategy
    Nom de l'attribut en BD : strategy
    protected TripType
    Nom de l'attribut en BD : tripType

    Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract

    readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables

    Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity

    AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION

    Fields inherited from interface org.nuiton.topia.persistence.TopiaEntityContextable

    TOPIA_CONTEXT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(org.nuiton.topia.persistence.EntityVisitor visitor)
     
    protected void
    accept0(org.nuiton.topia.persistence.EntityVisitor visitor)
     
    void
     
    List<org.nuiton.topia.persistence.TopiaEntity>
     
    List<org.nuiton.topia.persistence.TopiaEntity>
     
    double
     
     
    double
     
    org.nuiton.math.matrix.MatrixND
     
     
     
    void
    setMinInactivityDays(double minInactivityDays)
     
    void
    setMonth(Month month)
     
    void
    setNumberOfTrips(double numberOfTrips)
     
    void
    setProportionMetier(org.nuiton.math.matrix.MatrixND proportionMetier)
     
    void
     
    void
     
     
    void
     

    Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract

    addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getReadPropertyChangeSupport, getReadVetoableChangeSupport, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, getWritePropertyChangeSupport, getWriteVetoableChangeSupport, hashCode, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaContext, setTopiaCreateDate, setTopiaId, setTopiaVersion

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface fr.ifremer.isisfish.entities.StrategyMonthInfo

    getFisheryRegion, getMetierWithProportion, getProportionMetier, setProportionMetier

    Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity

    addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion

    Methods inherited from interface org.nuiton.topia.persistence.TopiaEntityContextable

    getTopiaContext, setTopiaContext
  • Field Details

    • month

      protected Month month
      Nom de l'attribut en BD : month
    • minInactivityDays

      protected double minInactivityDays
      Nom de l'attribut en BD : minInactivityDays
    • numberOfTrips

      protected double numberOfTrips

      Nombre de Trip par mois. Le nombre de jour d'inactivite et le nombre la duree d'un trip doivent être cohérent pour le mois

      Nom de l'attribut en BD : numberOfTrips
    • proportionMetier

      protected org.nuiton.math.matrix.MatrixND proportionMetier
      Nom de l'attribut en BD : proportionMetier
    • tripType

      protected TripType tripType
      Nom de l'attribut en BD : tripType
    • strategy

      protected Strategy strategy
      Nom de l'attribut en BD : strategy
  • Constructor Details

    • StrategyMonthInfoAbstract

      public StrategyMonthInfoAbstract()
  • 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
    • setMonth

      public void setMonth(Month month)
      Specified by:
      setMonth in interface StrategyMonthInfo
    • getMonth

      public Month getMonth()
      Specified by:
      getMonth in interface StrategyMonthInfo
    • setMinInactivityDays

      public void setMinInactivityDays(double minInactivityDays)
      Specified by:
      setMinInactivityDays in interface StrategyMonthInfo
    • getMinInactivityDays

      public double getMinInactivityDays()
      Specified by:
      getMinInactivityDays in interface StrategyMonthInfo
    • setNumberOfTrips

      public void setNumberOfTrips(double numberOfTrips)
      Specified by:
      setNumberOfTrips in interface StrategyMonthInfo
    • getNumberOfTrips

      public double getNumberOfTrips()
      Specified by:
      getNumberOfTrips in interface StrategyMonthInfo
    • setProportionMetier

      public void setProportionMetier(org.nuiton.math.matrix.MatrixND proportionMetier)
      Specified by:
      setProportionMetier in interface StrategyMonthInfo
    • getProportionMetier

      public org.nuiton.math.matrix.MatrixND getProportionMetier()
      Specified by:
      getProportionMetier in interface StrategyMonthInfo
    • setTripType

      public void setTripType(TripType tripType)
      Specified by:
      setTripType in interface StrategyMonthInfo
    • getTripType

      public TripType getTripType()
      Specified by:
      getTripType in interface StrategyMonthInfo
    • setStrategy

      public void setStrategy(Strategy strategy)
      Specified by:
      setStrategy in interface StrategyMonthInfo
    • getStrategy

      public Strategy getStrategy()
      Specified by:
      getStrategy in interface StrategyMonthInfo
    • 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