001: /**
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */package org.apache.openejb.jee.jba;
017:
018: import javax.xml.bind.annotation.XmlAccessType;
019: import javax.xml.bind.annotation.XmlAccessorType;
020: import javax.xml.bind.annotation.XmlElement;
021: import javax.xml.bind.annotation.XmlRootElement;
022: import javax.xml.bind.annotation.XmlType;
023:
024: /**
025: *
026: */
027: @XmlAccessorType(XmlAccessType.FIELD)
028: @XmlType(name="",propOrder={"cachePolicy","cachePolicyConf","cachePolicyConfOther"})
029: @XmlRootElement(name="container-cache-conf")
030: public class ContainerCacheConf {
031:
032: @XmlElement(name="cache-policy")
033: protected String cachePolicy;
034: @XmlElement(name="cache-policy-conf")
035: protected CachePolicyConf cachePolicyConf;
036: @XmlElement(name="cache-policy-conf-other")
037: protected CachePolicyConfOther cachePolicyConfOther;
038:
039: /**
040: * Gets the value of the cachePolicy property.
041: *
042: * @return
043: * possible object is
044: * {@link String }
045: *
046: */
047: public String getCachePolicy() {
048: return cachePolicy;
049: }
050:
051: /**
052: * Sets the value of the cachePolicy property.
053: *
054: * @param value
055: * allowed object is
056: * {@link String }
057: *
058: */
059: public void setCachePolicy(String value) {
060: this .cachePolicy = value;
061: }
062:
063: /**
064: * Gets the value of the cachePolicyConf property.
065: *
066: * @return
067: * possible object is
068: * {@link CachePolicyConf }
069: *
070: */
071: public CachePolicyConf getCachePolicyConf() {
072: return cachePolicyConf;
073: }
074:
075: /**
076: * Sets the value of the cachePolicyConf property.
077: *
078: * @param value
079: * allowed object is
080: * {@link CachePolicyConf }
081: *
082: */
083: public void setCachePolicyConf(CachePolicyConf value) {
084: this .cachePolicyConf = value;
085: }
086:
087: /**
088: * Gets the value of the cachePolicyConfOther property.
089: *
090: * @return
091: * possible object is
092: * {@link CachePolicyConfOther }
093: *
094: */
095: public CachePolicyConfOther getCachePolicyConfOther() {
096: return cachePolicyConfOther;
097: }
098:
099: /**
100: * Sets the value of the cachePolicyConfOther property.
101: *
102: * @param value
103: * allowed object is
104: * {@link CachePolicyConfOther }
105: *
106: */
107: public void setCachePolicyConfOther(CachePolicyConfOther value) {
108: this.cachePolicyConfOther = value;
109: }
110:
111: }
|