| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| EndpointReferenceType | 
 | 
 | 1.0833333333333333;1.083 | 
| 1 | ||
| 2 |  package org.kuali.student.security.addressing.dto; | |
| 3 | ||
| 4 |  import java.util.ArrayList; | |
| 5 |  import java.util.HashMap; | |
| 6 |  import java.util.List; | |
| 7 |  import java.util.Map; | |
| 8 |  import javax.xml.bind.annotation.XmlAccessType; | |
| 9 |  import javax.xml.bind.annotation.XmlAccessorType; | |
| 10 |  import javax.xml.bind.annotation.XmlAnyAttribute; | |
| 11 |  import javax.xml.bind.annotation.XmlAnyElement; | |
| 12 |  import javax.xml.bind.annotation.XmlElement; | |
| 13 |  import javax.xml.bind.annotation.XmlType; | |
| 14 |  import javax.xml.namespace.QName; | |
| 15 |  import org.w3c.dom.Element; | |
| 16 | ||
| 17 | ||
| 18 |  /** | |
| 19 |   * <p>Java class for EndpointReferenceType complex type. | |
| 20 |   *  | |
| 21 |   * <p>The following schema fragment specifies the expected content contained within this class. | |
| 22 |   *  | |
| 23 |   * <pre> | |
| 24 |   * <complexType name="EndpointReferenceType"> | |
| 25 |   *   <complexContent> | |
| 26 |   *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 27 |   *       <sequence> | |
| 28 |   *         <element name="Address" type="{http://schemas.xmlsoap.org/ws/2004/08/addressing}AttributedURI"/> | |
| 29 |   *         <element name="ReferenceProperties" type="{http://schemas.xmlsoap.org/ws/2004/08/addressing}ReferencePropertiesType" minOccurs="0"/> | |
| 30 |   *         <element name="ReferenceParameters" type="{http://schemas.xmlsoap.org/ws/2004/08/addressing}ReferenceParametersType" minOccurs="0"/> | |
| 31 |   *         <element name="PortType" type="{http://schemas.xmlsoap.org/ws/2004/08/addressing}AttributedQName" minOccurs="0"/> | |
| 32 |   *         <element name="ServiceName" type="{http://schemas.xmlsoap.org/ws/2004/08/addressing}ServiceNameType" minOccurs="0"/> | |
| 33 |   *         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> | |
| 34 |   *       </sequence> | |
| 35 |   *       <anyAttribute processContents='lax' namespace='##other'/> | |
| 36 |   *     </restriction> | |
| 37 |   *   </complexContent> | |
| 38 |   * </complexType> | |
| 39 |   * </pre> | |
| 40 |   *  | |
| 41 |   *  | |
| 42 |   */ | |
| 43 | @XmlAccessorType(XmlAccessType.FIELD) | |
| 44 |  @XmlType(name = "EndpointReferenceType", propOrder = { | |
| 45 |      "address", | |
| 46 |      "referenceProperties", | |
| 47 |      "referenceParameters", | |
| 48 |      "portType", | |
| 49 |      "serviceName", | |
| 50 |      "any" | |
| 51 | }) | |
| 52 | 0 |  public class EndpointReferenceType { | 
| 53 | ||
| 54 | @XmlElement(name = "Address", required = true) | |
| 55 |      protected AttributedURI address; | |
| 56 |      @XmlElement(name = "ReferenceProperties") | |
| 57 |      protected ReferencePropertiesType referenceProperties; | |
| 58 |      @XmlElement(name = "ReferenceParameters") | |
| 59 |      protected ReferenceParametersType referenceParameters; | |
| 60 |      @XmlElement(name = "PortType") | |
| 61 |      protected AttributedQName portType; | |
| 62 |      @XmlElement(name = "ServiceName") | |
| 63 |      protected ServiceNameType serviceName; | |
| 64 |      @XmlAnyElement(lax = true) | |
| 65 |      protected List<Object> any; | |
| 66 | 0 |      @XmlAnyAttribute | 
| 67 | private Map<QName, String> otherAttributes = new HashMap<QName, String>(); | |
| 68 | ||
| 69 |      /** | |
| 70 |       * Gets the value of the address property. | |
| 71 |       *  | |
| 72 |       * @return | |
| 73 |       *     possible object is | |
| 74 |       *     {@link AttributedURI } | |
| 75 |       *      | |
| 76 |       */ | |
| 77 |      public AttributedURI getAddress() { | |
| 78 | 0 |          return address; | 
| 79 | } | |
| 80 | ||
| 81 |      /** | |
| 82 |       * Sets the value of the address property. | |
| 83 |       *  | |
| 84 |       * @param value | |
| 85 |       *     allowed object is | |
| 86 |       *     {@link AttributedURI } | |
| 87 |       *      | |
| 88 |       */ | |
| 89 | public void setAddress(AttributedURI value) { | |
| 90 | 0 |          this.address = value; | 
| 91 | 0 |      } | 
| 92 | ||
| 93 |      /** | |
| 94 |       * Gets the value of the referenceProperties property. | |
| 95 |       *  | |
| 96 |       * @return | |
| 97 |       *     possible object is | |
| 98 |       *     {@link ReferencePropertiesType } | |
| 99 |       *      | |
| 100 |       */ | |
| 101 |      public ReferencePropertiesType getReferenceProperties() { | |
| 102 | 0 |          return referenceProperties; | 
| 103 | } | |
| 104 | ||
| 105 |      /** | |
| 106 |       * Sets the value of the referenceProperties property. | |
| 107 |       *  | |
| 108 |       * @param value | |
| 109 |       *     allowed object is | |
| 110 |       *     {@link ReferencePropertiesType } | |
| 111 |       *      | |
| 112 |       */ | |
| 113 | public void setReferenceProperties(ReferencePropertiesType value) { | |
| 114 | 0 |          this.referenceProperties = value; | 
| 115 | 0 |      } | 
| 116 | ||
| 117 |      /** | |
| 118 |       * Gets the value of the referenceParameters property. | |
| 119 |       *  | |
| 120 |       * @return | |
| 121 |       *     possible object is | |
| 122 |       *     {@link ReferenceParametersType } | |
| 123 |       *      | |
| 124 |       */ | |
| 125 |      public ReferenceParametersType getReferenceParameters() { | |
| 126 | 0 |          return referenceParameters; | 
| 127 | } | |
| 128 | ||
| 129 |      /** | |
| 130 |       * Sets the value of the referenceParameters property. | |
| 131 |       *  | |
| 132 |       * @param value | |
| 133 |       *     allowed object is | |
| 134 |       *     {@link ReferenceParametersType } | |
| 135 |       *      | |
| 136 |       */ | |
| 137 | public void setReferenceParameters(ReferenceParametersType value) { | |
| 138 | 0 |          this.referenceParameters = value; | 
| 139 | 0 |      } | 
| 140 | ||
| 141 |      /** | |
| 142 |       * Gets the value of the portType property. | |
| 143 |       *  | |
| 144 |       * @return | |
| 145 |       *     possible object is | |
| 146 |       *     {@link AttributedQName } | |
| 147 |       *      | |
| 148 |       */ | |
| 149 |      public AttributedQName getPortType() { | |
| 150 | 0 |          return portType; | 
| 151 | } | |
| 152 | ||
| 153 |      /** | |
| 154 |       * Sets the value of the portType property. | |
| 155 |       *  | |
| 156 |       * @param value | |
| 157 |       *     allowed object is | |
| 158 |       *     {@link AttributedQName } | |
| 159 |       *      | |
| 160 |       */ | |
| 161 | public void setPortType(AttributedQName value) { | |
| 162 | 0 |          this.portType = value; | 
| 163 | 0 |      } | 
| 164 | ||
| 165 |      /** | |
| 166 |       * Gets the value of the serviceName property. | |
| 167 |       *  | |
| 168 |       * @return | |
| 169 |       *     possible object is | |
| 170 |       *     {@link ServiceNameType } | |
| 171 |       *      | |
| 172 |       */ | |
| 173 |      public ServiceNameType getServiceName() { | |
| 174 | 0 |          return serviceName; | 
| 175 | } | |
| 176 | ||
| 177 |      /** | |
| 178 |       * Sets the value of the serviceName property. | |
| 179 |       *  | |
| 180 |       * @param value | |
| 181 |       *     allowed object is | |
| 182 |       *     {@link ServiceNameType } | |
| 183 |       *      | |
| 184 |       */ | |
| 185 | public void setServiceName(ServiceNameType value) { | |
| 186 | 0 |          this.serviceName = value; | 
| 187 | 0 |      } | 
| 188 | ||
| 189 |      /** | |
| 190 |       * Gets the value of the any property. | |
| 191 |       *  | |
| 192 |       * <p> | |
| 193 |       * This accessor method returns a reference to the live list, | |
| 194 |       * not a snapshot. Therefore any modification you make to the | |
| 195 |       * returned list will be present inside the JAXB object. | |
| 196 |       * This is why there is not a <CODE>set</CODE> method for the any property. | |
| 197 |       *  | |
| 198 |       * <p> | |
| 199 |       * For example, to add a new item, do as follows: | |
| 200 |       * <pre> | |
| 201 |       *    getAny().add(newItem); | |
| 202 |       * </pre> | |
| 203 |       *  | |
| 204 |       *  | |
| 205 |       * <p> | |
| 206 |       * Objects of the following type(s) are allowed in the list | |
| 207 |       * {@link Object } | |
| 208 |       * {@link Element } | |
| 209 |       *  | |
| 210 |       *  | |
| 211 |       */ | |
| 212 |      public List<Object> getAny() { | |
| 213 | 0 |          if (any == null) { | 
| 214 | 0 |              any = new ArrayList<Object>(); | 
| 215 | } | |
| 216 | 0 |          return this.any; | 
| 217 | } | |
| 218 | ||
| 219 |      /** | |
| 220 |       * Gets a map that contains attributes that aren't bound to any typed property on this class. | |
| 221 |       *  | |
| 222 |       * <p> | |
| 223 |       * the map is keyed by the name of the attribute and  | |
| 224 |       * the value is the string value of the attribute. | |
| 225 |       *  | |
| 226 |       * the map returned by this method is live, and you can add new attribute | |
| 227 |       * by updating the map directly. Because of this design, there's no setter. | |
| 228 |       *  | |
| 229 |       *  | |
| 230 |       * @return | |
| 231 |       *     always non-null | |
| 232 |       */ | |
| 233 |      public Map<QName, String> getOtherAttributes() { | |
| 234 | 0 |          return otherAttributes; | 
| 235 | } | |
| 236 | ||
| 237 | } |