fr.ifremer.allegro.referential.gear
Class FishingGear

java.lang.Object
  extended by fr.ifremer.allegro.referential.gear.Gear
      extended by fr.ifremer.allegro.referential.gear.GearImpl
          extended by fr.ifremer.allegro.referential.gear.FishingGear
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FishingGearImpl

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.

See Also:
Serialized Form

Nested Class Summary
static class FishingGear.Factory
          Constructs new instances of FishingGear.
 
Constructor Summary
FishingGear()
           
 
Method Summary
 boolean equals(java.lang.Object object)
          This entity does not have any identifiers but since it extends the fr.ifremer.allegro.referential.gear.GearImpl class it will simply delegate the call up there.
 java.lang.Boolean getIsActive()
          
 java.lang.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.allegro.referential.gear.GearImpl class it will simply delegate the call up there.
 void setIsActive(java.lang.Boolean isActive)
           
 void setIsTowed(java.lang.Boolean isTowed)
           
 
Methods inherited from class fr.ifremer.allegro.referential.gear.Gear
getAssociatedGears, getChildGears, getDescription, getGearClassification, getId, getLabel, getName, getParentGear, getStatus, getUpdateDate, setAssociatedGears, setChildGears, setDescription, setGearClassification, setId, setLabel, setName, setParentGear, setStatus, setUpdateDate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FishingGear

public FishingGear()
Method Detail

getIsActive

public java.lang.Boolean getIsActive()

Indique si le type d'engin est trainant (='1') ou dormant (='0')

Indique si le type d'engin est active (=vrai) ou passif (=faux)


setIsActive

public void setIsActive(java.lang.Boolean isActive)

getIsTowed

public java.lang.Boolean getIsTowed()

Indique si le type d'engin est trainant (=vrai) ou dormant (=faux)

note : isTowed = true : engin traimant


setIsTowed

public void setIsTowed(java.lang.Boolean isTowed)

equals

public boolean equals(java.lang.Object object)
This entity does not have any identifiers but since it extends the fr.ifremer.allegro.referential.gear.GearImpl class it will simply delegate the call up there.

Overrides:
equals in class Gear
See Also:
Gear.equals(Object)

hashCode

public int hashCode()
This entity does not have any identifiers but since it extends the fr.ifremer.allegro.referential.gear.GearImpl class it will simply delegate the call up there.

Overrides:
hashCode in class Gear
See Also:
Gear.hashCode()


Copyright © 2008-2010 IFREMER. All Rights Reserved.