KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > tools > common > dd > webapp > WebPropCacheMap


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23
24 /**
25  * Wrapper class for Cache FieldConstraint
26  * Author: Sreenivas Munnangi
27  * Date: 19mar2002
28  *
29  */

30
31 package com.sun.enterprise.tools.common.dd.webapp;
32
33 import java.util.*;
34
35 // BEGIN_NOI18N
36

37 public class WebPropCacheMap {
38
39     private String JavaDoc cacheTarget;
40     private String JavaDoc cacheTargetValue;
41     private String JavaDoc cacheRef;
42     private Object JavaDoc cacheRefValue;
43
44     public WebPropCacheMap() {
45     }
46
47     public WebPropCacheMap(String JavaDoc cacheTarget, String JavaDoc cacheTargetValue,
48                    String JavaDoc cacheRef, Object JavaDoc cacheRefValue ) {
49         this.cacheTarget = cacheTarget;
50         this.cacheTargetValue = cacheTargetValue;
51         this.cacheRef = cacheRef;
52         this.cacheRefValue = cacheRefValue;
53     }
54
55     public String JavaDoc getCacheTarget() {
56         return cacheTarget;
57     }
58
59     public String JavaDoc getCacheRef() {
60         return cacheRef;
61     }
62
63     public Object JavaDoc getCacheRefValue() {
64         return cacheRefValue;
65     }
66
67     public String JavaDoc getCacheTargetValue() {
68         return cacheTargetValue;
69     }
70
71     public void setCacheTarget(String JavaDoc cacheTarget) {
72         this.cacheTarget = cacheTarget;
73     }
74
75     public void setCacheRef(String JavaDoc cacheRef) {
76         this.cacheRef = cacheRef;
77     }
78
79     public void setCacheRefValue(Object JavaDoc cacheRefValue) {
80         this.cacheRefValue = cacheRefValue;
81     }
82
83     public void setCacheTargetValue(String JavaDoc cacheTargetValue) {
84         this.cacheTargetValue = cacheTargetValue;
85     }
86
87 }
88
89
Popular Tags