1 13 24 package info.magnolia.cms.module; 25 26 import java.util.ArrayList ; 27 import java.util.Collection ; 28 29 30 34 public class ServletDefinition { 35 36 39 private String name; 40 41 44 private String className; 45 46 49 private String comment; 50 51 54 private Collection mappings = new ArrayList (); 55 56 59 private Collection params = new ArrayList (); 60 61 64 public String getClassName() { 65 return this.className; 66 } 67 68 71 public void setClassName(String className) { 72 this.className = className; 73 } 74 75 78 public String getName() { 79 return this.name; 80 } 81 82 85 public void setName(String name) { 86 this.name = name; 87 } 88 89 92 public Collection getMappings() { 93 return this.mappings; 94 } 95 96 100 public void addMapping(String mapping) { 101 this.mappings.add(mapping); 102 } 103 104 107 public Collection getParams() { 108 return this.params; 109 } 110 111 public void addParam(ServletParameterDefinition param) { 112 this.params.add(param); 113 } 114 115 118 public String getComment() { 119 return comment; 120 } 121 122 125 public void setComment(String comment) { 126 this.comment = comment; 127 } 128 129 } 130 | Popular Tags |