fr.ifremer.allegro.referential.conversion
Class WeightLengthConversion

java.lang.Object
  extended by fr.ifremer.allegro.referential.conversion.WeightLengthConversion
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
WeightLengthConversionImpl

public abstract class WeightLengthConversion
extends java.lang.Object
implements java.io.Serializable

Relation Taille poids :

Le calcul se fait par multiplication de la taille d’un poisson par un

coefficient multiplicateur (convCoeff). Ce coefficient est obtenu à

partir des caractéristiques suivantes
- Taxon mesuré (=espèces

scientifiques) : ReferenceTaxon
- Période (ex : du mois de "décembre"

au mois de "juillet", indépendant de l'année): startMonth, endMonth
-

Lieu ( Lieu père si inexistant).
- Sexe. Cette caractéristique

n’étant pas renseignée systématiquement dans la table de correspondance,

la recherche du coefficient doit d’abord s’effectuer sur les

coefficients indépendant du sexe (Sex=null ). Si cette recherche est

infructueuse, et si le sexe du lot est connu (critère de classement

‘sexe’ renseigné) une nouvelle recherche doit être lancée sur les

coefficients ayant le sexe du lot considéré

See Also:
Serialized Form

Nested Class Summary
static class WeightLengthConversion.Factory
          Constructs new instances of WeightLengthConversion.
 
Constructor Summary
WeightLengthConversion()
           
 
Method Summary
 boolean equals(java.lang.Object object)
          This entity does not have any identifiers and is not extending any other entity, so this method will only return true if the argument reference and this refer to the same object.
 java.lang.Float getConversionCoefficientA()
           Coefficient de conversion taille/poids.
 java.lang.Float getConversionCoefficientB()
           
 java.lang.String getDescription()
           
 java.lang.Integer getEndMonth()
           Dernier mois de l'ann??e (inclu) ?? partir duquel la conversion ne s'applique plus.
 java.lang.Integer getId()
           
 Location getLocation()
           
 ReferenceTaxon getReferenceTaxon()
           
 QualitativeValue getSex()
           
 java.lang.Integer getStartMonth()
           Premier mois de l'ann??e (inclu) ?? partir duquel la conversion s'applique.
 java.sql.Timestamp getUpdateDate()
           
 java.lang.Integer getYear()
           Ann??e sur laquelle a ??t?? ??tablie la relation taille-poids (Optionnel).
 int hashCode()
          Returns a hash code based on this entity's identifiers.
 void setConversionCoefficientA(java.lang.Float conversionCoefficientA)
           
 void setConversionCoefficientB(java.lang.Float conversionCoefficientB)
           
 void setDescription(java.lang.String description)
           
 void setEndMonth(java.lang.Integer endMonth)
           
 void setId(java.lang.Integer id)
           
 void setLocation(Location location)
           
 void setReferenceTaxon(ReferenceTaxon referenceTaxon)
           
 void setSex(QualitativeValue sex)
           
 void setStartMonth(java.lang.Integer startMonth)
           
 void setUpdateDate(java.sql.Timestamp updateDate)
           
 void setYear(java.lang.Integer year)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeightLengthConversion

public WeightLengthConversion()
Method Detail

getId

public java.lang.Integer getId()

setId

public void setId(java.lang.Integer id)

getStartMonth

public java.lang.Integer getStartMonth()

Premier mois de l'ann??e (inclu) ?? partir duquel la conversion s'applique.


setStartMonth

public void setStartMonth(java.lang.Integer startMonth)

getEndMonth

public java.lang.Integer getEndMonth()

Dernier mois de l'ann??e (inclu) ?? partir duquel la conversion ne s'applique plus.


setEndMonth

public void setEndMonth(java.lang.Integer endMonth)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getConversionCoefficientA

public java.lang.Float getConversionCoefficientA()

Coefficient de conversion taille/poids.


setConversionCoefficientA

public void setConversionCoefficientA(java.lang.Float conversionCoefficientA)

getConversionCoefficientB

public java.lang.Float getConversionCoefficientB()

setConversionCoefficientB

public void setConversionCoefficientB(java.lang.Float conversionCoefficientB)

getYear

public java.lang.Integer getYear()

Ann??e sur laquelle a ??t?? ??tablie la relation taille-poids (Optionnel). Si non renseign??, alors la relation est toujours valable ou bien l'ann??e est inconnue.


setYear

public void setYear(java.lang.Integer year)

getUpdateDate

public java.sql.Timestamp getUpdateDate()

setUpdateDate

public void setUpdateDate(java.sql.Timestamp updateDate)

getLocation

public Location getLocation()

setLocation

public void setLocation(Location location)

getSex

public QualitativeValue getSex()

setSex

public void setSex(QualitativeValue sex)

getReferenceTaxon

public ReferenceTaxon getReferenceTaxon()

setReferenceTaxon

public void setReferenceTaxon(ReferenceTaxon referenceTaxon)

equals

public boolean equals(java.lang.Object object)
This entity does not have any identifiers and is not extending any other entity, so this method will only return true if the argument reference and this refer to the same object.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hash code based on this entity's identifiers.

Overrides:
hashCode in class java.lang.Object


Copyright © 2008-2010 IFREMER. All Rights Reserved.