Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 12 13 package org.ejtools.jmx.browser.web; 14 15 16 17 import java.io.Serializable ; 18 19 import java.util.Collection ; 20 21 import java.util.Vector ; 22 23 24 25 34 35 public class QueryConstants implements Serializable  36 37 { 38 39 40 41 protected Vector queries; 42 43 44 45 protected Vector types; 46 47 48 49 50 51 52 53 public QueryConstants() 54 55 { 56 57 types = new Vector (); 58 59 types.add("java.lang.String"); 60 61 types.add("java.lang.Integer"); 62 63 types.add("java.lang.Long"); 64 65 types.add("java.lang.Float"); 66 67 types.add("java.lang.Double"); 68 69 types.add("java.lang.Boolean"); 70 71 72 73 types.add("byte"); 74 75 types.add("short"); 76 77 types.add("int"); 78 79 types.add("long"); 80 81 types.add("float"); 82 83 types.add("double"); 84 85 types.add("boolean"); 86 87 88 89 queries = new Vector (); 90 91 queries.add("="); 92 93 queries.add(">"); 94 95 queries.add(">="); 96 97 queries.add("<"); 98 99 queries.add("<="); 100 101 } 102 103 104 105 106 107 116 117 public Collection getQueries() 118 119 { 120 121 return this.queries; 122 123 } 124 125 126 127 128 129 138 139 public Collection getTypes() 140 141 { 142 143 return this.types; 144 145 } 146 147 } 148 149 150 151
| Popular Tags
|