org.chorem.pollen.bean
Class PollDateChoice

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

public class PollDateChoice
extends ChoiceImpl

Extends the basic choice to keep the date (will be transformed to name) (during poll creation).

Since:
1.3
Author:
tchemit
See Also:
Serialized Form

Field Summary
protected  Date date
           
static String PROPERTY_DATE
           
 
Fields inherited from class org.chorem.pollen.business.persistence.ChoiceAbstract
description, name, poll, validate, voteVoteToChoice
 
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_POLL, 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
PollDateChoice()
           
 
Method Summary
 void fromChoice(Choice choice)
           
 Date getDate()
           
 void setDate(Date date)
           
 void toChoice(Choice choice)
           
 
Methods inherited from class org.chorem.pollen.business.persistence.ChoiceAbstract
accept, addAllVoteVoteToChoice, addVoteVoteToChoice, clearVoteVoteToChoice, getAggregate, getComposite, getDescription, getName, getPoll, getVoteVoteToChoice, getVoteVoteToChoice, getVoteVoteToChoiceByTopiaId, isValidate, isVoteVoteToChoiceEmpty, removeVoteVoteToChoice, setDescription, setName, setPoll, setValidate, setVoteVoteToChoice, 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

PROPERTY_DATE

public static final String PROPERTY_DATE
See Also:
Constant Field Values

date

protected Date date
Constructor Detail

PollDateChoice

public PollDateChoice()
Method Detail

getDate

public Date getDate()

setDate

public void setDate(Date date)

fromChoice

public void fromChoice(Choice choice)

toChoice

public void toChoice(Choice choice)


Copyright © 2009-2012 CodeLutin. All Rights Reserved.