public abstract class FishingGear extends GearImpl
Permet de définir des attibuts spécifiques tels que :
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 |
---|---|
int |
compareTo(FishingGear o) |
boolean |
equals(Object object)
This entity does not have any identifiers
but since it extends the
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)
note : isTowed = true : engin traimant
|
int |
hashCode()
This entity does not have any identifiers
but since it extends the
GearImpl class
it will simply delegate the call up there. |
void |
setIsActive(Boolean isActiveIn)
|
void |
setIsTowed(Boolean isTowedIn)
Indique si le type d'engin est trainant (=vrai) ou dormant (=faux)
note : isTowed = true : engin traimant
|
addChildGears, compareTo, getChildGears, getDescription, getGearClassification, getId, getLabel, getName, getParentGear, getStatus, getUpdateDate, removeChildGears, setChildGears, setDescription, setGearClassification, setId, setLabel, setName, setParentGear, setStatus, setUpdateDate
public FishingGear()
public Boolean getIsActive()
public void setIsActive(Boolean isActiveIn)
isActiveIn
- Booleanpublic Boolean getIsTowed()
public void setIsTowed(Boolean isTowedIn)
isTowedIn
- Booleanpublic boolean equals(Object object)
GearImpl
class
it will simply delegate the call up there.equals
in class Gear
Gear.equals(Object)
public int hashCode()
GearImpl
class
it will simply delegate the call up there.hashCode
in class Gear
Gear.hashCode()
public int compareTo(FishingGear o)
Comparable.compareTo(T)
Copyright © 2012–2014 IFREMER. All rights reserved.