fr.ifremer.allegro.referential.gear
Class GearClassification

java.lang.Object
  extended by fr.ifremer.allegro.referential.gear.GearClassification
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
GearClassificationImpl

public abstract class GearClassification
extends java.lang.Object
implements java.io.Serializable

Une classification d'engin permet le regroupement d'un ensemble coh??rent d'engin.

Exemple :

- Engin FAO, appell??e aussi CSITEP (Classification Standard Internationale Type des Engins de P??che), ou, en anglais : International Standard Statistical Classification of Fishing Gear (ISSCFG) : ftp://ftp.fao.org/FI/DOCUMENT/cwp/handbook/annex/AnnexM1fishinggear.pdf

- Engin CNTS (DPMA SIP)

- Engin EU (bas?? sur les engins FAO, mais adapt?? au contexte r??glementaire europ??en) :

exemple : - extension pour signifier 'pas d'engin' : NO

extension pour signifier 'engin inconnu' : NK (Not Known)

'ligne avec canne (...)' : BTF (code utilis?? pour des donn??es historique)

- 'Engin EU Corpus' pour le traitment (cf DRE_CORPUS dans tmpsih)

- Engin M??tier Ifremer (bas?? sur la classification FAO, et etendue aux besoins Ifremer/francais)

Pour ObsMer, la classification utilis??e est : FAO

Pour les observations au d??barquement, la classification utilis??e est : FAO + CNTS (pour recroiser avec les d??clarations)

See Also:
Serialized Form

Nested Class Summary
static class GearClassification.Factory
          Constructs new instances of GearClassification.
 
Constructor Summary
GearClassification()
           
 
Method Summary
 boolean equals(java.lang.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.
 java.util.Collection getAssociatedGearClassifications()
           
 java.lang.String getDescription()
           
 java.util.Collection getGears()
           
 java.lang.Integer getId()
           
 java.lang.Boolean getIsAggregation()
          
 java.lang.String getName()
           
 java.sql.Timestamp getUpdateDate()
           
 int hashCode()
          Returns a hash code based on this entity's identifiers.
 void setAssociatedGearClassifications(java.util.Collection associatedGearClassifications)
           
 void setDescription(java.lang.String description)
           
 void setGears(java.util.Collection gears)
           
 void setId(java.lang.Integer id)
           
 void setIsAggregation(java.lang.Boolean isAggregation)
           
 void setName(java.lang.String name)
           
 void setUpdateDate(java.sql.Timestamp updateDate)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GearClassification

public GearClassification()
Method Detail

getId

public java.lang.Integer getId()

setId

public void setId(java.lang.Integer id)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getIsAggregation

public java.lang.Boolean getIsAggregation()

TODO : confirmer si l'attribut est utile

, dans la mesure ou les stratégies peuvent permettrent de choisir la

classification à utiliser.

Indicateur permettant de savoir si la classification est utilisé

uniquement dans le cadre de données d'agrégation.


setIsAggregation

public void setIsAggregation(java.lang.Boolean isAggregation)

getUpdateDate

public java.sql.Timestamp getUpdateDate()

setUpdateDate

public void setUpdateDate(java.sql.Timestamp updateDate)

getGears

public java.util.Collection getGears()

setGears

public void setGears(java.util.Collection gears)

getAssociatedGearClassifications

public java.util.Collection getAssociatedGearClassifications()

setAssociatedGearClassifications

public void setAssociatedGearClassifications(java.util.Collection associatedGearClassifications)

equals

public boolean equals(java.lang.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.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hash code based on this entity's identifiers.

Overrides:
hashCode in class java.lang.Object


Copyright © 2008-2010 IFREMER. All Rights Reserved.