fr.ifremer.isisfish.entities
Class EffortDescriptionAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by fr.ifremer.isisfish.entities.EffortDescriptionAbstract
All Implemented Interfaces:
EffortDescription, Serializable, org.nuiton.topia.persistence.TopiaEntity, org.nuiton.topia.persistence.TopiaEntityContextable
Direct Known Subclasses:
EffortDescriptionImpl

public abstract class EffortDescriptionAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements EffortDescription

See Also:
Serialized Form

Field Summary
protected  double crewFoodCost
          Frais de vivres pour l'ensemble de l'équipage par jour.
protected  double crewShareRate
          Taux de part de l'équipage
protected  int crewSize
          Taille de l'équipage pour le métier.
protected  int fishingOperation
          Nombre d'opération de pêche par jour
protected  TimeUnit fishingOperationDuration
          Nom de l'attribut en BD : fishingOperationDuration
protected  double fixedCrewSalary
          Salaire fixe pour l'ensemble de l'équipage pour un mois
protected  int gearsNumberPerOperation
          Nom de l'attribut en BD : gearsNumberPerOperation
protected  double landingCosts
          Nom de l'attribut en BD : landingCosts
protected  double otherRunningCost
          autres coûts par jour
protected  Metier possibleMetiers
          Nom de l'attribut en BD : possibleMetiers
protected  double repairAndMaintenanceGearCost
          Coût de maintenance et de réparation par jour d'utilisation
protected  SetOfVessels setOfVessels
          Nom de l'attribut en BD : setOfVessels
protected  double unitCostOfFishing
          Coût de fonctionnement lié à une opération de pêche: carburant, huile, appât, glace (hors transport sur zone)
 
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.EffortDescription
PROPERTY_CREW_FOOD_COST, PROPERTY_CREW_SHARE_RATE, PROPERTY_CREW_SIZE, PROPERTY_FISHING_OPERATION, PROPERTY_FISHING_OPERATION_DURATION, PROPERTY_FIXED_CREW_SALARY, PROPERTY_GEARS_NUMBER_PER_OPERATION, PROPERTY_LANDING_COSTS, PROPERTY_OTHER_RUNNING_COST, PROPERTY_POSSIBLE_METIERS, PROPERTY_REPAIR_AND_MAINTENANCE_GEAR_COST, PROPERTY_SET_OF_VESSELS, PROPERTY_UNIT_COST_OF_FISHING
 
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
EffortDescriptionAbstract()
           
 
Method Summary
 void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
           
 void delete()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 double getCrewFoodCost()
           
 double getCrewShareRate()
           
 int getCrewSize()
           
 int getFishingOperation()
           
 TimeUnit getFishingOperationDuration()
           
 double getFixedCrewSalary()
           
 int getGearsNumberPerOperation()
           
 double getLandingCosts()
           
 double getOtherRunningCost()
           
 Metier getPossibleMetiers()
           
 double getRepairAndMaintenanceGearCost()
           
 SetOfVessels getSetOfVessels()
           
 double getUnitCostOfFishing()
           
 void setCrewFoodCost(double crewFoodCost)
           
 void setCrewShareRate(double crewShareRate)
           
 void setCrewSize(int crewSize)
           
 void setFishingOperation(int fishingOperation)
           
 void setFishingOperationDuration(TimeUnit fishingOperationDuration)
           
 void setFixedCrewSalary(double fixedCrewSalary)
           
 void setGearsNumberPerOperation(int gearsNumberPerOperation)
           
 void setLandingCosts(double landingCosts)
           
 void setOtherRunningCost(double otherRunningCost)
           
 void setPossibleMetiers(Metier possibleMetiers)
           
 void setRepairAndMaintenanceGearCost(double repairAndMaintenanceGearCost)
           
 void setSetOfVessels(SetOfVessels setOfVessels)
           
 void setUnitCostOfFishing(double unitCostOfFishing)
           
 String toString()
           
 void 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
 

Field Detail

fishingOperation

protected int fishingOperation

Nombre d'opération de pêche par jour

Nom de l'attribut en BD : fishingOperation


fishingOperationDuration

protected TimeUnit fishingOperationDuration
Nom de l'attribut en BD : fishingOperationDuration


gearsNumberPerOperation

protected int gearsNumberPerOperation
Nom de l'attribut en BD : gearsNumberPerOperation


crewSize

protected int crewSize

Taille de l'équipage pour le métier. Ne peut-être inférieur à VesselType.minCrewSize.

Nom de l'attribut en BD : crewSize


unitCostOfFishing

protected double unitCostOfFishing

Coût de fonctionnement lié à une opération de pêche: carburant, huile, appât, glace (hors transport sur zone)

Nom de l'attribut en BD : unitCostOfFishing


fixedCrewSalary

protected double fixedCrewSalary

Salaire fixe pour l'ensemble de l'équipage pour un mois

Nom de l'attribut en BD : fixedCrewSalary


crewShareRate

protected double crewShareRate

Taux de part de l'équipage

Nom de l'attribut en BD : crewShareRate


crewFoodCost

protected double crewFoodCost

Frais de vivres pour l'ensemble de l'équipage par jour.

Nom de l'attribut en BD : crewFoodCost


repairAndMaintenanceGearCost

protected double repairAndMaintenanceGearCost

Coût de maintenance et de réparation par jour d'utilisation

Nom de l'attribut en BD : repairAndMaintenanceGearCost


otherRunningCost

protected double otherRunningCost

autres coûts par jour

Nom de l'attribut en BD : otherRunningCost


landingCosts

protected double landingCosts
Nom de l'attribut en BD : landingCosts


setOfVessels

protected SetOfVessels setOfVessels
Nom de l'attribut en BD : setOfVessels


possibleMetiers

protected Metier possibleMetiers
Nom de l'attribut en BD : possibleMetiers

Constructor Detail

EffortDescriptionAbstract

public EffortDescriptionAbstract()
Method Detail

update

public void update()
            throws org.nuiton.topia.TopiaException
Specified by:
update in interface org.nuiton.topia.persistence.TopiaEntityContextable
Throws:
org.nuiton.topia.TopiaException

delete

public void delete()
            throws org.nuiton.topia.TopiaException
Specified by:
delete in interface org.nuiton.topia.persistence.TopiaEntityContextable
Throws:
org.nuiton.topia.TopiaException

accept

public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
            throws org.nuiton.topia.TopiaException
Specified by:
accept in interface org.nuiton.topia.persistence.TopiaEntity
Throws:
org.nuiton.topia.TopiaException

setFishingOperation

public void setFishingOperation(int fishingOperation)
Specified by:
setFishingOperation in interface EffortDescription

getFishingOperation

public int getFishingOperation()
Specified by:
getFishingOperation in interface EffortDescription

setFishingOperationDuration

public void setFishingOperationDuration(TimeUnit fishingOperationDuration)
Specified by:
setFishingOperationDuration in interface EffortDescription

getFishingOperationDuration

public TimeUnit getFishingOperationDuration()
Specified by:
getFishingOperationDuration in interface EffortDescription

setGearsNumberPerOperation

public void setGearsNumberPerOperation(int gearsNumberPerOperation)
Specified by:
setGearsNumberPerOperation in interface EffortDescription

getGearsNumberPerOperation

public int getGearsNumberPerOperation()
Specified by:
getGearsNumberPerOperation in interface EffortDescription

setCrewSize

public void setCrewSize(int crewSize)
Specified by:
setCrewSize in interface EffortDescription

getCrewSize

public int getCrewSize()
Specified by:
getCrewSize in interface EffortDescription

setUnitCostOfFishing

public void setUnitCostOfFishing(double unitCostOfFishing)
Specified by:
setUnitCostOfFishing in interface EffortDescription

getUnitCostOfFishing

public double getUnitCostOfFishing()
Specified by:
getUnitCostOfFishing in interface EffortDescription

setFixedCrewSalary

public void setFixedCrewSalary(double fixedCrewSalary)
Specified by:
setFixedCrewSalary in interface EffortDescription

getFixedCrewSalary

public double getFixedCrewSalary()
Specified by:
getFixedCrewSalary in interface EffortDescription

setCrewShareRate

public void setCrewShareRate(double crewShareRate)
Specified by:
setCrewShareRate in interface EffortDescription

getCrewShareRate

public double getCrewShareRate()
Specified by:
getCrewShareRate in interface EffortDescription

setCrewFoodCost

public void setCrewFoodCost(double crewFoodCost)
Specified by:
setCrewFoodCost in interface EffortDescription

getCrewFoodCost

public double getCrewFoodCost()
Specified by:
getCrewFoodCost in interface EffortDescription

setRepairAndMaintenanceGearCost

public void setRepairAndMaintenanceGearCost(double repairAndMaintenanceGearCost)
Specified by:
setRepairAndMaintenanceGearCost in interface EffortDescription

getRepairAndMaintenanceGearCost

public double getRepairAndMaintenanceGearCost()
Specified by:
getRepairAndMaintenanceGearCost in interface EffortDescription

setOtherRunningCost

public void setOtherRunningCost(double otherRunningCost)
Specified by:
setOtherRunningCost in interface EffortDescription

getOtherRunningCost

public double getOtherRunningCost()
Specified by:
getOtherRunningCost in interface EffortDescription

setLandingCosts

public void setLandingCosts(double landingCosts)
Specified by:
setLandingCosts in interface EffortDescription

getLandingCosts

public double getLandingCosts()
Specified by:
getLandingCosts in interface EffortDescription

setSetOfVessels

public void setSetOfVessels(SetOfVessels setOfVessels)
Specified by:
setSetOfVessels in interface EffortDescription

getSetOfVessels

public SetOfVessels getSetOfVessels()
Specified by:
getSetOfVessels in interface EffortDescription

setPossibleMetiers

public void setPossibleMetiers(Metier possibleMetiers)
Specified by:
setPossibleMetiers in interface EffortDescription

getPossibleMetiers

public Metier getPossibleMetiers()
Specified by:
getPossibleMetiers in interface EffortDescription

getAggregate

public List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
                                                            throws org.nuiton.topia.TopiaException
Specified by:
getAggregate in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
getAggregate in class org.nuiton.topia.persistence.TopiaEntityAbstract
Throws:
org.nuiton.topia.TopiaException

getComposite

public List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
                                                            throws org.nuiton.topia.TopiaException
Specified by:
getComposite in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
getComposite in class org.nuiton.topia.persistence.TopiaEntityAbstract
Throws:
org.nuiton.topia.TopiaException

toString

public String toString()
Specified by:
toString in interface EffortDescription
Overrides:
toString in class Object


Copyright © 1999-2012 CodeLutin. All Rights Reserved.