public abstract class FishingGear extends GearImpl
Permet de définir des attibuts spécifiques tels que :
actif/passif
trainant/dormant
Thématiquement, il faut décoreller actif/passif et traimant/dormant
Exemple : TODO : à compléter
[Regle de
gestion] Il
ne doit pas y avoir d'incohérence au sein d'une hierarchie d'engins
d'une classification donnée. Par exemple, si un type d'engin
est actif, alors tous ces types d'engin fils doivent aussi etre actifs.
| Modifier and Type | Class and Description |
|---|---|
static class |
FishingGear.Factory
Constructs new instances of
FishingGear. |
| Constructor and Description |
|---|
FishingGear() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
This entity does not have any identifiers
but since it extends the
fr.ifremer.adagio.core.dao.referential.gear.GearImpl class
it will simply delegate the call up there. |
Boolean |
getIsActive()
|
Boolean |
getIsTowed()
Indique si le type d'engin est trainant (=vrai) ou dormant
(=faux)
|
int |
hashCode()
This entity does not have any identifiers
but since it extends the
fr.ifremer.adagio.core.dao.referential.gear.GearImpl class
it will simply delegate the call up there. |
void |
setIsActive(Boolean isActive) |
void |
setIsTowed(Boolean isTowed) |
getChildGears, getDescription, getGearClassification, getId, getLabel, getName, getParentGear, getStatus, getUpdateDate, setChildGears, setDescription, setGearClassification, setId, setLabel, setName, setParentGear, setStatus, setUpdateDatepublic Boolean getIsActive()
Indique si le type d'engin est active (=vrai) ou passif (=faux)
public void setIsActive(Boolean isActive)
public Boolean getIsTowed()
Indique si le type d'engin est trainant (=vrai) ou dormant (=faux)
note : isTowed = true : engin traimant
public void setIsTowed(Boolean isTowed)
public boolean equals(Object object)
fr.ifremer.adagio.core.dao.referential.gear.GearImpl class
it will simply delegate the call up there.equals in class GearGear.equals(Object)public int hashCode()
fr.ifremer.adagio.core.dao.referential.gear.GearImpl class
it will simply delegate the call up there.hashCode in class GearGear.hashCode()Copyright © 2013. All Rights Reserved.