1 package org.nextime.ion.admin.form; 2 3 import org.apache.struts.action.*; 4 import java.util.*; 5 6 public class PubliForm extends ActionForm { 7 8 private String _id; 9 private String _name; 10 private String [] _sectionsId; 11 private String [] _categoriesId; 12 private String _type; 13 private String _author; 14 private String _state; 15 private String _workflow; 16 private String _workflowUser; 17 private String _version; 18 19 public String getId() { 20 return _id; 21 } 22 23 public void setVersion( String value ) { 24 _version = value.trim(); 25 } 26 27 public String getVersion() { 28 return _version; 29 } 30 31 public void setId( String value ) { 32 _id = value.trim(); 33 } 34 35 public String [] getSections() { 36 return _sectionsId; 37 } 38 39 public void setSections( String [] value ) { 40 _sectionsId = value; 41 } 42 43 public String [] getCategories() { 44 return _categoriesId; 45 } 46 47 public void setCategories( String [] value ) { 48 _categoriesId = value; 49 } 50 51 public String getState() { 52 return _state; 53 } 54 55 public void setState( String value ) { 56 _state = value; 57 } 58 59 public String getWorkflow() { 60 return _workflow; 61 } 62 63 public void setWorkflow( String value ) { 64 _workflow = value; 65 } 66 67 public String getWorkflowUser() { 68 return _workflowUser; 69 } 70 71 public void setWorkflowUser( String value ) { 72 _workflowUser = value; 73 } 74 75 public String getAuthor() { 76 return _author; 77 } 78 79 public void setAuthor( String value ) { 80 _author = value; 81 } 82 83 public String getType() { 84 return _type; 85 } 86 87 public void setType( String value ) { 88 _type = value; 89 } 90 91 public void reset() { 92 _id = null; 93 _name = null; 94 _author = null; 95 _type = null; 96 _state = ""; 97 _sectionsId = new String [0]; 98 _categoriesId = new String [0]; 99 } 100 101 } 102 103 | Popular Tags |