01: /**
02: * Copyright 2005 Sun Microsystems, Inc. All
03: * rights reserved. Use of this product is subject
04: * to license terms. Federal Acquisitions:
05: * Commercial Software -- Government Users
06: * Subject to Standard License Terms and
07: * Conditions.
08: *
09: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
10: * are trademarks or registered trademarks of Sun Microsystems,
11: * Inc. in the United States and other countries.
12: */package com.sun.portal.admin.console.search;
13:
14: public class ClassificationRuleBean {
15:
16: public String ruleId = null;
17: public String source = null;
18: public String method = null;
19: public String criterion = null;
20: public String classification = null;
21: public Boolean caseSensitive = null;
22:
23: public ClassificationRuleBean(String id, String source,
24: String method, String criterion, String classification,
25: Boolean caseSensitive) {
26: this .ruleId = id;
27: this .source = source;
28: this .method = method;
29: this .criterion = criterion;
30: this .classification = classification;
31: this .caseSensitive = caseSensitive;
32: }
33:
34: public String getRuleId() {
35: return ruleId;
36: }
37:
38: public String getSource() {
39: return source;
40: }
41:
42: public void setSource(String s) {
43: this .source = s;
44: }
45:
46: public String getMethod() {
47: return method;
48: }
49:
50: public void setMethod(String s) {
51: this .method = s;
52: }
53:
54: public String getCriterion() {
55: return criterion;
56: }
57:
58: public void setCriterion(String s) {
59: this .criterion = s;
60: }
61:
62: public String getClassification() {
63: return classification;
64: }
65:
66: public void setClassification(String s) {
67: this .classification = s;
68: }
69:
70: public Boolean getCaseSensitive() {
71: return caseSensitive;
72: }
73:
74: public void setCaseSensitve(Boolean s) {
75: this.caseSensitive = s;
76: }
77:
78: }
|