Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: mohammed mohsen
Added: Jan 10, 2022 6:43 PM
Views: 76
Tags: no tags
  1.  
  2. package pm;
  3.  
  4. import javax.xml.bind.annotation.XmlAccessType;
  5. import javax.xml.bind.annotation.XmlAccessorType;
  6. import javax.xml.bind.annotation.XmlType;
  7.  
  8.  
  9. /**
  10.  * <p>Java class for hello complex type.
  11.  *
  12.  * <p>The following schema fragment specifies the expected content contained within this class.
  13.  *
  14.  * <pre>
  15.  * &lt;complexType name="hello"&gt;
  16.  *   &lt;complexContent&gt;
  17.  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  18.  *       &lt;sequence&gt;
  19.  *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
  20.  *       &lt;/sequence&gt;
  21.  *     &lt;/restriction&gt;
  22.  *   &lt;/complexContent&gt;
  23.  * &lt;/complexType&gt;
  24.  * </pre>
  25.  *
  26.  *
  27.  */
  28. @XmlAccessorType(XmlAccessType.FIELD)
  29. @XmlType(name = "hello", propOrder = {
  30.     "name"
  31. })
  32. public class Hello {
  33.  
  34.     protected String name;
  35.  
  36.     /**
  37.      * Gets the value of the name property.
  38.      *
  39.      * @return
  40.      *     possible object is
  41.      *     {@link String }
  42.      *    
  43.      */
  44.     public String getName() {
  45.         return name;
  46.     }
  47.  
  48.     /**
  49.      * Sets the value of the name property.
  50.      *
  51.      * @param value
  52.      *     allowed object is
  53.      *     {@link String }
  54.      *    
  55.      */
  56.     public void setName(String value) {
  57.         this.name = value;
  58.     }
  59.  
  60. }
  61.