Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » jee » jba » [javadoc | source]
    1   /**
    2    * Licensed to the Apache Software Foundation (ASF) under one or more
    3    * contributor license agreements.  See the NOTICE file distributed with
    4    * this work for additional information regarding copyright ownership.
    5    * The ASF licenses this file to You under the Apache License, Version 2.0
    6    * (the "License"); you may not use this file except in compliance with
    7    * the License.  You may obtain a copy of the License at
    8    *
    9    *     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    */
   17   
   18   package org.apache.openejb.jee.jba;
   19   
   20   import javax.xml.bind.annotation.XmlAccessType;
   21   import javax.xml.bind.annotation.XmlAccessorType;
   22   import javax.xml.bind.annotation.XmlElement;
   23   import javax.xml.bind.annotation.XmlRootElement;
   24   import javax.xml.bind.annotation.XmlType;
   25   
   26   
   27   /**
   28    * 
   29    */
   30   @XmlAccessorType(XmlAccessType.FIELD)
   31   @XmlType(name = "", propOrder = {
   32       "cachePolicy",
   33       "cachePolicyConf",
   34       "cachePolicyConfOther"
   35   })
   36   @XmlRootElement(name = "container-cache-conf")
   37   public class ContainerCacheConf {
   38   
   39       @XmlElement(name = "cache-policy")
   40       protected String cachePolicy;
   41       @XmlElement(name = "cache-policy-conf")
   42       protected CachePolicyConf cachePolicyConf;
   43       @XmlElement(name = "cache-policy-conf-other")
   44       protected CachePolicyConfOther cachePolicyConfOther;
   45   
   46       /**
   47        * Gets the value of the cachePolicy property.
   48        * 
   49        * @return
   50        *     possible object is
   51        *     {@link String }
   52        *     
   53        */
   54       public String getCachePolicy() {
   55           return cachePolicy;
   56       }
   57   
   58       /**
   59        * Sets the value of the cachePolicy property.
   60        * 
   61        * @param value
   62        *     allowed object is
   63        *     {@link String }
   64        *     
   65        */
   66       public void setCachePolicy(String value) {
   67           this.cachePolicy = value;
   68       }
   69   
   70       /**
   71        * Gets the value of the cachePolicyConf property.
   72        * 
   73        * @return
   74        *     possible object is
   75        *     {@link CachePolicyConf }
   76        *     
   77        */
   78       public CachePolicyConf getCachePolicyConf() {
   79           return cachePolicyConf;
   80       }
   81   
   82       /**
   83        * Sets the value of the cachePolicyConf property.
   84        * 
   85        * @param value
   86        *     allowed object is
   87        *     {@link CachePolicyConf }
   88        *     
   89        */
   90       public void setCachePolicyConf(CachePolicyConf value) {
   91           this.cachePolicyConf = value;
   92       }
   93   
   94       /**
   95        * Gets the value of the cachePolicyConfOther property.
   96        * 
   97        * @return
   98        *     possible object is
   99        *     {@link CachePolicyConfOther }
  100        *     
  101        */
  102       public CachePolicyConfOther getCachePolicyConfOther() {
  103           return cachePolicyConfOther;
  104       }
  105   
  106       /**
  107        * Sets the value of the cachePolicyConfOther property.
  108        * 
  109        * @param value
  110        *     allowed object is
  111        *     {@link CachePolicyConfOther }
  112        *     
  113        */
  114       public void setCachePolicyConfOther(CachePolicyConfOther value) {
  115           this.cachePolicyConfOther = value;
  116       }
  117   
  118   }

Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » jee » jba » [javadoc | source]