org.chorem.pollen.business.persistence
Class ChoiceAbstract

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

public abstract class ChoiceAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements Choice

See Also:
Serialized Form

Field Summary
protected  String description
          Nom de l'attribut en BD : description
protected  String name
          Nom de l'attribut en BD : name
protected  boolean validate
          Nom de l'attribut en BD : validate
protected  List<VoteToChoice> voteVoteToChoice
          Nom de l'attribut en BD : vote
 
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.Choice
PROPERTY_DESCRIPTION, PROPERTY_NAME, PROPERTY_VALIDATE, PROPERTY_VOTE_VOTE_TO_CHOICE
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
ChoiceAbstract()
           
 
Method Summary
 void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
           
 void addAllVoteVoteToChoice(List<VoteToChoice> voteVoteToChoice)
           
 void addVoteVoteToChoice(VoteToChoice voteVoteToChoice)
           
 void clearVoteVoteToChoice()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 String getDescription()
           
 String getName()
           
 List<VoteToChoice> getVoteVoteToChoice()
           
 VoteToChoice getVoteVoteToChoice(Vote vote)
           
 VoteToChoice getVoteVoteToChoiceByTopiaId(String topiaId)
           
 boolean isValidate()
           
 boolean isVoteVoteToChoiceEmpty()
           
 void removeVoteVoteToChoice(VoteToChoice voteVoteToChoice)
           
 void setDescription(String description)
           
 void setName(String name)
           
 void setValidate(boolean validate)
           
 void setVoteVoteToChoice(List<VoteToChoice> voteVoteToChoice)
           
 int sizeVoteVoteToChoice()
           
 
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

name

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


description

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


validate

protected boolean validate
Nom de l'attribut en BD : validate


voteVoteToChoice

protected List<VoteToChoice> voteVoteToChoice
Nom de l'attribut en BD : vote

Constructor Detail

ChoiceAbstract

public ChoiceAbstract()
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

setName

public void setName(String name)
Specified by:
setName in interface Choice

getName

public String getName()
Specified by:
getName in interface Choice

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface Choice

getDescription

public String getDescription()
Specified by:
getDescription in interface Choice

setValidate

public void setValidate(boolean validate)
Specified by:
setValidate in interface Choice

isValidate

public boolean isValidate()
Specified by:
isValidate in interface Choice

addVoteVoteToChoice

public void addVoteVoteToChoice(VoteToChoice voteVoteToChoice)
Specified by:
addVoteVoteToChoice in interface Choice

addAllVoteVoteToChoice

public void addAllVoteVoteToChoice(List<VoteToChoice> voteVoteToChoice)
Specified by:
addAllVoteVoteToChoice in interface Choice

setVoteVoteToChoice

public void setVoteVoteToChoice(List<VoteToChoice> voteVoteToChoice)
Specified by:
setVoteVoteToChoice in interface Choice

removeVoteVoteToChoice

public void removeVoteVoteToChoice(VoteToChoice voteVoteToChoice)
Specified by:
removeVoteVoteToChoice in interface Choice

clearVoteVoteToChoice

public void clearVoteVoteToChoice()
Specified by:
clearVoteVoteToChoice in interface Choice

getVoteVoteToChoice

public List<VoteToChoice> getVoteVoteToChoice()
Specified by:
getVoteVoteToChoice in interface Choice

getVoteVoteToChoiceByTopiaId

public VoteToChoice getVoteVoteToChoiceByTopiaId(String topiaId)
Specified by:
getVoteVoteToChoiceByTopiaId in interface Choice

getVoteVoteToChoice

public VoteToChoice getVoteVoteToChoice(Vote vote)
Specified by:
getVoteVoteToChoice in interface Choice

sizeVoteVoteToChoice

public int sizeVoteVoteToChoice()
Specified by:
sizeVoteVoteToChoice in interface Choice

isVoteVoteToChoiceEmpty

public boolean isVoteVoteToChoiceEmpty()
Specified by:
isVoteVoteToChoiceEmpty in interface Choice

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.