Class CellAbstract

java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
fr.ifremer.isisfish.entities.CellAbstract
All Implemented Interfaces:
Cell, Serializable, org.nuiton.topia.persistence.TopiaEntity, org.nuiton.topia.persistence.TopiaEntityContextable
Direct Known Subclasses:
CellImpl

public abstract class CellAbstract extends org.nuiton.topia.persistence.TopiaEntityAbstract implements Cell
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
    Nom de l'attribut en BD : comment
    protected boolean
    Nom de l'attribut en BD : land
    protected float
    Nom de l'attribut en BD : latitude
    protected float
    Nom de l'attribut en BD : longitude
    protected String
    Nom de l'attribut en BD : name

    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.Cell

    PROPERTY_COMMENT, PROPERTY_LAND, PROPERTY_LATITUDE, PROPERTY_LONGITUDE, PROPERTY_NAME

    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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(org.nuiton.topia.persistence.EntityVisitor visitor)
     
    protected void
    accept0(org.nuiton.topia.persistence.EntityVisitor visitor)
     
    void
     
    List<org.nuiton.topia.persistence.TopiaEntity>
     
     
    List<org.nuiton.topia.persistence.TopiaEntity>
     
    boolean
     
    float
     
    float
     
     
    boolean
     
    void
    setComment(String comment)
     
    void
    setLand(boolean land)
     
    void
    setLatitude(float latitude)
     
    void
    setLongitude(float longitude)
     
    void
     
     
    void
     

    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.Cell

    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

      protected String name
      Nom de l'attribut en BD : name
    • latitude

      protected float latitude
      Nom de l'attribut en BD : latitude
    • longitude

      protected float longitude
      Nom de l'attribut en BD : longitude
    • land

      protected boolean land
      Nom de l'attribut en BD : land
    • comment

      protected String comment
      Nom de l'attribut en BD : comment
  • Constructor Details

    • CellAbstract

      public CellAbstract()
  • Method Details

    • update

      public void update() throws org.nuiton.topia.TopiaException
      Specified by:
      update in interface org.nuiton.topia.persistence.TopiaEntityContextable
      Throws:
      org.nuiton.topia.TopiaException
    • delete

      public void delete() throws org.nuiton.topia.TopiaException
      Specified by:
      delete in interface org.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 interface org.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

      public void setName(String name)
      Specified by:
      setName in interface Cell
    • getName

      public String getName()
      Specified by:
      getName in interface Cell
    • setLatitude

      public void setLatitude(float latitude)
      Specified by:
      setLatitude in interface Cell
    • getLatitude

      public float getLatitude()
      Specified by:
      getLatitude in interface Cell
    • setLongitude

      public void setLongitude(float longitude)
      Specified by:
      setLongitude in interface Cell
    • getLongitude

      public float getLongitude()
      Specified by:
      getLongitude in interface Cell
    • setLand

      public void setLand(boolean land)
      Specified by:
      setLand in interface Cell
    • isLand

      public boolean isLand()
      Specified by:
      isLand in interface Cell
    • getLand

      public boolean getLand()
      Specified by:
      getLand in interface Cell
    • setComment

      public void setComment(String comment)
      Specified by:
      setComment in interface Cell
    • getComment

      public String getComment()
      Specified by:
      getComment in interface Cell
    • getAggregate

      public List<org.nuiton.topia.persistence.TopiaEntity> getAggregate() throws org.nuiton.topia.TopiaException
      Specified by:
      getAggregate in interface org.nuiton.topia.persistence.TopiaEntity
      Overrides:
      getAggregate in class org.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 interface org.nuiton.topia.persistence.TopiaEntity
      Overrides:
      getComposite in class org.nuiton.topia.persistence.TopiaEntityAbstract
      Throws:
      org.nuiton.topia.TopiaException
    • toString

      public String toString()
      Overrides:
      toString in class Object