Package fr.ifremer.isisfish.entities
Class MetierImpl
java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
fr.ifremer.isisfish.entities.MetierAbstract
fr.ifremer.isisfish.entities.MetierImpl
- All Implemented Interfaces:
Metier
,Serializable
,org.nuiton.topia.persistence.TopiaEntity
,org.nuiton.topia.persistence.TopiaEntityContextable
Implantation des operations pour l'entité Metier.
Created: 14 févr. 2006 11:32:40
- Version:
- $Revision$ Last update: $Date$ by : $Author$
- Author:
- poussin
- See Also:
-
Field Summary
Fields inherited from class fr.ifremer.isisfish.entities.MetierAbstract
capturableSpeciesComment, comment, gear, gearParameterValue, metierSeasonInfo, name, setOfVesselsEffortDescription
Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables
Fields inherited from interface fr.ifremer.isisfish.entities.Metier
PROPERTY_CAPTURABLE_SPECIES_COMMENT, PROPERTY_COMMENT, PROPERTY_GEAR, PROPERTY_GEAR_PARAMETER_VALUE, PROPERTY_METIER_SEASON_INFO, PROPERTY_NAME, PROPERTY_SET_OF_VESSELS_EFFORT_DESCRIPTION
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntityContextable
TOPIA_CONTEXT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getMetierSeasonInfo
(Month month) void
setMetierSeasonInfo
(List<MetierSeasonInfo> metierSeasonInfo) Surcharge car avec une aggregation (lien fort) il ne faut pas remplacer la collection, mais vider celle qui existe et y mettre les nouveaux elements sinon hibernate perd la tete et leve des exceptions (detecter lors de l'implantation de l'import json)toString()
Methods inherited from class fr.ifremer.isisfish.entities.MetierAbstract
accept, accept0, addAllMetierSeasonInfo, addMetierSeasonInfo, clearMetierSeasonInfo, delete, getAggregate, getCapturableSpeciesComment, getComment, getComposite, getGear, getGearParameterValue, getMetierSeasonInfo, getMetierSeasonInfoByTopiaId, getName, isMetierSeasonInfoEmpty, removeMetierSeasonInfo, setCapturableSpeciesComment, setComment, setGear, setGearParameterValue, setName, sizeMetierSeasonInfo, update
Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getReadPropertyChangeSupport, getReadVetoableChangeSupport, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, getWritePropertyChangeSupport, getWriteVetoableChangeSupport, hashCode, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaContext, setTopiaCreateDate, setTopiaId, setTopiaVersion
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
Methods inherited from interface org.nuiton.topia.persistence.TopiaEntityContextable
getTopiaContext, setTopiaContext
-
Constructor Details
-
MetierImpl
public MetierImpl()
-
-
Method Details
-
getFisheryRegion
-
setMetierSeasonInfo
Surcharge car avec une aggregation (lien fort) il ne faut pas remplacer la collection, mais vider celle qui existe et y mettre les nouveaux elements sinon hibernate perd la tete et leve des exceptions (detecter lors de l'implantation de l'import json)- Specified by:
setMetierSeasonInfo
in interfaceMetier
- Overrides:
setMetierSeasonInfo
in classMetierAbstract
-
getMetierSeasonInfo
-
getGearParameterValueAsDouble
public double getGearParameterValueAsDouble() -
toString
- Overrides:
toString
in classMetierAbstract
-