Package fr.ifremer.isisfish.entities
Class GearAbstract
java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
fr.ifremer.isisfish.entities.GearAbstract
- All Implemented Interfaces:
Gear
,Serializable
,org.nuiton.topia.persistence.TopiaEntity
,org.nuiton.topia.persistence.TopiaEntityContextable
- Direct Known Subclasses:
GearImpl
public abstract class GearAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements Gear
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
Nom de l'attribut en BD : commentprotected double
Coût d'achat de l'enginprotected String
Nom de l'attribut en BD : effortUnitprotected String
Nom de l'attribut en BD : nameprotected String
Nom de l'attribut en BD : parameterNameprotected Collection<Selectivity>
Nom de l'attribut en BD : populationprotected RangeOfValues
Nom de l'attribut en BD : possibleValueprotected double
Nom de l'attribut en BD : standardisationFactorFields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables
Fields inherited from interface fr.ifremer.isisfish.entities.Gear
PROPERTY_COMMENT, PROPERTY_COST, PROPERTY_EFFORT_UNIT, PROPERTY_NAME, PROPERTY_PARAMETER_NAME, PROPERTY_POPULATION_SELECTIVITY, PROPERTY_POSSIBLE_VALUE, PROPERTY_STANDARDISATION_FACTOR
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
addAllPopulationSelectivity
(Collection<Selectivity> populationSelectivity) void
addPopulationSelectivity
(Selectivity populationSelectivity) void
void
delete()
List<org.nuiton.topia.persistence.TopiaEntity>
List<org.nuiton.topia.persistence.TopiaEntity>
double
getCost()
getName()
getPopulationSelectivity
(Population population) getPopulationSelectivityByTopiaId
(String topiaId) double
boolean
void
removePopulationSelectivity
(Selectivity populationSelectivity) void
setComment
(String comment) void
setCost
(double cost) void
setEffortUnit
(String effortUnit) void
void
setParameterName
(String parameterName) void
setPopulationSelectivity
(Collection<Selectivity> populationSelectivity) void
setPossibleValue
(RangeOfValues possibleValue) void
setStandardisationFactor
(double standardisationFactor) 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.Gear
getFisheryRegion
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 -
effortUnit
Nom de l'attribut en BD : effortUnit -
standardisationFactor
protected double standardisationFactorNom de l'attribut en BD : standardisationFactor -
parameterName
Nom de l'attribut en BD : parameterName -
cost
protected double costCoût d'achat de l'engin
Nom de l'attribut en BD : cost -
possibleValue
Nom de l'attribut en BD : possibleValue -
comment
Nom de l'attribut en BD : comment -
populationSelectivity
Nom de l'attribut en BD : population
-
-
Constructor Details
-
GearAbstract
public GearAbstract()
-
-
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
-
getName
-
setEffortUnit
- Specified by:
setEffortUnit
in interfaceGear
-
getEffortUnit
- Specified by:
getEffortUnit
in interfaceGear
-
setStandardisationFactor
public void setStandardisationFactor(double standardisationFactor) - Specified by:
setStandardisationFactor
in interfaceGear
-
getStandardisationFactor
public double getStandardisationFactor()- Specified by:
getStandardisationFactor
in interfaceGear
-
setParameterName
- Specified by:
setParameterName
in interfaceGear
-
getParameterName
- Specified by:
getParameterName
in interfaceGear
-
setCost
public void setCost(double cost) -
getCost
public double getCost() -
setPossibleValue
- Specified by:
setPossibleValue
in interfaceGear
-
getPossibleValue
- Specified by:
getPossibleValue
in interfaceGear
-
setComment
- Specified by:
setComment
in interfaceGear
-
getComment
- Specified by:
getComment
in interfaceGear
-
addPopulationSelectivity
- Specified by:
addPopulationSelectivity
in interfaceGear
-
addAllPopulationSelectivity
- Specified by:
addAllPopulationSelectivity
in interfaceGear
-
setPopulationSelectivity
- Specified by:
setPopulationSelectivity
in interfaceGear
-
removePopulationSelectivity
- Specified by:
removePopulationSelectivity
in interfaceGear
-
clearPopulationSelectivity
public void clearPopulationSelectivity()- Specified by:
clearPopulationSelectivity
in interfaceGear
-
getPopulationSelectivity
- Specified by:
getPopulationSelectivity
in interfaceGear
-
getPopulationSelectivityByTopiaId
- Specified by:
getPopulationSelectivityByTopiaId
in interfaceGear
-
getPopulationSelectivity
- Specified by:
getPopulationSelectivity
in interfaceGear
-
sizePopulationSelectivity
public int sizePopulationSelectivity()- Specified by:
sizePopulationSelectivity
in interfaceGear
-
isPopulationSelectivityEmpty
public boolean isPopulationSelectivityEmpty()- Specified by:
isPopulationSelectivityEmpty
in interfaceGear
-
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
-