Package fr.ifremer.isisfish.entities
Class MetierAbstract
java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
fr.ifremer.isisfish.entities.MetierAbstract
- All Implemented Interfaces:
Metier
,Serializable
,org.nuiton.topia.persistence.TopiaEntity
,org.nuiton.topia.persistence.TopiaEntityContextable
- Direct Known Subclasses:
MetierImpl
public abstract class MetierAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements Metier
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
Nom de l'attribut en BD : capturableSpeciesCommentprotected String
Nom de l'attribut en BD : commentprotected Gear
Nom de l'attribut en BD : gearprotected String
Nom de l'attribut en BD : gearParameterValueprotected List<MetierSeasonInfo>
Nom de l'attribut en BD : metierSeasonInfoprotected String
Nom de l'attribut en BD : nameprotected Collection<EffortDescription>
Nom de l'attribut en BD : setOfVesselsFields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables
Fields inherited from interface fr.ifremer.isisfish.entities.Metier
PROPERTY_CAPTURABLE_SPECIES_COMMENT, PROPERTY_COMMENT, PROPERTY_GEAR, PROPERTY_GEAR_PARAMETER_VALUE, PROPERTY_METIER_SEASON_INFO, PROPERTY_NAME, PROPERTY_SET_OF_VESSELS_EFFORT_DESCRIPTION
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
addAllMetierSeasonInfo
(List<MetierSeasonInfo> metierSeasonInfo) void
addMetierSeasonInfo
(MetierSeasonInfo metierSeasonInfo) void
void
delete()
List<org.nuiton.topia.persistence.TopiaEntity>
List<org.nuiton.topia.persistence.TopiaEntity>
getGear()
getMetierSeasonInfoByTopiaId
(String topiaId) getName()
boolean
void
removeMetierSeasonInfo
(MetierSeasonInfo metierSeasonInfo) void
setCapturableSpeciesComment
(String capturableSpeciesComment) void
setComment
(String comment) void
void
setGearParameterValue
(String gearParameterValue) void
setMetierSeasonInfo
(List<MetierSeasonInfo> metierSeasonInfo) void
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.Metier
getFisheryRegion, getGearParameterValueAsDouble, getMetierSeasonInfo
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 -
gearParameterValue
Nom de l'attribut en BD : gearParameterValue -
comment
Nom de l'attribut en BD : comment -
capturableSpeciesComment
Nom de l'attribut en BD : capturableSpeciesComment -
gear
Nom de l'attribut en BD : gear -
setOfVesselsEffortDescription
Nom de l'attribut en BD : setOfVessels -
metierSeasonInfo
Nom de l'attribut en BD : metierSeasonInfo
-
-
Constructor Details
-
MetierAbstract
public MetierAbstract()
-
-
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
-
setGearParameterValue
- Specified by:
setGearParameterValue
in interfaceMetier
-
getGearParameterValue
- Specified by:
getGearParameterValue
in interfaceMetier
-
setComment
- Specified by:
setComment
in interfaceMetier
-
getComment
- Specified by:
getComment
in interfaceMetier
-
setCapturableSpeciesComment
- Specified by:
setCapturableSpeciesComment
in interfaceMetier
-
getCapturableSpeciesComment
- Specified by:
getCapturableSpeciesComment
in interfaceMetier
-
setGear
-
getGear
-
addMetierSeasonInfo
- Specified by:
addMetierSeasonInfo
in interfaceMetier
-
addAllMetierSeasonInfo
- Specified by:
addAllMetierSeasonInfo
in interfaceMetier
-
setMetierSeasonInfo
- Specified by:
setMetierSeasonInfo
in interfaceMetier
-
removeMetierSeasonInfo
- Specified by:
removeMetierSeasonInfo
in interfaceMetier
-
clearMetierSeasonInfo
public void clearMetierSeasonInfo()- Specified by:
clearMetierSeasonInfo
in interfaceMetier
-
getMetierSeasonInfo
- Specified by:
getMetierSeasonInfo
in interfaceMetier
-
getMetierSeasonInfoByTopiaId
- Specified by:
getMetierSeasonInfoByTopiaId
in interfaceMetier
-
sizeMetierSeasonInfo
public int sizeMetierSeasonInfo()- Specified by:
sizeMetierSeasonInfo
in interfaceMetier
-
isMetierSeasonInfoEmpty
public boolean isMetierSeasonInfoEmpty()- Specified by:
isMetierSeasonInfoEmpty
in interfaceMetier
-
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
-