01: package org.drools.brms.server.util;
02:
03: /*
04: * Copyright 2005 JBoss Inc
05: *
06: * Licensed under the Apache License, Version 2.0 (the "License");
07: * you may not use this file except in compliance with the License.
08: * You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS,
14: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15: * See the License for the specific language governing permissions and
16: * limitations under the License.
17: */
18:
19: import java.util.Calendar;
20:
21: public class TestBean {
22:
23: private String publisher = "42";
24: private String creator = "42";
25: private Calendar created = Calendar.getInstance();
26:
27: public String getPublisher() {
28: return publisher;
29: }
30:
31: public String getCreator() {
32: return creator;
33: }
34:
35: /** this should be ignored */
36: public void getCoverage() {
37:
38: }
39:
40: public void updatePublisher(String pub) {
41: this .publisher = pub;
42: }
43:
44: public void updateCreator(String c) {
45: this .creator = c;
46: }
47:
48: public Calendar getCreatedDate() {
49: return created;
50: }
51:
52: }
|