org.chorem.callao.entity
Class JournalAbstract
java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
org.chorem.callao.entity.JournalAbstract
- All Implemented Interfaces:
- java.io.Serializable, Journal, org.nuiton.topia.persistence.TopiaEntity
- Direct Known Subclasses:
- JournalImpl
public abstract class JournalAbstract
- extends org.nuiton.topia.persistence.TopiaEntityAbstract
- implements Journal
Implantation POJO pour l'entité Journal.
- See Also:
- Serialized Form
| Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract |
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables |
|
Constructor Summary |
JournalAbstract()
Constructeur de JournalAbstract par défaut. |
| 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 |
description
public java.lang.String description
transaction
public java.util.Collection<Transaction> transaction
JournalAbstract
public JournalAbstract()
- Constructeur de JournalAbstract par défaut.
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
setLabel
public void setLabel(java.lang.String value)
- Specified by:
setLabel in interface Journal
- Parameters:
value - La valeur de l'attribut label à positionner.
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel in interface Journal
- Returns:
- La valeur de l'attribut label.
setPrefix
public void setPrefix(java.lang.String value)
- Specified by:
setPrefix in interface Journal
- Parameters:
value - La valeur de l'attribut prefix à positionner.
getPrefix
public java.lang.String getPrefix()
- Specified by:
getPrefix in interface Journal
- Returns:
- La valeur de l'attribut prefix.
setDescription
public void setDescription(java.lang.String value)
- Specified by:
setDescription in interface Journal
- Parameters:
value - La valeur de l'attribut description à positionner.
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface Journal
- Returns:
- La valeur de l'attribut description.
addTransaction
public void addTransaction(Transaction transaction)
- Specified by:
addTransaction in interface Journal
- Parameters:
transaction - L'instance de transaction à ajouter.
addAllTransaction
public void addAllTransaction(java.util.Collection<Transaction> values)
- Specified by:
addAllTransaction in interface Journal
- Parameters:
values - Les instances de transaction à ajouter.
getTransactionByTopiaId
public Transaction getTransactionByTopiaId(java.lang.String topiaId)
- Description copied from interface:
Journal
- Recupère l'attribut transaction à partir de son topiaId.
- Specified by:
getTransactionByTopiaId in interface Journal
- Parameters:
topiaId - le topia id de l'entité recherchée
- Returns:
- l'attribut recherché, ou
null s'il n'existe pas.
setTransaction
public void setTransaction(java.util.Collection<Transaction> values)
- Specified by:
setTransaction in interface Journal
- Parameters:
values - La Collection de transaction à positionner.
removeTransaction
public void removeTransaction(Transaction value)
- Specified by:
removeTransaction in interface Journal
- Parameters:
value - L'instance de transaction à retirer.
clearTransaction
public void clearTransaction()
- Description copied from interface:
Journal
- Vide la Collection de transaction.
- Specified by:
clearTransaction in interface Journal
getTransaction
public java.util.Collection<Transaction> getTransaction()
- Specified by:
getTransaction in interface Journal
- Returns:
- La Liste de transaction.
sizeTransaction
public int sizeTransaction()
- Specified by:
sizeTransaction in interface Journal
- Returns:
- Le nombre d'éléments de la collection transaction.
isTransactionEmpty
public boolean isTransactionEmpty()
- Specified by:
isTransactionEmpty in interface Journal
- Returns:
true si la collection transaction est vide.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2008-2010 CodeLutin. All Rights Reserved.