fr.ifremer.isisfish.entities
Class ZoneAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by fr.ifremer.isisfish.entities.ZoneAbstract
All Implemented Interfaces:
Zone, Serializable, org.nuiton.topia.persistence.TopiaEntity, org.nuiton.topia.persistence.TopiaEntityContextable
Direct Known Subclasses:
ZoneImpl

public abstract class ZoneAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements Zone

See Also:
Serialized Form

Field Summary
protected  List<Cell> cell
          Nom de l'attribut en BD : cell
protected  String comment
          Nom de l'attribut en BD : comment
protected  String name
          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.Zone
PROPERTY_CELL, PROPERTY_COMMENT, PROPERTY_NAME
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntityContextable
TOPIA_CONTEXT
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
ZoneAbstract()
           
 
Method Summary
 void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
           
 void addAllCell(List<Cell> cell)
           
 void addCell(Cell cell)
           
 void clearCell()
           
 void delete()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 List<Cell> getCell()
           
 Cell getCellByTopiaId(String topiaId)
           
 String getComment()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 String getName()
           
 boolean isCellEmpty()
           
 void removeCell(Cell cell)
           
 void setCell(List<Cell> cell)
           
 void setComment(String comment)
           
 void setName(String name)
           
 int sizeCell()
           
 String 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.Zone
getFisheryRegion
 
Methods inherited from interface org.nuiton.topia.persistence.TopiaEntityContextable
getTopiaContext, setTopiaContext
 
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
 

Field Detail

name

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


comment

protected String comment
Nom de l'attribut en BD : comment


cell

protected List<Cell> cell
Nom de l'attribut en BD : cell

Constructor Detail

ZoneAbstract

public ZoneAbstract()
Method Detail

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

setName

public void setName(String name)
Specified by:
setName in interface Zone

getName

public String getName()
Specified by:
getName in interface Zone

setComment

public void setComment(String comment)
Specified by:
setComment in interface Zone

getComment

public String getComment()
Specified by:
getComment in interface Zone

addCell

public void addCell(Cell cell)
Specified by:
addCell in interface Zone

addAllCell

public void addAllCell(List<Cell> cell)
Specified by:
addAllCell in interface Zone

setCell

public void setCell(List<Cell> cell)
Specified by:
setCell in interface Zone

removeCell

public void removeCell(Cell cell)
Specified by:
removeCell in interface Zone

clearCell

public void clearCell()
Specified by:
clearCell in interface Zone

getCell

public List<Cell> getCell()
Specified by:
getCell in interface Zone

getCellByTopiaId

public Cell getCellByTopiaId(String topiaId)
Specified by:
getCellByTopiaId in interface Zone

sizeCell

public int sizeCell()
Specified by:
sizeCell in interface Zone

isCellEmpty

public boolean isCellEmpty()
Specified by:
isCellEmpty in interface Zone

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


Copyright © 1999-2012 CodeLutin. All Rights Reserved.