public abstract class Gear extends Object implements Serializable
Défini un engin, non pas engin physique, mais au sens "classe d'engin".
Il est possible de définir un arboresence d'engin, au sein d'une meme
classification, via les liens d'engin parents/enfants.
Exemple, pour la classification 'Engin EU corpus' :
* 'corpus effort de pêche'
- PAL Palangre de surface
(Longliner)
- EP1 Engins petits pélagiques - corpus réglementaire 685/95
* corpus 2 (...)
- ...
Exemple, pour la classification 'FAO/CISTEP' :
* 'chaluts'
(code
'03.0.0')
- 'OTB' 'chalut de fond'
- chalut pélagique
- ...
* 'Filets'
| Modifier and Type | Class and Description |
|---|---|
static class |
Gear.Factory
Constructs new instances of
Gear. |
| Constructor and Description |
|---|
Gear() |
| 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. |
Collection<Gear> |
getChildGears() |
String |
getDescription() |
GearClassification |
getGearClassification() |
Integer |
getId()
Idenfiant interne.
|
String |
getLabel()
Mnémonique (ou code) de l'engin.
|
String |
getName()
Libellé de l'engin.
|
Gear |
getParentGear()
|
Status |
getStatus() |
Timestamp |
getUpdateDate() |
int |
hashCode()
Returns a hash code based on this entity's identifiers.
|
void |
setChildGears(Collection<Gear> childGears) |
void |
setDescription(String description) |
void |
setGearClassification(GearClassification gearClassification) |
void |
setId(Integer id) |
void |
setLabel(String label) |
void |
setName(String name) |
void |
setParentGear(Gear parentGear) |
void |
setStatus(Status status) |
void |
setUpdateDate(Timestamp updateDate) |
public Integer getId()
Idenfiant interne. Généré par le système.
public void setId(Integer id)
public String getLabel()
Mnémonique (ou code) de l'engin. Le mnémonique doit être unique pour une meme classification d'engin.
Par exemple : - Pour la classification FAO/CSITEP : label='OTB'
public void setLabel(String label)
public String getName()
Libellé de l'engin.
il s'agit du libellé "officiel" de la classification.
note : ce libellé peut etre régionalisé via "GearLocation".
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public Timestamp getUpdateDate()
public void setUpdateDate(Timestamp updateDate)
public GearClassification getGearClassification()
public void setGearClassification(GearClassification gearClassification)
public Collection<Gear> getChildGears()
public void setChildGears(Collection<Gear> childGears)
public Gear getParentGear()
Défini l'engin parent, au sein de la meme classification
note : pour une association entre des classifications différents,
cf "synonymGears"
public void setParentGear(Gear parentGear)
public Status getStatus()
public void setStatus(Status status)
public boolean equals(Object object)
true if the argument reference and this
refer to the same object.Copyright © 2013. All Rights Reserved.