org.chorem.pollen.business.persistence
Class CommentAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by org.chorem.pollen.business.persistence.CommentAbstract
All Implemented Interfaces:
java.io.Serializable, Comment, org.nuiton.topia.persistence.TopiaEntity
Direct Known Subclasses:
CommentImpl

public abstract class CommentAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements Comment

Implantation POJO pour l'entité Comment.

See Also:
Serialized Form

Field Summary
 Poll poll
           
 PollAccount pollAccount
           
 java.util.Date postDate
           
 java.lang.String text
           
 
Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables
 
Fields inherited from interface org.chorem.pollen.business.persistence.Comment
POLL, POLL_ACCOUNT, POST_DATE, TEXT
 
Constructor Summary
CommentAbstract()
          Constructeur de CommentAbstract 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 delete()
           
 java.util.List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 java.util.List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 Poll getPoll()
           
 PollAccount getPollAccount()
           
 java.util.Date getPostDate()
           
 java.lang.String getText()
           
 void setPoll(Poll value)
           
 void setPollAccount(PollAccount value)
           
 void setPostDate(java.util.Date value)
           
 void setText(java.lang.String value)
           
 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

text

public java.lang.String text

postDate

public java.util.Date postDate

poll

public Poll poll

pollAccount

public PollAccount pollAccount
Constructor Detail

CommentAbstract

public CommentAbstract()
Constructeur de CommentAbstract 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

setText

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

getText

public java.lang.String getText()
Specified by:
getText in interface Comment
Returns:
La valeur de l'attribut text.

setPostDate

public void setPostDate(java.util.Date value)
Specified by:
setPostDate in interface Comment
Parameters:
value - La valeur de l'attribut postDate à positionner.

getPostDate

public java.util.Date getPostDate()
Specified by:
getPostDate in interface Comment
Returns:
La valeur de l'attribut postDate.

setPoll

public void setPoll(Poll value)
Specified by:
setPoll in interface Comment
Parameters:
value - La valeur de l'attribut poll à positionner.

getPoll

public Poll getPoll()
Specified by:
getPoll in interface Comment
Returns:
La valeur de l'attribut poll.

setPollAccount

public void setPollAccount(PollAccount value)
Specified by:
setPollAccount in interface Comment
Parameters:
value - La valeur de l'attribut pollAccount à positionner.

getPollAccount

public PollAccount getPollAccount()
Specified by:
getPollAccount in interface Comment
Returns:
La valeur de l'attribut pollAccount.

toString

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


Copyright © 2009 CodeLutin. All Rights Reserved.