org.chorem.pollen.bean
Class PollImageChoice

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.PollImageChoice
All Implemented Interfaces:
Serializable, Choice, org.nuiton.topia.persistence.TopiaEntity

public class PollImageChoice
extends ChoiceImpl

Extends the basic choice to keep location of uploaded image (during poll creation).

Since:
1.3
Author:
tchemit
See Also:
Serialized Form

Field Summary
protected  String location
           
static String PROPERTY_LOCATION
           
 
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
PollImageChoice()
           
 
Method Summary
 void fromChoice(Choice choice)
           
 String getLocation()
           
 void setLocation(String location)
           
 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_LOCATION

public static final String PROPERTY_LOCATION
See Also:
Constant Field Values

location

protected String location
Constructor Detail

PollImageChoice

public PollImageChoice()
Method Detail

getLocation

public String getLocation()

setLocation

public void setLocation(String location)

fromChoice

public void fromChoice(Choice choice)

toChoice

public void toChoice(Choice choice)


Copyright © 2009-2012 CodeLutin. All Rights Reserved.