org.chorem.callao.entity
Class EntryAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by org.chorem.callao.entity.EntryAbstract
All Implemented Interfaces:
java.io.Serializable, Entry, org.nuiton.topia.persistence.TopiaEntity
Direct Known Subclasses:
EntryImpl

public abstract class EntryAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements Entry

Implantation POJO pour l'entité Entry.

See Also:
Serialized Form

Field Summary
 Account account
           
 java.lang.String detail
           
 java.util.Collection<Log> log
           
 Transaction transaction
           
 
Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables
 
Fields inherited from interface org.chorem.callao.entity.Entry
ACCOUNT, AMOUNT, DEBIT, DESCRIPTION, DETAIL, LETTERING, LOG, TRANSACTION
 
Constructor Summary
EntryAbstract()
          Constructeur de EntryAbstract par défaut.
 
Method Summary
 void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
          Envoi via les methodes du visitor l'ensemble des champs de l'entity avec leur nom, type et valeur.
 void addAllLog(java.util.Collection<Log> values)
           
 void addLog(Log log)
           
 void clearLog()
          Vide la Collection de log.
 void delete()
           
 Account getAccount()
           
 java.util.List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 java.lang.String getAmount()
           
 java.util.List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 boolean getDebit()
           
 java.lang.String getDescription()
           
 java.lang.String getDetail()
           
 java.lang.String getLettering()
           
 java.util.Collection<Log> getLog()
           
 Log getLogByTopiaId(java.lang.String topiaId)
          Recupère l'attribut log à partir de son topiaId.
 Transaction getTransaction()
           
 boolean isLogEmpty()
           
 void removeLog(Log value)
           
 void setAccount(Account value)
           
 void setAmount(java.lang.String value)
           
 void setDebit(boolean value)
           
 void setDescription(java.lang.String value)
           
 void setDetail(java.lang.String value)
           
 void setLettering(java.lang.String value)
           
 void setLog(java.util.Collection<Log> values)
           
 void setTransaction(Transaction value)
           
 int sizeLog()
           
 java.lang.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, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, hashCode, postCreate, 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 org.nuiton.topia.persistence.TopiaEntity
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, postCreate, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
 

Field Detail

detail

public java.lang.String detail

transaction

public Transaction transaction

account

public Account account

log

public java.util.Collection<Log> log
Constructor Detail

EntryAbstract

public EntryAbstract()
Constructeur de EntryAbstract par défaut.

Method Detail

update

public void update()
            throws org.nuiton.topia.TopiaException
Specified by:
update in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
update in class org.nuiton.topia.persistence.TopiaEntityAbstract
Throws:
org.nuiton.topia.TopiaException

delete

public void delete()
            throws org.nuiton.topia.TopiaException
Specified by:
delete in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
delete in class org.nuiton.topia.persistence.TopiaEntityAbstract
Throws:
org.nuiton.topia.TopiaException

accept

public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
            throws org.nuiton.topia.TopiaException
Envoi via les methodes du visitor l'ensemble des champs de l'entity avec leur nom, type et valeur.

Specified by:
accept in interface org.nuiton.topia.persistence.TopiaEntity
Parameters:
visitor - le visiteur de l'entite.
Throws:
org.nuiton.topia.TopiaException - if any pb while visit

getAggregate

public java.util.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 java.util.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

setDescription

public void setDescription(java.lang.String value)
Specified by:
setDescription in interface Entry
Parameters:
value - La valeur de l'attribut description à positionner.

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface Entry
Returns:
La valeur de l'attribut description.

setAmount

public void setAmount(java.lang.String value)
Specified by:
setAmount in interface Entry
Parameters:
value - La valeur de l'attribut amount à positionner.

getAmount

public java.lang.String getAmount()
Specified by:
getAmount in interface Entry
Returns:
La valeur de l'attribut amount.

setDebit

public void setDebit(boolean value)
Specified by:
setDebit in interface Entry
Parameters:
value - La valeur de l'attribut debit à positionner.

getDebit

public boolean getDebit()
Specified by:
getDebit in interface Entry
Returns:
La valeur de l'attribut debit.

setLettering

public void setLettering(java.lang.String value)
Specified by:
setLettering in interface Entry
Parameters:
value - La valeur de l'attribut lettering à positionner.

getLettering

public java.lang.String getLettering()
Specified by:
getLettering in interface Entry
Returns:
La valeur de l'attribut lettering.

setDetail

public void setDetail(java.lang.String value)
Specified by:
setDetail in interface Entry
Parameters:
value - La valeur de l'attribut detail à positionner.

getDetail

public java.lang.String getDetail()
Specified by:
getDetail in interface Entry
Returns:
La valeur de l'attribut detail.

setTransaction

public void setTransaction(Transaction value)
Specified by:
setTransaction in interface Entry
Parameters:
value - La valeur de l'attribut transaction à positionner.

getTransaction

public Transaction getTransaction()
Specified by:
getTransaction in interface Entry
Returns:
La valeur de l'attribut transaction.

setAccount

public void setAccount(Account value)
Specified by:
setAccount in interface Entry
Parameters:
value - La valeur de l'attribut account à positionner.

getAccount

public Account getAccount()
Specified by:
getAccount in interface Entry
Returns:
La valeur de l'attribut account.

addLog

public void addLog(Log log)
Specified by:
addLog in interface Entry
Parameters:
log - L'instance de log à ajouter.

addAllLog

public void addAllLog(java.util.Collection<Log> values)
Specified by:
addAllLog in interface Entry
Parameters:
values - Les instances de log à ajouter.

getLogByTopiaId

public Log getLogByTopiaId(java.lang.String topiaId)
Description copied from interface: Entry
Recupère l'attribut log à partir de son topiaId.

Specified by:
getLogByTopiaId in interface Entry
Parameters:
topiaId - le topia id de l'entité recherchée
Returns:
l'attribut recherché, ou null s'il n'existe pas.

setLog

public void setLog(java.util.Collection<Log> values)
Specified by:
setLog in interface Entry
Parameters:
values - La Collection de log à positionner.

removeLog

public void removeLog(Log value)
Specified by:
removeLog in interface Entry
Parameters:
value - L'instance de log à retirer.

clearLog

public void clearLog()
Description copied from interface: Entry
Vide la Collection de log.

Specified by:
clearLog in interface Entry

getLog

public java.util.Collection<Log> getLog()
Specified by:
getLog in interface Entry
Returns:
La Liste de log.

sizeLog

public int sizeLog()
Specified by:
sizeLog in interface Entry
Returns:
Le nombre d'éléments de la collection log.

isLogEmpty

public boolean isLogEmpty()
Specified by:
isLogEmpty in interface Entry
Returns:
true si la collection log est vide.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008-2009 CodeLutin. All Rights Reserved.