This project has retired. For details please refer to its Attic page.
Coverage Report
Coverage Report - org.apache.ws.scout.model.uddi.v2.SaveBinding
 
Classes in this File Line Coverage Branch Coverage Complexity
SaveBinding
60%
6/10
50%
1/2
1.2
 
 1  
 //
 2  
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661 
 3  
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 4  
 // Any modifications to this file will be lost upon recompilation of the source schema. 
 5  
 // Generated on: 2009.07.19 at 09:49:41 PM CDT 
 6  
 //
 7  
 
 8  
 
 9  
 package org.apache.ws.scout.model.uddi.v2;
 10  
 
 11  
 import java.util.ArrayList;
 12  
 import java.util.List;
 13  
 
 14  
 import javax.xml.bind.annotation.XmlAccessType;
 15  
 import javax.xml.bind.annotation.XmlAccessorType;
 16  
 import javax.xml.bind.annotation.XmlAttribute;
 17  
 import javax.xml.bind.annotation.XmlElement;
 18  
 import javax.xml.bind.annotation.XmlType;
 19  
 
 20  
 
 21  
 /**
 22  
  * <p>Java class for save_binding complex type.
 23  
  * 
 24  
  * <p>The following schema fragment specifies the expected content contained within this class.
 25  
  * 
 26  
  * <pre>
 27  
  * &lt;complexType name="save_binding">
 28  
  *   &lt;complexContent>
 29  
  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 30  
  *       &lt;sequence>
 31  
  *         &lt;element ref="{urn:uddi-org:api_v2}authInfo"/>
 32  
  *         &lt;element ref="{urn:uddi-org:api_v2}bindingTemplate" maxOccurs="unbounded"/>
 33  
  *       &lt;/sequence>
 34  
  *       &lt;attribute name="generic" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 35  
  *     &lt;/restriction>
 36  
  *   &lt;/complexContent>
 37  
  * &lt;/complexType>
 38  
  * </pre>
 39  
  * 
 40  
  * 
 41  
  */
 42  
 @XmlAccessorType(XmlAccessType.FIELD)
 43  
 @XmlType(name = "save_binding", propOrder = {
 44  
     "authInfo",
 45  
     "bindingTemplate"
 46  
 })
 47  8
 public class SaveBinding {
 48  
 
 49  
     @XmlElement(required = true)
 50  
     protected String authInfo;
 51  
     @XmlElement(required = true)
 52  
     protected List<BindingTemplate> bindingTemplate;
 53  
     @XmlAttribute(required = true)
 54  
     protected String generic;
 55  
 
 56  
     /**
 57  
      * Gets the value of the authInfo property.
 58  
      * 
 59  
      * @return
 60  
      *     possible object is
 61  
      *     {@link String }
 62  
      *     
 63  
      */
 64  
     public String getAuthInfo() {
 65  0
         return authInfo;
 66  
     }
 67  
 
 68  
     /**
 69  
      * Sets the value of the authInfo property.
 70  
      * 
 71  
      * @param value
 72  
      *     allowed object is
 73  
      *     {@link String }
 74  
      *     
 75  
      */
 76  
     public void setAuthInfo(String value) {
 77  8
         this.authInfo = value;
 78  8
     }
 79  
 
 80  
     /**
 81  
      * Gets the value of the bindingTemplate property.
 82  
      * 
 83  
      * <p>
 84  
      * This accessor method returns a reference to the live list,
 85  
      * not a snapshot. Therefore any modification you make to the
 86  
      * returned list will be present inside the JAXB object.
 87  
      * This is why there is not a <CODE>set</CODE> method for the bindingTemplate property.
 88  
      * 
 89  
      * <p>
 90  
      * For example, to add a new item, do as follows:
 91  
      * <pre>
 92  
      *    getBindingTemplate().add(newItem);
 93  
      * </pre>
 94  
      * 
 95  
      * 
 96  
      * <p>
 97  
      * Objects of the following type(s) are allowed in the list
 98  
      * {@link BindingTemplate }
 99  
      * 
 100  
      * 
 101  
      */
 102  
     public List<BindingTemplate> getBindingTemplate() {
 103  8
         if (bindingTemplate == null) {
 104  8
             bindingTemplate = new ArrayList<BindingTemplate>();
 105  
         }
 106  8
         return this.bindingTemplate;
 107  
     }
 108  
 
 109  
     /**
 110  
      * Gets the value of the generic property.
 111  
      * 
 112  
      * @return
 113  
      *     possible object is
 114  
      *     {@link String }
 115  
      *     
 116  
      */
 117  
     public String getGeneric() {
 118  0
         return generic;
 119  
     }
 120  
 
 121  
     /**
 122  
      * Sets the value of the generic property.
 123  
      * 
 124  
      * @param value
 125  
      *     allowed object is
 126  
      *     {@link String }
 127  
      *     
 128  
      */
 129  
     public void setGeneric(String value) {
 130  0
         this.generic = value;
 131  0
     }
 132  
 
 133  
 }