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.XmlAttribute;
   23   import javax.xml.bind.annotation.XmlElement;
   24   import javax.xml.bind.annotation.XmlRootElement;
   25   import javax.xml.bind.annotation.XmlType;
   26   import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
   27   import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
   28   
   29   
   30   /**
   31    * 
   32    */
   33   @XmlAccessorType(XmlAccessType.FIELD)
   34   @XmlType(name = "", propOrder = {
   35       "home",
   36       "bean",
   37       "listEntity"
   38   })
   39   @XmlRootElement(name = "client-interceptors")
   40   public class ClientInterceptors {
   41   
   42       @XmlAttribute
   43       @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
   44       protected String exposeContainer;
   45       @XmlElement(required = true)
   46       protected Home home;
   47       @XmlElement(required = true)
   48       protected Bean bean;
   49       @XmlElement(name = "list-entity")
   50       protected ListEntity listEntity;
   51   
   52       /**
   53        * Gets the value of the exposeContainer property.
   54        * 
   55        * @return
   56        *     possible object is
   57        *     {@link String }
   58        *     
   59        */
   60       public String getExposeContainer() {
   61           if (exposeContainer == null) {
   62               return "false";
   63           } else {
   64               return exposeContainer;
   65           }
   66       }
   67   
   68       /**
   69        * Sets the value of the exposeContainer property.
   70        * 
   71        * @param value
   72        *     allowed object is
   73        *     {@link String }
   74        *     
   75        */
   76       public void setExposeContainer(String value) {
   77           this.exposeContainer = value;
   78       }
   79   
   80       /**
   81        * Gets the value of the home property.
   82        * 
   83        * @return
   84        *     possible object is
   85        *     {@link Home }
   86        *     
   87        */
   88       public Home getHome() {
   89           return home;
   90       }
   91   
   92       /**
   93        * Sets the value of the home property.
   94        * 
   95        * @param value
   96        *     allowed object is
   97        *     {@link Home }
   98        *     
   99        */
  100       public void setHome(Home value) {
  101           this.home = value;
  102       }
  103   
  104       /**
  105        * Gets the value of the bean property.
  106        * 
  107        * @return
  108        *     possible object is
  109        *     {@link Bean }
  110        *     
  111        */
  112       public Bean getBean() {
  113           return bean;
  114       }
  115   
  116       /**
  117        * Sets the value of the bean property.
  118        * 
  119        * @param value
  120        *     allowed object is
  121        *     {@link Bean }
  122        *     
  123        */
  124       public void setBean(Bean value) {
  125           this.bean = value;
  126       }
  127   
  128       /**
  129        * Gets the value of the listEntity property.
  130        * 
  131        * @return
  132        *     possible object is
  133        *     {@link ListEntity }
  134        *     
  135        */
  136       public ListEntity getListEntity() {
  137           return listEntity;
  138       }
  139   
  140       /**
  141        * Sets the value of the listEntity property.
  142        * 
  143        * @param value
  144        *     allowed object is
  145        *     {@link ListEntity }
  146        *     
  147        */
  148       public void setListEntity(ListEntity value) {
  149           this.listEntity = value;
  150       }
  151   
  152   }

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