fr.ifremer.isisfish.entities
Class SetOfVesselsImpl

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by fr.ifremer.isisfish.entities.SetOfVesselsAbstract
          extended by fr.ifremer.isisfish.entities.SetOfVesselsImpl
All Implemented Interfaces:
SetOfVessels, Serializable, org.nuiton.topia.persistence.TopiaEntity, org.nuiton.topia.persistence.TopiaEntityContextable

public class SetOfVesselsImpl
extends SetOfVesselsAbstract

Implantation des operations pour l'entité SetOfVessels. Created: 20 janv. 2006 03:29:14

Version:
$Revision: 3482 $ Last update: $Date: 2011-10-21 17:37:05 +0200 (Fri, 21 Oct 2011) $ by : $Author: jcouteau $
Author:
poussin
See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.ifremer.isisfish.entities.SetOfVesselsAbstract
capitalDeprecation, comment, fixedCosts, interestCost, name, numberOfVessels, port, possibleMetiers, technicalEfficiencyEquation, vesselCosts, vesselType
 
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.SetOfVessels
PROPERTY_CAPITAL_DEPRECATION, PROPERTY_COMMENT, PROPERTY_FIXED_COSTS, PROPERTY_INTEREST_COST, PROPERTY_NAME, PROPERTY_NUMBER_OF_VESSELS, PROPERTY_PORT, PROPERTY_POSSIBLE_METIERS, PROPERTY_TECHNICAL_EFFICIENCY_EQUATION, PROPERTY_VESSEL_COSTS, PROPERTY_VESSEL_TYPE
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntityContextable
TOPIA_CONTEXT
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
SetOfVesselsImpl()
           
 
Method Summary
 FisheryRegion getFisheryRegion()
           
 double getTechnicalEfficiency(Metier metier)
          Evaluate SetOfVesselsAbstract.technicalEfficiencyEquation with Gear and Metier.
 void setName(String value)
          Override to change name of equation.
 void setTechnicalEfficiencyEquationContent(String content)
           
 String toString()
           
 
Methods inherited from class fr.ifremer.isisfish.entities.SetOfVesselsAbstract
accept, addAllPossibleMetiers, addPossibleMetiers, clearPossibleMetiers, delete, getAggregate, getCapitalDeprecation, getComment, getComposite, getFixedCosts, getInterestCost, getName, getNumberOfVessels, getPort, getPossibleMetiers, getPossibleMetiers, getPossibleMetiersByTopiaId, getTechnicalEfficiencyEquation, getVesselCosts, getVesselType, isPossibleMetiersEmpty, removePossibleMetiers, setCapitalDeprecation, setComment, setFixedCosts, setInterestCost, setNumberOfVessels, setPort, setPossibleMetiers, setTechnicalEfficiencyEquation, setVesselCosts, setVesselType, sizePossibleMetiers, 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.TopiaEntityContextable
getTopiaContext, setTopiaContext
 
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
 

Constructor Detail

SetOfVesselsImpl

public SetOfVesselsImpl()
Method Detail

getFisheryRegion

public FisheryRegion getFisheryRegion()

setName

public void setName(String value)
Override to change name of equation.

Specified by:
setName in interface SetOfVessels
Overrides:
setName in class SetOfVesselsAbstract
See Also:
SetOfVesselsAbstract.setName(java.lang.String)

getTechnicalEfficiency

public double getTechnicalEfficiency(Metier metier)
Evaluate SetOfVesselsAbstract.technicalEfficiencyEquation with Gear and Metier. By default return 1 if equation can't be evaluated.


setTechnicalEfficiencyEquationContent

public void setTechnicalEfficiencyEquationContent(String content)

toString

public String toString()
Overrides:
toString in class SetOfVesselsAbstract


Copyright © 1999-2012 CodeLutin. All Rights Reserved.