public abstract class WeightLengthConversion extends Object implements 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é
| Modifier and Type | Class and Description |
|---|---|
static class |
WeightLengthConversion.Factory
Constructs new instances of
WeightLengthConversion. |
| Constructor and Description |
|---|
WeightLengthConversion() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(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. |
String |
getComments() |
Double |
getConversionCoefficientA()
Coefficient de conversion taille/poids.
|
Double |
getConversionCoefficientB() |
String |
getDescription() |
Integer |
getEndMonth()
Dernier mois de l'année (inclu) à partir duquel la conversion ne
s'applique plus.
|
Integer |
getId()
Idenfiant interne.
|
Parameter |
getLengthParameter() |
Unit |
getLengthUnit() |
Location |
getLocation() |
ReferenceTaxon |
getReferenceTaxon() |
QualitativeValue |
getSex() |
Integer |
getStartMonth()
Premier mois de l'année (inclu) à partir duquel la conversion
s'applique.
|
Status |
getStatus() |
Timestamp |
getUpdateDate() |
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 |
setComments(String comments) |
void |
setConversionCoefficientA(Double conversionCoefficientA) |
void |
setConversionCoefficientB(Double conversionCoefficientB) |
void |
setDescription(String description) |
void |
setEndMonth(Integer endMonth) |
void |
setId(Integer id) |
void |
setLengthParameter(Parameter lengthParameter) |
void |
setLengthUnit(Unit lengthUnit) |
void |
setLocation(Location location) |
void |
setReferenceTaxon(ReferenceTaxon referenceTaxon) |
void |
setSex(QualitativeValue sex) |
void |
setStartMonth(Integer startMonth) |
void |
setStatus(Status status) |
void |
setUpdateDate(Timestamp updateDate) |
void |
setYear(Integer year) |
public Integer getId()
Idenfiant interne. Généré par le système.
public void setId(Integer id)
public Double getConversionCoefficientA()
Coefficient de conversion taille/poids.
public void setConversionCoefficientA(Double conversionCoefficientA)
public Double getConversionCoefficientB()
public void setConversionCoefficientB(Double conversionCoefficientB)
public Integer getStartMonth()
Premier mois de l'année (inclu) à partir duquel la conversion s'applique.
public void setStartMonth(Integer startMonth)
public Integer getEndMonth()
Dernier mois de l'année (inclu) à partir duquel la conversion ne s'applique plus.
public void setEndMonth(Integer endMonth)
public 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.
public void setYear(Integer year)
public String getDescription()
public void setDescription(String description)
public String getComments()
public void setComments(String comments)
public Timestamp getUpdateDate()
public void setUpdateDate(Timestamp updateDate)
public Location getLocation()
public void setLocation(Location location)
public QualitativeValue getSex()
public void setSex(QualitativeValue sex)
public Status getStatus()
public void setStatus(Status status)
public Unit getLengthUnit()
public void setLengthUnit(Unit lengthUnit)
public ReferenceTaxon getReferenceTaxon()
public void setReferenceTaxon(ReferenceTaxon referenceTaxon)
public Parameter getLengthParameter()
public void setLengthParameter(Parameter lengthParameter)
public boolean equals(Object object)
true if the argument reference and this
refer to the same object.Copyright © 2013. All Rights Reserved.