Package fr.ifremer.isisfish.entities
Class StrategyAbstract
java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
fr.ifremer.isisfish.entities.StrategyAbstract
- All Implemented Interfaces:
Strategy,Serializable,org.nuiton.topia.persistence.TopiaEntity,org.nuiton.topia.persistence.TopiaEntityContextable
- Direct Known Subclasses:
StrategyImpl
public abstract class StrategyAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements Strategy
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringNom de l'attribut en BD : commentprotected EquationNom de l'attribut en BD : inactivityEquationprotected booleanNom de l'attribut en BD : inactivityEquationUsedprotected StringNom de l'attribut en BD : nameprotected doubleNom de l'attribut en BD : proportionSetOfVesselsprotected SetOfVesselsNom de l'attribut en BD : setOfVesselsprotected List<StrategyMonthInfo>Nom de l'attribut en BD : strategyMonthInfoFields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoablesFields inherited from interface fr.ifremer.isisfish.entities.Strategy
PROPERTY_COMMENT, PROPERTY_INACTIVITY_EQUATION, PROPERTY_INACTIVITY_EQUATION_USED, PROPERTY_NAME, PROPERTY_PROPORTION_SET_OF_VESSELS, PROPERTY_SET_OF_VESSELS, PROPERTY_STRATEGY_MONTH_INFOFields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSIONFields inherited from interface org.nuiton.topia.persistence.TopiaEntityContextable
TOPIA_CONTEXT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(org.nuiton.topia.persistence.EntityVisitor visitor) protected voidaccept0(org.nuiton.topia.persistence.EntityVisitor visitor) voidaddAllStrategyMonthInfo(List<StrategyMonthInfo> strategyMonthInfo) voidaddStrategyMonthInfo(StrategyMonthInfo strategyMonthInfo) voidvoiddelete()List<org.nuiton.topia.persistence.TopiaEntity>List<org.nuiton.topia.persistence.TopiaEntity>booleangetName()doublegetStrategyMonthInfoByTopiaId(String topiaId) booleanbooleanvoidremoveStrategyMonthInfo(StrategyMonthInfo strategyMonthInfo) voidsetComment(String comment) voidsetInactivityEquation(Equation inactivityEquation) voidsetInactivityEquationUsed(boolean inactivityEquationUsed) voidvoidsetProportionSetOfVessels(double proportionSetOfVessels) voidsetSetOfVessels(SetOfVessels setOfVessels) voidsetStrategyMonthInfo(List<StrategyMonthInfo> strategyMonthInfo) inttoString()voidupdate()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, setTopiaVersionMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface fr.ifremer.isisfish.entities.Strategy
getFisheryRegion, getInactivityDays, getProportionMetier, getStrategyMonthInfo, setProportionMetierMethods 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, setTopiaVersionMethods inherited from interface org.nuiton.topia.persistence.TopiaEntityContextable
getTopiaContext, setTopiaContext
-
Field Details
-
name
Nom de l'attribut en BD : name -
proportionSetOfVessels
protected double proportionSetOfVesselsNom de l'attribut en BD : proportionSetOfVessels -
comment
Nom de l'attribut en BD : comment -
inactivityEquationUsed
protected boolean inactivityEquationUsedNom de l'attribut en BD : inactivityEquationUsed -
inactivityEquation
Nom de l'attribut en BD : inactivityEquation -
setOfVessels
Nom de l'attribut en BD : setOfVessels -
strategyMonthInfo
Nom de l'attribut en BD : strategyMonthInfo
-
-
Constructor Details
-
StrategyAbstract
public StrategyAbstract()
-
-
Method Details
-
update
public void update() throws org.nuiton.topia.TopiaException- Specified by:
updatein interfaceorg.nuiton.topia.persistence.TopiaEntityContextable- Throws:
org.nuiton.topia.TopiaException
-
delete
public void delete() throws org.nuiton.topia.TopiaException- Specified by:
deletein 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:
acceptin 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
-
setProportionSetOfVessels
public void setProportionSetOfVessels(double proportionSetOfVessels) - Specified by:
setProportionSetOfVesselsin interfaceStrategy
-
getProportionSetOfVessels
public double getProportionSetOfVessels()- Specified by:
getProportionSetOfVesselsin interfaceStrategy
-
setComment
- Specified by:
setCommentin interfaceStrategy
-
getComment
- Specified by:
getCommentin interfaceStrategy
-
setInactivityEquationUsed
public void setInactivityEquationUsed(boolean inactivityEquationUsed) - Specified by:
setInactivityEquationUsedin interfaceStrategy
-
isInactivityEquationUsed
public boolean isInactivityEquationUsed()- Specified by:
isInactivityEquationUsedin interfaceStrategy
-
getInactivityEquationUsed
public boolean getInactivityEquationUsed()- Specified by:
getInactivityEquationUsedin interfaceStrategy
-
setInactivityEquation
- Specified by:
setInactivityEquationin interfaceStrategy
-
getInactivityEquation
- Specified by:
getInactivityEquationin interfaceStrategy
-
setSetOfVessels
- Specified by:
setSetOfVesselsin interfaceStrategy
-
getSetOfVessels
- Specified by:
getSetOfVesselsin interfaceStrategy
-
addStrategyMonthInfo
- Specified by:
addStrategyMonthInfoin interfaceStrategy
-
addAllStrategyMonthInfo
- Specified by:
addAllStrategyMonthInfoin interfaceStrategy
-
setStrategyMonthInfo
- Specified by:
setStrategyMonthInfoin interfaceStrategy
-
removeStrategyMonthInfo
- Specified by:
removeStrategyMonthInfoin interfaceStrategy
-
clearStrategyMonthInfo
public void clearStrategyMonthInfo()- Specified by:
clearStrategyMonthInfoin interfaceStrategy
-
getStrategyMonthInfo
- Specified by:
getStrategyMonthInfoin interfaceStrategy
-
getStrategyMonthInfoByTopiaId
- Specified by:
getStrategyMonthInfoByTopiaIdin interfaceStrategy
-
sizeStrategyMonthInfo
public int sizeStrategyMonthInfo()- Specified by:
sizeStrategyMonthInfoin interfaceStrategy
-
isStrategyMonthInfoEmpty
public boolean isStrategyMonthInfoEmpty()- Specified by:
isStrategyMonthInfoEmptyin interfaceStrategy
-
getAggregate
public List<org.nuiton.topia.persistence.TopiaEntity> getAggregate() throws org.nuiton.topia.TopiaException- Specified by:
getAggregatein interfaceorg.nuiton.topia.persistence.TopiaEntity- Overrides:
getAggregatein 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:
getCompositein interfaceorg.nuiton.topia.persistence.TopiaEntity- Overrides:
getCompositein classorg.nuiton.topia.persistence.TopiaEntityAbstract- Throws:
org.nuiton.topia.TopiaException
-
toString
-