SaveRecipeCommand.java :  » GWT » gwt-enterprise-patterns » us » gibb » dev » gwt » demo » client » command » Java Open Source

Java Open Source » GWT » gwt enterprise patterns 
gwt enterprise patterns » us » gibb » dev » gwt » demo » client » command » SaveRecipeCommand.java
package us.gibb.dev.gwt.demo.client.command;

import us.gibb.dev.gwt.command.Command;
import us.gibb.dev.gwt.demo.model.Recipe;

public class SaveRecipeCommand implements Command<RecipeResult> {
    private static final long serialVersionUID = -7944106025776530524L;
    private Recipe recipe;

    public SaveRecipeCommand() {
    }
    
    public SaveRecipeCommand(Recipe recipe) {
        this.recipe = recipe;
    }

    public Recipe getRecipe() {
        return recipe;
    }

    void setRecipe(Recipe recipe) {
        this.recipe = recipe;
    }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.