org.chorem.pollen.business.persistence
Class VoteToChoiceAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by org.chorem.pollen.business.persistence.VoteToChoiceAbstract
All Implemented Interfaces:
Serializable, VoteToChoice, org.nuiton.topia.persistence.TopiaEntity
Direct Known Subclasses:
VoteToChoiceImpl

public abstract class VoteToChoiceAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements VoteToChoice

Implantation POJO pour l'entité VoteToChoice.

See Also:
Serialized Form

Field Summary
 Choice choice
           
 Vote vote
           
 Integer voteValue
           
 
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.VoteToChoice
CHOICE, VOTE, VOTE_VALUE
 
Constructor Summary
VoteToChoiceAbstract()
          Constructeur de VoteToChoiceAbstract 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()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 Choice getChoice()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 Vote getVote()
           
 Integer getVoteValue()
           
 void setChoice(Choice value)
           
 void setVote(Vote value)
           
 void setVoteValue(Integer value)
           
 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

voteValue

public Integer voteValue

vote

public Vote vote

choice

public Choice choice
Constructor Detail

VoteToChoiceAbstract

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

setVoteValue

public void setVoteValue(Integer value)
Specified by:
setVoteValue in interface VoteToChoice
Parameters:
value - La valeur de l'attribut voteValue à positionner.

getVoteValue

public Integer getVoteValue()
Specified by:
getVoteValue in interface VoteToChoice
Returns:
La valeur de l'attribut voteValue.

setVote

public void setVote(Vote value)
Specified by:
setVote in interface VoteToChoice
Parameters:
value - La valeur de l'attribut vote à positionner.

getVote

public Vote getVote()
Specified by:
getVote in interface VoteToChoice
Returns:
La valeur de l'attribut vote.

setChoice

public void setChoice(Choice value)
Specified by:
setChoice in interface VoteToChoice
Parameters:
value - La valeur de l'attribut choice à positionner.

getChoice

public Choice getChoice()
Specified by:
getChoice in interface VoteToChoice
Returns:
La valeur de l'attribut choice.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2010 CodeLutin. All Rights Reserved.