01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */package org.apache.openejb.webadmin.main;
17:
18: import java.io.Serializable;
19:
20: /**
21: * A simple data object for ejb and resource reference data
22: *
23: * @author <a href="mailto:tim_urberg@yahoo.com">Tim Urberg</a>
24: */
25: public class ReferenceData implements Serializable {
26: public static final String RESOURCE_REFERENCE = "resource_reference";
27: public static final String EJB_REFERENCE = "ejb_reference";
28:
29: private String referenceType;
30: private String referenceIdName;
31: private String referenceIdValue;
32: private String referenceName;
33: private String referenceValue;
34:
35: public ReferenceData() {
36: super ();
37: }
38:
39: public String getReferenceIdName() {
40: return referenceIdName;
41: }
42:
43: public String getReferenceIdValue() {
44: return referenceIdValue;
45: }
46:
47: public String getReferenceName() {
48: return referenceName;
49: }
50:
51: public String getReferenceValue() {
52: return referenceValue;
53: }
54:
55: public String getReferenceType() {
56: return referenceType;
57: }
58:
59: public void setReferenceIdName(String string) {
60: referenceIdName = string;
61: }
62:
63: public void setReferenceIdValue(String string) {
64: referenceIdValue = string;
65: }
66:
67: public void setReferenceName(String string) {
68: referenceName = string;
69: }
70:
71: public void setReferenceValue(String string) {
72: referenceValue = string;
73: }
74:
75: public void setReferenceType(String string) {
76: referenceType = string;
77: }
78:
79: }
|