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:
Serializable, Comment, org.nuiton.topia.persistence.TopiaEntity
Direct Known Subclasses:
CommentImpl

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

See Also:
Serialized Form

Field Summary
protected  String author
          Nom de l'attribut en BD : author
protected  Poll poll
          Nom de l'attribut en BD : poll
protected  PollAccount pollAccount
          Nom de l'attribut en BD : pollAccount
protected  Date postDate
          Nom de l'attribut en BD : postDate
protected  String text
          Nom de l'attribut en BD : 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
PROPERTY_AUTHOR, PROPERTY_POLL, PROPERTY_POLL_ACCOUNT, PROPERTY_POST_DATE, PROPERTY_TEXT
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
CommentAbstract()
           
 
Method Summary
 void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
           
 List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 String getAuthor()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 Poll getPoll()
           
 PollAccount getPollAccount()
           
 Date getPostDate()
           
 String getText()
           
 void setAuthor(String author)
           
 void setPoll(Poll poll)
           
 void setPollAccount(PollAccount pollAccount)
           
 void setPostDate(Date postDate)
           
 void setText(String text)
           
 
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, toString, wait, wait, wait
 
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

text

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


postDate

protected Date postDate
Nom de l'attribut en BD : postDate


author

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


poll

protected Poll poll
Nom de l'attribut en BD : poll


pollAccount

protected PollAccount pollAccount
Nom de l'attribut en BD : pollAccount

Constructor Detail

CommentAbstract

public CommentAbstract()
Method Detail

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

setText

public void setText(String text)
Specified by:
setText in interface Comment

getText

public String getText()
Specified by:
getText in interface Comment

setPostDate

public void setPostDate(Date postDate)
Specified by:
setPostDate in interface Comment

getPostDate

public Date getPostDate()
Specified by:
getPostDate in interface Comment

setAuthor

public void setAuthor(String author)
Specified by:
setAuthor in interface Comment

getAuthor

public String getAuthor()
Specified by:
getAuthor in interface Comment

setPoll

public void setPoll(Poll poll)
Specified by:
setPoll in interface Comment

getPoll

public Poll getPoll()
Specified by:
getPoll in interface Comment

setPollAccount

public void setPollAccount(PollAccount pollAccount)
Specified by:
setPollAccount in interface Comment

getPollAccount

public PollAccount getPollAccount()
Specified by:
getPollAccount in interface Comment

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


Copyright © 2009-2012 CodeLutin. All Rights Reserved.