Package fr.ifremer.isisfish.entities
Class SetOfVesselsAbstract
java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
fr.ifremer.isisfish.entities.SetOfVesselsAbstract
- All Implemented Interfaces:
SetOfVessels
,Serializable
,org.nuiton.topia.persistence.TopiaEntity
,org.nuiton.topia.persistence.TopiaEntityContextable
- Direct Known Subclasses:
SetOfVesselsImpl
public abstract class SetOfVesselsAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements SetOfVessels
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected double
Nom de l'attribut en BD : capitalDeprecationprotected String
Nom de l'attribut en BD : commentprotected double
Coûts fixes décaissésprotected double
Nom de l'attribut en BD : interestCostprotected String
Nom de l'attribut en BD : nameprotected int
Nom de l'attribut en BD : numberOfVesselsprotected Port
Nom de l'attribut en BD : portprotected Collection<EffortDescription>
Nom de l'attribut en BD : possibleMetiersprotected Equation
Nom de l'attribut en BD : technicalEfficiencyEquationprotected double
Nom de l'attribut en BD : vesselCostsprotected VesselType
Nom de l'attribut en BD : vesselTypeFields 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.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
addAllPossibleMetiers
(Collection<EffortDescription> possibleMetiers) void
addPossibleMetiers
(EffortDescription possibleMetiers) void
void
delete()
List<org.nuiton.topia.persistence.TopiaEntity>
double
List<org.nuiton.topia.persistence.TopiaEntity>
double
double
getName()
int
getPort()
getPossibleMetiers
(Metier possibleMetiers) getPossibleMetiersByTopiaId
(String topiaId) double
boolean
void
removePossibleMetiers
(EffortDescription possibleMetiers) void
setCapitalDeprecation
(double capitalDeprecation) void
setComment
(String comment) void
setFixedCosts
(double fixedCosts) void
setInterestCost
(double interestCost) void
void
setNumberOfVessels
(int numberOfVessels) void
void
setPossibleMetiers
(Collection<EffortDescription> possibleMetiers) void
setTechnicalEfficiencyEquation
(Equation technicalEfficiencyEquation) void
setVesselCosts
(double vesselCosts) void
setVesselType
(VesselType vesselType) int
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 fr.ifremer.isisfish.entities.SetOfVessels
getFisheryRegion, getTechnicalEfficiency
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
-
name
Nom de l'attribut en BD : name -
numberOfVessels
protected int numberOfVesselsNom de l'attribut en BD : numberOfVessels -
fixedCosts
protected double fixedCostsCoûts fixes décaissés
Nom de l'attribut en BD : fixedCosts -
vesselCosts
protected double vesselCostsNom de l'attribut en BD : vesselCosts -
capitalDeprecation
protected double capitalDeprecationNom de l'attribut en BD : capitalDeprecation -
interestCost
protected double interestCostNom de l'attribut en BD : interestCost -
comment
Nom de l'attribut en BD : comment -
technicalEfficiencyEquation
Nom de l'attribut en BD : technicalEfficiencyEquation -
port
Nom de l'attribut en BD : port -
possibleMetiers
Nom de l'attribut en BD : possibleMetiers -
vesselType
Nom de l'attribut en BD : vesselType
-
-
Constructor Details
-
SetOfVesselsAbstract
public SetOfVesselsAbstract()
-
-
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
-
setName
- Specified by:
setName
in interfaceSetOfVessels
-
getName
- Specified by:
getName
in interfaceSetOfVessels
-
setNumberOfVessels
public void setNumberOfVessels(int numberOfVessels) - Specified by:
setNumberOfVessels
in interfaceSetOfVessels
-
getNumberOfVessels
public int getNumberOfVessels()- Specified by:
getNumberOfVessels
in interfaceSetOfVessels
-
setFixedCosts
public void setFixedCosts(double fixedCosts) - Specified by:
setFixedCosts
in interfaceSetOfVessels
-
getFixedCosts
public double getFixedCosts()- Specified by:
getFixedCosts
in interfaceSetOfVessels
-
setVesselCosts
public void setVesselCosts(double vesselCosts) - Specified by:
setVesselCosts
in interfaceSetOfVessels
-
getVesselCosts
public double getVesselCosts()- Specified by:
getVesselCosts
in interfaceSetOfVessels
-
setCapitalDeprecation
public void setCapitalDeprecation(double capitalDeprecation) - Specified by:
setCapitalDeprecation
in interfaceSetOfVessels
-
getCapitalDeprecation
public double getCapitalDeprecation()- Specified by:
getCapitalDeprecation
in interfaceSetOfVessels
-
setInterestCost
public void setInterestCost(double interestCost) - Specified by:
setInterestCost
in interfaceSetOfVessels
-
getInterestCost
public double getInterestCost()- Specified by:
getInterestCost
in interfaceSetOfVessels
-
setComment
- Specified by:
setComment
in interfaceSetOfVessels
-
getComment
- Specified by:
getComment
in interfaceSetOfVessels
-
setTechnicalEfficiencyEquation
- Specified by:
setTechnicalEfficiencyEquation
in interfaceSetOfVessels
-
getTechnicalEfficiencyEquation
- Specified by:
getTechnicalEfficiencyEquation
in interfaceSetOfVessels
-
setPort
- Specified by:
setPort
in interfaceSetOfVessels
-
getPort
- Specified by:
getPort
in interfaceSetOfVessels
-
addPossibleMetiers
- Specified by:
addPossibleMetiers
in interfaceSetOfVessels
-
addAllPossibleMetiers
- Specified by:
addAllPossibleMetiers
in interfaceSetOfVessels
-
setPossibleMetiers
- Specified by:
setPossibleMetiers
in interfaceSetOfVessels
-
removePossibleMetiers
- Specified by:
removePossibleMetiers
in interfaceSetOfVessels
-
clearPossibleMetiers
public void clearPossibleMetiers()- Specified by:
clearPossibleMetiers
in interfaceSetOfVessels
-
getPossibleMetiers
- Specified by:
getPossibleMetiers
in interfaceSetOfVessels
-
getPossibleMetiersByTopiaId
- Specified by:
getPossibleMetiersByTopiaId
in interfaceSetOfVessels
-
getPossibleMetiers
- Specified by:
getPossibleMetiers
in interfaceSetOfVessels
-
sizePossibleMetiers
public int sizePossibleMetiers()- Specified by:
sizePossibleMetiers
in interfaceSetOfVessels
-
isPossibleMetiersEmpty
public boolean isPossibleMetiersEmpty()- Specified by:
isPossibleMetiersEmpty
in interfaceSetOfVessels
-
setVesselType
- Specified by:
setVesselType
in interfaceSetOfVessels
-
getVesselType
- Specified by:
getVesselType
in interfaceSetOfVessels
-
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
-