Home » geronimo-eclipse-plugin-2.2-source-release » org.apache.geronimo.jee.application » [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.geronimo.jee.application;
   19   
   20   import java.io.Serializable;
   21   
   22   import javax.xml.bind.annotation.XmlAccessType;
   23   import javax.xml.bind.annotation.XmlAccessorType;
   24   import javax.xml.bind.annotation.XmlAttribute;
   25   import javax.xml.bind.annotation.XmlID;
   26   import javax.xml.bind.annotation.XmlType;
   27   import javax.xml.bind.annotation.XmlValue;
   28   import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
   29   import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
   30   
   31   
   32   /**
   33    * Mirrors j2ee:string.
   34    * 
   35    * <p>Java class for string complex type.
   36    * 
   37    * <p>The following schema fragment specifies the expected content contained within this class.
   38    * 
   39    * <pre>
   40    * &lt;complexType name="string">
   41    *   &lt;simpleContent>
   42    *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>token">
   43    *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
   44    *     &lt;/extension>
   45    *   &lt;/simpleContent>
   46    * &lt;/complexType>
   47    * </pre>
   48    * 
   49    * @version $Rev: 642503 $ $Date: 2008-03-29 12:35:01 +0800 (Sat, 29 Mar 2008) $
   50    */
   51   @XmlAccessorType(XmlAccessType.FIELD)
   52   @XmlType(name = "string", propOrder = {
   53       "value"
   54   })
   55   public class StringType
   56       implements Serializable
   57   {
   58   
   59       private final static long serialVersionUID = 12343L;
   60       @XmlValue
   61       @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
   62       protected java.lang.String value;
   63       @XmlAttribute
   64       @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
   65       @XmlID
   66       protected java.lang.String id;
   67   
   68       /**
   69        * Gets the value of the value property.
   70        * 
   71        * @return
   72        *     possible object is
   73        *     {@link java.lang.String }
   74        *     
   75        */
   76       public java.lang.String getValue() {
   77           return value;
   78       }
   79   
   80       /**
   81        * Sets the value of the value property.
   82        * 
   83        * @param value
   84        *     allowed object is
   85        *     {@link java.lang.String }
   86        *     
   87        */
   88       public void setValue(java.lang.String value) {
   89           this.value = value;
   90       }
   91   
   92       /**
   93        * Gets the value of the id property.
   94        * 
   95        * @return
   96        *     possible object is
   97        *     {@link java.lang.String }
   98        *     
   99        */
  100       public java.lang.String getId() {
  101           return id;
  102       }
  103   
  104       /**
  105        * Sets the value of the id property.
  106        * 
  107        * @param value
  108        *     allowed object is
  109        *     {@link java.lang.String }
  110        *     
  111        */
  112       public void setId(java.lang.String value) {
  113           this.id = value;
  114       }
  115   
  116   }

Home » geronimo-eclipse-plugin-2.2-source-release » org.apache.geronimo.jee.application » [javadoc | source]