Package fr.ifremer.isisfish.entities
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
Modifier and TypeFieldDescriptionprotected double
Nom de l'attribut en BD : minInactivityDaysprotected Month
Nom de l'attribut en BD : monthprotected double
Nombre de Trip par mois.protected org.nuiton.math.matrix.MatrixND
Nom de l'attribut en BD : proportionMetierprotected Strategy
Nom de l'attribut en BD : strategyprotected TripType
Nom de l'attribut en BD : tripTypeFields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables
Fields inherited from interface fr.ifremer.isisfish.entities.StrategyMonthInfo
PROPERTY_MIN_INACTIVITY_DAYS, PROPERTY_MONTH, PROPERTY_NUMBER_OF_TRIPS, PROPERTY_PROPORTION_METIER, PROPERTY_STRATEGY, PROPERTY_TRIP_TYPE
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(org.nuiton.topia.persistence.EntityVisitor visitor) protected void
accept0
(org.nuiton.topia.persistence.EntityVisitor visitor) void
delete()
List<org.nuiton.topia.persistence.TopiaEntity>
List<org.nuiton.topia.persistence.TopiaEntity>
double
getMonth()
double
org.nuiton.math.matrix.MatrixND
void
setMinInactivityDays
(double minInactivityDays) void
void
setNumberOfTrips
(double numberOfTrips) void
setProportionMetier
(org.nuiton.math.matrix.MatrixND proportionMetier) void
setStrategy
(Strategy strategy) void
setTripType
(TripType tripType) toString()
void
update()
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
Nom de l'attribut en BD : month -
minInactivityDays
protected double minInactivityDaysNom de l'attribut en BD : minInactivityDays -
numberOfTrips
protected double numberOfTripsNombre 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 proportionMetierNom de l'attribut en BD : proportionMetier -
tripType
Nom de l'attribut en BD : tripType -
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 interfaceorg.nuiton.topia.persistence.TopiaEntityContextable
- Throws:
org.nuiton.topia.TopiaException
-
delete
public void delete() throws org.nuiton.topia.TopiaException- Specified by:
delete
in interfaceorg.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 interfaceorg.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
- Specified by:
setMonth
in interfaceStrategyMonthInfo
-
getMonth
- Specified by:
getMonth
in interfaceStrategyMonthInfo
-
setMinInactivityDays
public void setMinInactivityDays(double minInactivityDays) - Specified by:
setMinInactivityDays
in interfaceStrategyMonthInfo
-
getMinInactivityDays
public double getMinInactivityDays()- Specified by:
getMinInactivityDays
in interfaceStrategyMonthInfo
-
setNumberOfTrips
public void setNumberOfTrips(double numberOfTrips) - Specified by:
setNumberOfTrips
in interfaceStrategyMonthInfo
-
getNumberOfTrips
public double getNumberOfTrips()- Specified by:
getNumberOfTrips
in interfaceStrategyMonthInfo
-
setProportionMetier
public void setProportionMetier(org.nuiton.math.matrix.MatrixND proportionMetier) - Specified by:
setProportionMetier
in interfaceStrategyMonthInfo
-
getProportionMetier
public org.nuiton.math.matrix.MatrixND getProportionMetier()- Specified by:
getProportionMetier
in interfaceStrategyMonthInfo
-
setTripType
- Specified by:
setTripType
in interfaceStrategyMonthInfo
-
getTripType
- Specified by:
getTripType
in interfaceStrategyMonthInfo
-
setStrategy
- Specified by:
setStrategy
in interfaceStrategyMonthInfo
-
getStrategy
- Specified by:
getStrategy
in interfaceStrategyMonthInfo
-
getAggregate
public List<org.nuiton.topia.persistence.TopiaEntity> getAggregate() throws org.nuiton.topia.TopiaException- Specified by:
getAggregate
in interfaceorg.nuiton.topia.persistence.TopiaEntity
- Overrides:
getAggregate
in classorg.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 interfaceorg.nuiton.topia.persistence.TopiaEntity
- Overrides:
getComposite
in classorg.nuiton.topia.persistence.TopiaEntityAbstract
- Throws:
org.nuiton.topia.TopiaException
-
toString
-