public abstract class ChoiceAbstract extends org.nuiton.topia.persistence.TopiaEntityAbstract implements Choice
| Modifier and Type | Field and Description |
|---|---|
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
|
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoablesPROPERTY_DESCRIPTION, PROPERTY_NAME, PROPERTY_VALIDATE, PROPERTY_VOTE_VOTE_TO_CHOICE| Constructor and Description |
|---|
ChoiceAbstract() |
| Modifier and Type | Method and Description |
|---|---|
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() |
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, setTopiaVersionclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersionprotected String name
protected String description
protected boolean validate
protected List<VoteToChoice> voteVoteToChoice
public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
throws org.nuiton.topia.TopiaException
accept in interface org.nuiton.topia.persistence.TopiaEntityorg.nuiton.topia.TopiaExceptionpublic void setDescription(String description)
setDescription in interface Choicepublic String getDescription()
getDescription in interface Choicepublic void setValidate(boolean validate)
setValidate in interface Choicepublic boolean isValidate()
isValidate in interface Choicepublic void addVoteVoteToChoice(VoteToChoice voteVoteToChoice)
addVoteVoteToChoice in interface Choicepublic void addAllVoteVoteToChoice(List<VoteToChoice> voteVoteToChoice)
addAllVoteVoteToChoice in interface Choicepublic void setVoteVoteToChoice(List<VoteToChoice> voteVoteToChoice)
setVoteVoteToChoice in interface Choicepublic void removeVoteVoteToChoice(VoteToChoice voteVoteToChoice)
removeVoteVoteToChoice in interface Choicepublic void clearVoteVoteToChoice()
clearVoteVoteToChoice in interface Choicepublic List<VoteToChoice> getVoteVoteToChoice()
getVoteVoteToChoice in interface Choicepublic VoteToChoice getVoteVoteToChoiceByTopiaId(String topiaId)
getVoteVoteToChoiceByTopiaId in interface Choicepublic VoteToChoice getVoteVoteToChoice(Vote vote)
getVoteVoteToChoice in interface Choicepublic int sizeVoteVoteToChoice()
sizeVoteVoteToChoice in interface Choicepublic boolean isVoteVoteToChoiceEmpty()
isVoteVoteToChoiceEmpty in interface Choicepublic List<org.nuiton.topia.persistence.TopiaEntity> getAggregate() throws org.nuiton.topia.TopiaException
getAggregate in interface org.nuiton.topia.persistence.TopiaEntitygetAggregate in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaExceptionpublic List<org.nuiton.topia.persistence.TopiaEntity> getComposite() throws org.nuiton.topia.TopiaException
getComposite in interface org.nuiton.topia.persistence.TopiaEntitygetComposite in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaExceptionCopyright © 2009-2012 CodeLutin. All Rights Reserved.