public abstract class WeightLengthConversion extends Object implements Serializable, Comparable<WeightLengthConversion>
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 |
---|---|
int |
compareTo(WeightLengthConversion o) |
boolean |
equals(Object object)
Returns
true if the argument is an WeightLengthConversion instance and all identifiers for this entity
equal the identifiers of the argument entity. |
String |
getComments() |
Double |
getConversionCoefficientA()
Coefficient A de le relation taille/poids.
|
Double |
getConversionCoefficientB()
Coefficient B de le relation taille/poids.
|
String |
getDescription() |
Integer |
getEndMonth()
Dernier mois de l'année (inclus) à partir duquel la conversion ne s'applique plus.
|
Integer |
getId()
Idenfiant interne.
|
Parameter |
getLengthParameter()
Un paramètre est une propriété du milieu ou d'un élément du milieu qui contribue à en
apprécier les
caractéristiques et/ou la qualité et/ou l'aptitude à des usages.
|
Unit |
getLengthUnit()
Unité d'une mesure.
|
Location |
getLocation()
Représente un lieu au sens général du terme.
|
OriginItemType |
getOriginItemType()
The origin of the weight length conversion
|
ReferenceTaxon |
getReferenceTaxon()
Lien vers l'espèce scientifique
|
QualitativeValue |
getSex()
Sexe de l'espèce scientifique pour lequel la relation taille/poids est valide.
|
Integer |
getStartMonth()
Premier mois de l'année (inclus) à partir duquel la conversion s'applique.
|
Status |
getStatus()
Pour les données du référentiel, information permettant de déterminer si une donnée est
valide,
obsolète ou temporaire
|
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 commentsIn) |
void |
setConversionCoefficientA(Double conversionCoefficientAIn)
Coefficient A de le relation taille/poids.
|
void |
setConversionCoefficientB(Double conversionCoefficientBIn)
Coefficient B de le relation taille/poids.
|
void |
setDescription(String descriptionIn) |
void |
setEndMonth(Integer endMonthIn)
Dernier mois de l'année (inclus) à partir duquel la conversion ne s'applique plus.
|
void |
setId(Integer idIn)
Idenfiant interne.
|
void |
setLengthParameter(Parameter lengthParameterIn)
Un paramètre est une propriété du milieu ou d'un élément du milieu qui contribue à en
apprécier les
caractéristiques et/ou la qualité et/ou l'aptitude à des usages.
|
void |
setLengthUnit(Unit lengthUnitIn)
Unité d'une mesure.
|
void |
setLocation(Location locationIn)
Représente un lieu au sens général du terme.
|
void |
setOriginItemType(OriginItemType originItemTypeIn)
The origin of the weight length conversion
|
void |
setReferenceTaxon(ReferenceTaxon referenceTaxonIn)
Lien vers l'espèce scientifique
|
void |
setSex(QualitativeValue sexIn)
Sexe de l'espèce scientifique pour lequel la relation taille/poids est valide.
|
void |
setStartMonth(Integer startMonthIn)
Premier mois de l'année (inclus) à partir duquel la conversion s'applique.
|
void |
setStatus(Status statusIn)
Pour les données du référentiel, information permettant de déterminer si une donnée est
valide,
obsolète ou temporaire
|
void |
setUpdateDate(Timestamp updateDateIn) |
void |
setYear(Integer yearIn)
Année sur laquelle a été établie la relation taille-poids (Optionnel).
|
public WeightLengthConversion()
public void setId(Integer idIn)
idIn
- Integerpublic Double getConversionCoefficientA()
public void setConversionCoefficientA(Double conversionCoefficientAIn)
conversionCoefficientAIn
- Doublepublic Double getConversionCoefficientB()
public void setConversionCoefficientB(Double conversionCoefficientBIn)
conversionCoefficientBIn
- Doublepublic Integer getStartMonth()
public void setStartMonth(Integer startMonthIn)
startMonthIn
- Integerpublic Integer getEndMonth()
public void setEndMonth(Integer endMonthIn)
endMonthIn
- Integerpublic Integer getYear()
public void setYear(Integer yearIn)
yearIn
- Integerpublic String getDescription()
public void setDescription(String descriptionIn)
descriptionIn
- Stringpublic String getComments()
public void setComments(String commentsIn)
commentsIn
- Stringpublic Timestamp getUpdateDate()
public void setUpdateDate(Timestamp updateDateIn)
updateDateIn
- Timestamppublic OriginItemType getOriginItemType()
public void setOriginItemType(OriginItemType originItemTypeIn)
originItemTypeIn
- OriginItemTypepublic QualitativeValue getSex()
public void setSex(QualitativeValue sexIn)
sexIn
- QualitativeValuepublic Parameter getLengthParameter()
public void setLengthParameter(Parameter lengthParameterIn)
lengthParameterIn
- Parameterpublic Unit getLengthUnit()
public void setLengthUnit(Unit lengthUnitIn)
lengthUnitIn
- Unitpublic ReferenceTaxon getReferenceTaxon()
public void setReferenceTaxon(ReferenceTaxon referenceTaxonIn)
referenceTaxonIn
- ReferenceTaxonpublic Location getLocation()
public void setLocation(Location locationIn)
locationIn
- Locationpublic Status getStatus()
public void setStatus(Status statusIn)
statusIn
- Statuspublic boolean equals(Object object)
true
if the argument is an WeightLengthConversion instance and all identifiers for this entity
equal the identifiers of the argument entity. Returns false
otherwise.public int hashCode()
public int compareTo(WeightLengthConversion o)
compareTo
in interface Comparable<WeightLengthConversion>
Comparable.compareTo(T)
Copyright © 2012–2014 IFREMER. All rights reserved.