Package fr.ifremer.isisfish.entities
Class EffortDescriptionAbstract
java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
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:
-
Field Summary
Modifier and TypeFieldDescriptionprotected double
Frais de vivres pour l'ensemble de l'équipage par jour.protected double
Taux de part de l'équipageprotected int
Taille de l'équipage pour le métier.protected int
Nombre d'opération de pêche par jourprotected TimeUnit
Nom de l'attribut en BD : fishingOperationDurationprotected double
Salaire fixe pour l'ensemble de l'équipage pour un moisprotected int
Nom de l'attribut en BD : gearsNumberPerOperationprotected double
Nom de l'attribut en BD : landingCostsprotected double
autres coûts par jourprotected Metier
Nom de l'attribut en BD : possibleMetiersprotected double
Coût de maintenance et de réparation par jour d'utilisationprotected SetOfVessels
Nom de l'attribut en BD : setOfVesselsprotected double
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.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 TypeMethodDescriptionvoid
accept
(org.nuiton.topia.persistence.EntityVisitor visitor) protected void
accept0
(org.nuiton.topia.persistence.EntityVisitor visitor) void
delete()
List<org.nuiton.topia.persistence.TopiaEntity>
List<org.nuiton.topia.persistence.TopiaEntity>
double
double
int
int
double
int
double
double
double
double
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) 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.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
-
Field Details
-
fishingOperation
protected int fishingOperationNombre d'opération de pêche par jour
Nom de l'attribut en BD : fishingOperation -
fishingOperationDuration
Nom de l'attribut en BD : fishingOperationDuration -
gearsNumberPerOperation
protected int gearsNumberPerOperationNom de l'attribut en BD : gearsNumberPerOperation -
crewSize
protected int crewSizeTaille de l'équipage pour le métier. Ne peut-être inférieur à VesselType.minCrewSize.
Nom de l'attribut en BD : crewSize -
unitCostOfFishing
protected double unitCostOfFishingCoû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 fixedCrewSalarySalaire fixe pour l'ensemble de l'équipage pour un mois
Nom de l'attribut en BD : fixedCrewSalary -
crewFoodCost
protected double crewFoodCostFrais de vivres pour l'ensemble de l'équipage par jour.
Nom de l'attribut en BD : crewFoodCost -
repairAndMaintenanceGearCost
protected double repairAndMaintenanceGearCostCoût de maintenance et de réparation par jour d'utilisation
Nom de l'attribut en BD : repairAndMaintenanceGearCost -
otherRunningCost
protected double otherRunningCostautres coûts par jour
Nom de l'attribut en BD : otherRunningCost -
landingCosts
protected double landingCostsNom de l'attribut en BD : landingCosts -
setOfVessels
Nom de l'attribut en BD : setOfVessels -
possibleMetiers
Nom de l'attribut en BD : possibleMetiers
-
-
Constructor Details
-
EffortDescriptionAbstract
public EffortDescriptionAbstract()
-
-
Method Details
-
update
public void update() throws org.nuiton.topia.TopiaException- Specified by:
update
in interfaceorg.nuiton.topia.persistence.TopiaEntityContextable
- Throws:
org.nuiton.topia.TopiaException
-
delete
public void delete() throws org.nuiton.topia.TopiaException- Specified by:
delete
in interfaceorg.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 interfaceorg.nuiton.topia.persistence.TopiaEntity
- Throws:
org.nuiton.topia.TopiaException
-
accept0
protected void accept0(org.nuiton.topia.persistence.EntityVisitor visitor) throws org.nuiton.topia.TopiaException - Throws:
org.nuiton.topia.TopiaException
-
setFishingOperation
public void setFishingOperation(int fishingOperation) - Specified by:
setFishingOperation
in interfaceEffortDescription
-
getFishingOperation
public int getFishingOperation()- Specified by:
getFishingOperation
in interfaceEffortDescription
-
setFishingOperationDuration
- Specified by:
setFishingOperationDuration
in interfaceEffortDescription
-
getFishingOperationDuration
- Specified by:
getFishingOperationDuration
in interfaceEffortDescription
-
setGearsNumberPerOperation
public void setGearsNumberPerOperation(int gearsNumberPerOperation) - Specified by:
setGearsNumberPerOperation
in interfaceEffortDescription
-
getGearsNumberPerOperation
public int getGearsNumberPerOperation()- Specified by:
getGearsNumberPerOperation
in interfaceEffortDescription
-
setCrewSize
public void setCrewSize(int crewSize) - Specified by:
setCrewSize
in interfaceEffortDescription
-
getCrewSize
public int getCrewSize()- Specified by:
getCrewSize
in interfaceEffortDescription
-
setUnitCostOfFishing
public void setUnitCostOfFishing(double unitCostOfFishing) - Specified by:
setUnitCostOfFishing
in interfaceEffortDescription
-
getUnitCostOfFishing
public double getUnitCostOfFishing()- Specified by:
getUnitCostOfFishing
in interfaceEffortDescription
-
setFixedCrewSalary
public void setFixedCrewSalary(double fixedCrewSalary) - Specified by:
setFixedCrewSalary
in interfaceEffortDescription
-
getFixedCrewSalary
public double getFixedCrewSalary()- Specified by:
getFixedCrewSalary
in interfaceEffortDescription
-
setCrewFoodCost
public void setCrewFoodCost(double crewFoodCost) - Specified by:
setCrewFoodCost
in interfaceEffortDescription
-
getCrewFoodCost
public double getCrewFoodCost()- Specified by:
getCrewFoodCost
in interfaceEffortDescription
-
setRepairAndMaintenanceGearCost
public void setRepairAndMaintenanceGearCost(double repairAndMaintenanceGearCost) - Specified by:
setRepairAndMaintenanceGearCost
in interfaceEffortDescription
-
getRepairAndMaintenanceGearCost
public double getRepairAndMaintenanceGearCost()- Specified by:
getRepairAndMaintenanceGearCost
in interfaceEffortDescription
-
setOtherRunningCost
public void setOtherRunningCost(double otherRunningCost) - Specified by:
setOtherRunningCost
in interfaceEffortDescription
-
getOtherRunningCost
public double getOtherRunningCost()- Specified by:
getOtherRunningCost
in interfaceEffortDescription
-
setLandingCosts
public void setLandingCosts(double landingCosts) - Specified by:
setLandingCosts
in interfaceEffortDescription
-
getLandingCosts
public double getLandingCosts()- Specified by:
getLandingCosts
in interfaceEffortDescription
-
setSetOfVessels
- Specified by:
setSetOfVessels
in interfaceEffortDescription
-
getSetOfVessels
- Specified by:
getSetOfVessels
in interfaceEffortDescription
-
setPossibleMetiers
- Specified by:
setPossibleMetiers
in interfaceEffortDescription
-
getPossibleMetiers
- Specified by:
getPossibleMetiers
in interfaceEffortDescription
-
getAggregate
public List<org.nuiton.topia.persistence.TopiaEntity> getAggregate() throws org.nuiton.topia.TopiaException- Specified by:
getAggregate
in interfaceorg.nuiton.topia.persistence.TopiaEntity
- Overrides:
getAggregate
in classorg.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 interfaceorg.nuiton.topia.persistence.TopiaEntity
- Overrides:
getComposite
in classorg.nuiton.topia.persistence.TopiaEntityAbstract
- Throws:
org.nuiton.topia.TopiaException
-
toString
- Specified by:
toString
in interfaceEffortDescription
- Overrides:
toString
in classObject
-