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       "methodName",
   33       "readOnly",
   34       "idempotent",
   35       "transactionTimeout"
   36   })
   37   @XmlRootElement(name = "method")
   38   public class Method {
   39   
   40       @XmlElement(name = "method-name", required = true)
   41       protected String methodName;
   42       @XmlElement(name = "read-only")
   43       protected String readOnly;
   44       protected String idempotent;
   45       @XmlElement(name = "transaction-timeout")
   46       protected String transactionTimeout;
   47   
   48       /**
   49        * Gets the value of the methodName property.
   50        * 
   51        * @return
   52        *     possible object is
   53        *     {@link String }
   54        *     
   55        */
   56       public String getMethodName() {
   57           return methodName;
   58       }
   59   
   60       /**
   61        * Sets the value of the methodName property.
   62        * 
   63        * @param value
   64        *     allowed object is
   65        *     {@link String }
   66        *     
   67        */
   68       public void setMethodName(String value) {
   69           this.methodName = value;
   70       }
   71   
   72       /**
   73        * Gets the value of the readOnly property.
   74        * 
   75        * @return
   76        *     possible object is
   77        *     {@link String }
   78        *     
   79        */
   80       public String getReadOnly() {
   81           return readOnly;
   82       }
   83   
   84       /**
   85        * Sets the value of the readOnly property.
   86        * 
   87        * @param value
   88        *     allowed object is
   89        *     {@link String }
   90        *     
   91        */
   92       public void setReadOnly(String value) {
   93           this.readOnly = value;
   94       }
   95   
   96       /**
   97        * Gets the value of the idempotent property.
   98        * 
   99        * @return
  100        *     possible object is
  101        *     {@link String }
  102        *     
  103        */
  104       public String getIdempotent() {
  105           return idempotent;
  106       }
  107   
  108       /**
  109        * Sets the value of the idempotent property.
  110        * 
  111        * @param value
  112        *     allowed object is
  113        *     {@link String }
  114        *     
  115        */
  116       public void setIdempotent(String value) {
  117           this.idempotent = value;
  118       }
  119   
  120       /**
  121        * Gets the value of the transactionTimeout property.
  122        * 
  123        * @return
  124        *     possible object is
  125        *     {@link String }
  126        *     
  127        */
  128       public String getTransactionTimeout() {
  129           return transactionTimeout;
  130       }
  131   
  132       /**
  133        * Sets the value of the transactionTimeout property.
  134        * 
  135        * @param value
  136        *     allowed object is
  137        *     {@link String }
  138        *     
  139        */
  140       public void setTransactionTimeout(String value) {
  141           this.transactionTimeout = value;
  142       }
  143   
  144   }

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