org.chorem.pollen.business.persistence
Class ChoiceAbstract
java.lang.Object
org.nuiton.topia.persistence.TopiaEntityAbstract
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
| Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract |
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables |
| Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity |
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION |
| 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 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 |
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
ChoiceAbstract
public ChoiceAbstract()
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.