| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| GetServiceDetail |
|
| 1.3333333333333333;1.333 |
| 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 get_serviceDetail complex type. | |
| 23 | * | |
| 24 | * <p>The following schema fragment specifies the expected content contained within this class. | |
| 25 | * | |
| 26 | * <pre> | |
| 27 | * <complexType name="get_serviceDetail"> | |
| 28 | * <complexContent> | |
| 29 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 30 | * <sequence> | |
| 31 | * <element ref="{urn:uddi-org:api_v2}serviceKey" maxOccurs="unbounded"/> | |
| 32 | * </sequence> | |
| 33 | * <attribute name="generic" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> | |
| 34 | * </restriction> | |
| 35 | * </complexContent> | |
| 36 | * </complexType> | |
| 37 | * </pre> | |
| 38 | * | |
| 39 | * | |
| 40 | */ | |
| 41 | @XmlAccessorType(XmlAccessType.FIELD) | |
| 42 | @XmlType(name = "get_serviceDetail", propOrder = { | |
| 43 | "serviceKey" | |
| 44 | }) | |
| 45 | 20 | public class GetServiceDetail { |
| 46 | ||
| 47 | @XmlElement(required = true) | |
| 48 | protected List<String> serviceKey; | |
| 49 | @XmlAttribute(required = true) | |
| 50 | protected String generic; | |
| 51 | ||
| 52 | /** | |
| 53 | * Gets the value of the serviceKey property. | |
| 54 | * | |
| 55 | * <p> | |
| 56 | * This accessor method returns a reference to the live list, | |
| 57 | * not a snapshot. Therefore any modification you make to the | |
| 58 | * returned list will be present inside the JAXB object. | |
| 59 | * This is why there is not a <CODE>set</CODE> method for the serviceKey property. | |
| 60 | * | |
| 61 | * <p> | |
| 62 | * For example, to add a new item, do as follows: | |
| 63 | * <pre> | |
| 64 | * getServiceKey().add(newItem); | |
| 65 | * </pre> | |
| 66 | * | |
| 67 | * | |
| 68 | * <p> | |
| 69 | * Objects of the following type(s) are allowed in the list | |
| 70 | * {@link String } | |
| 71 | * | |
| 72 | * | |
| 73 | */ | |
| 74 | public List<String> getServiceKey() { | |
| 75 | 20 | if (serviceKey == null) { |
| 76 | 20 | serviceKey = new ArrayList<String>(); |
| 77 | } | |
| 78 | 20 | return this.serviceKey; |
| 79 | } | |
| 80 | ||
| 81 | /** | |
| 82 | * Gets the value of the generic property. | |
| 83 | * | |
| 84 | * @return | |
| 85 | * possible object is | |
| 86 | * {@link String } | |
| 87 | * | |
| 88 | */ | |
| 89 | public String getGeneric() { | |
| 90 | 0 | return generic; |
| 91 | } | |
| 92 | ||
| 93 | /** | |
| 94 | * Sets the value of the generic property. | |
| 95 | * | |
| 96 | * @param value | |
| 97 | * allowed object is | |
| 98 | * {@link String } | |
| 99 | * | |
| 100 | */ | |
| 101 | public void setGeneric(String value) { | |
| 102 | 0 | this.generic = value; |
| 103 | 0 | } |
| 104 | ||
| 105 | } |