Subversion Repositories eFlore/Applications.del

Rev

Rev 248 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

package org.tela_botanica.del.client.navigation.evenement.voteDetermination;

import org.tela_botanica.del.client.modeles.VoteDetermination;

import com.google.gwt.event.shared.GwtEvent;

public class EvenementVoteDetermination extends GwtEvent<GestionnaireEvenementVoteDetermination> {
        
        public static com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementVoteDetermination> TYPE = new com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementVoteDetermination>();
        private VoteDetermination voteDetermination;

        public EvenementVoteDetermination(VoteDetermination voteDetermination) {
                this.voteDetermination = voteDetermination;
        }

        @Override
        protected void dispatch(GestionnaireEvenementVoteDetermination handler) {
                handler.onVoteDetermination(this.getVoteDetermination());
        }

        @Override
        public com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementVoteDetermination> getAssociatedType() {
                return TYPE;
        }

        public VoteDetermination getVoteDetermination() {
                return voteDetermination;
        }

        public void setVoteDetermination(VoteDetermination voteDetermination) {
                this.voteDetermination = voteDetermination;
        }
}