1 15 16 package com.jdon.model; 17 18 import com.jdon.strutsutil.ViewForm; 19 20 21 28 public abstract class ModelForm extends ViewForm { 29 30 public final static String VIEW_STR = "view"; 31 public final static String CREATE_STR = "create"; 32 public final static String EDIT_STR = "edit"; 33 public final static String UPDATE_STR = "update"; 34 public final static String DELETE_STR = "delete"; 35 public final static String ADD_STR = "add"; 36 public final static String REMOVE_STR = "remove"; 37 38 39 private String action; 40 41 42 public void setAction(String action) { 43 this.action = action; 44 } 45 public String getAction() { 46 return action; 47 } 48 49 public String getJdonActionType() { 50 return action; 51 } 52 public void setJdonActionType(String jdonActionType) { 53 this.action = jdonActionType; 54 } 55 56 public String getMethod() { 57 return action; 58 } 59 public void setMethod(String method) { 60 this.action = method; 61 } 62 63 64 } 65 | Popular Tags |