Home » openejb-3.1.2-src » org.apache » openejb » jee » jpa » unit » [javadoc | source]

    1   /**
    2    *
    3    * Licensed to the Apache Software Foundation (ASF) under one or more
    4    * contributor license agreements.  See the NOTICE file distributed with
    5    * this work for additional information regarding copyright ownership.
    6    * The ASF licenses this file to You under the Apache License, Version 2.0
    7    * (the "License"); you may not use this file except in compliance with
    8    * the License.  You may obtain a copy of the License at
    9    *
   10    *     http://www.apache.org/licenses/LICENSE-2.0
   11    *
   12    *  Unless required by applicable law or agreed to in writing, software
   13    *  distributed under the License is distributed on an "AS IS" BASIS,
   14    *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   15    *  See the License for the specific language governing permissions and
   16    *  limitations under the License.
   17    */
   18   package org.apache.openejb.jee.jpa.unit;
   19   
   20   import javax.xml.bind.annotation.XmlAccessorType;
   21   import javax.xml.bind.annotation.XmlAccessType;
   22   import javax.xml.bind.annotation.XmlType;
   23   import javax.xml.bind.annotation.XmlAttribute;
   24   
   25   /**
   26    * <p>Java class for anonymous complex type.
   27    *
   28    * <p>The following schema fragment specifies the expected content contained within this class.
   29    *
   30    * <pre>
   31    * &lt;complexType>
   32    *   &lt;complexContent>
   33    *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
   34    *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
   35    *       &lt;attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
   36    *     &lt;/restriction>
   37    *   &lt;/complexContent>
   38    * &lt;/complexType>
   39    * </pre>
   40    *
   41    *
   42    */
   43   @XmlAccessorType(XmlAccessType.FIELD)
   44   @XmlType(name = "")
   45   public class Property {
   46   
   47       @XmlAttribute(required = true)
   48       protected String name;
   49       @XmlAttribute(required = true)
   50       protected String value;
   51   
   52       public Property() {
   53   
   54       }
   55   
   56       public Property(String name, String value) {
   57           this.name = name;
   58           this.value = value;
   59       }
   60   
   61       /**
   62        * Gets the value of the name property.
   63        *
   64        * @return
   65        *     possible object is
   66        *     {@link String }
   67        *
   68        */
   69       public String getName() {
   70           return name;
   71       }
   72   
   73       /**
   74        * Sets the value of the name property.
   75        *
   76        * @param value
   77        *     allowed object is
   78        *     {@link String }
   79        *
   80        */
   81       public void setName(String value) {
   82           this.name = value;
   83       }
   84   
   85       /**
   86        * Gets the value of the value property.
   87        *
   88        * @return
   89        *     possible object is
   90        *     {@link String }
   91        *
   92        */
   93       public String getValue() {
   94           return value;
   95       }
   96   
   97       /**
   98        * Sets the value of the value property.
   99        *
  100        * @param value
  101        *     allowed object is
  102        *     {@link String }
  103        *
  104        */
  105       public void setValue(String value) {
  106           this.value = value;
  107       }
  108   
  109   }

Home » openejb-3.1.2-src » org.apache » openejb » jee » jpa » unit » [javadoc | source]