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.XmlRootElement;
   24   import javax.xml.bind.annotation.XmlType;
   25   import javax.xml.bind.annotation.XmlValue;
   26   import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
   27   import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
   28   
   29   
   30   /**
   31    * 
   32    */
   33   @XmlAccessorType(XmlAccessType.FIELD)
   34   @XmlType(name = "", propOrder = {
   35       "value"
   36   })
   37   @XmlRootElement(name = "loader-repository")
   38   public class LoaderRepository {
   39   
   40       @XmlAttribute
   41       @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
   42       protected String loaderRepositoryClass;
   43       @XmlValue
   44       protected String value;
   45   
   46       /**
   47        * Gets the value of the loaderRepositoryClass property.
   48        * 
   49        * @return
   50        *     possible object is
   51        *     {@link String }
   52        *     
   53        */
   54       public String getLoaderRepositoryClass() {
   55           return loaderRepositoryClass;
   56       }
   57   
   58       /**
   59        * Sets the value of the loaderRepositoryClass property.
   60        * 
   61        * @param value
   62        *     allowed object is
   63        *     {@link String }
   64        *     
   65        */
   66       public void setLoaderRepositoryClass(String value) {
   67           this.loaderRepositoryClass = value;
   68       }
   69   
   70       /**
   71        * Gets the value of the value property.
   72        * 
   73        * @return
   74        *     possible object is
   75        *     {@link String }
   76        *     
   77        */
   78       public String getvalue() {
   79           return value;
   80       }
   81   
   82       /**
   83        * Sets the value of the value property.
   84        * 
   85        * @param value
   86        *     allowed object is
   87        *     {@link String }
   88        *     
   89        */
   90       public void setvalue(String value) {
   91           this.value = value;
   92       }
   93   
   94   }

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