| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| ReferenceType | 
 | 
 | 1.0;1 | 
| 1 | ||
| 2 |  package org.kuali.student.security.wssecurity.secext.dto; | |
| 3 | ||
| 4 |  import java.util.HashMap; | |
| 5 |  import java.util.Map; | |
| 6 |  import javax.xml.bind.annotation.XmlAccessType; | |
| 7 |  import javax.xml.bind.annotation.XmlAccessorType; | |
| 8 |  import javax.xml.bind.annotation.XmlAnyAttribute; | |
| 9 |  import javax.xml.bind.annotation.XmlAttribute; | |
| 10 |  import javax.xml.bind.annotation.XmlSchemaType; | |
| 11 |  import javax.xml.bind.annotation.XmlType; | |
| 12 |  import javax.xml.namespace.QName; | |
| 13 | ||
| 14 | ||
| 15 |  /** | |
| 16 |   * This type represents a reference to an external security token. | |
| 17 |   *  | |
| 18 |   * <p>Java class for ReferenceType complex type. | |
| 19 |   *  | |
| 20 |   * <p>The following schema fragment specifies the expected content contained within this class. | |
| 21 |   *  | |
| 22 |   * <pre> | |
| 23 |   * <complexType name="ReferenceType"> | |
| 24 |   *   <complexContent> | |
| 25 |   *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 26 |   *       <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> | |
| 27 |   *       <attribute name="ValueType" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> | |
| 28 |   *       <anyAttribute processContents='lax' namespace='##other'/> | |
| 29 |   *     </restriction> | |
| 30 |   *   </complexContent> | |
| 31 |   * </complexType> | |
| 32 |   * </pre> | |
| 33 |   *  | |
| 34 |   *  | |
| 35 |   */ | |
| 36 | @XmlAccessorType(XmlAccessType.FIELD) | |
| 37 |  @XmlType(name = "ReferenceType") | |
| 38 | 0 |  public class ReferenceType { | 
| 39 | ||
| 40 |      @XmlAttribute(name = "URI") | |
| 41 |      @XmlSchemaType(name = "anyURI") | |
| 42 |      protected String uri; | |
| 43 |      @XmlAttribute(name = "ValueType") | |
| 44 |      @XmlSchemaType(name = "anyURI") | |
| 45 |      protected String valueType; | |
| 46 | 0 |      @XmlAnyAttribute | 
| 47 | private Map<QName, String> otherAttributes = new HashMap<QName, String>(); | |
| 48 | ||
| 49 |      /** | |
| 50 |       * Gets the value of the uri property. | |
| 51 |       *  | |
| 52 |       * @return | |
| 53 |       *     possible object is | |
| 54 |       *     {@link String } | |
| 55 |       *      | |
| 56 |       */ | |
| 57 |      public String getURI() { | |
| 58 | 0 |          return uri; | 
| 59 | } | |
| 60 | ||
| 61 |      /** | |
| 62 |       * Sets the value of the uri property. | |
| 63 |       *  | |
| 64 |       * @param value | |
| 65 |       *     allowed object is | |
| 66 |       *     {@link String } | |
| 67 |       *      | |
| 68 |       */ | |
| 69 | public void setURI(String value) { | |
| 70 | 0 |          this.uri = value; | 
| 71 | 0 |      } | 
| 72 | ||
| 73 |      /** | |
| 74 |       * Gets the value of the valueType property. | |
| 75 |       *  | |
| 76 |       * @return | |
| 77 |       *     possible object is | |
| 78 |       *     {@link String } | |
| 79 |       *      | |
| 80 |       */ | |
| 81 |      public String getValueType() { | |
| 82 | 0 |          return valueType; | 
| 83 | } | |
| 84 | ||
| 85 |      /** | |
| 86 |       * Sets the value of the valueType property. | |
| 87 |       *  | |
| 88 |       * @param value | |
| 89 |       *     allowed object is | |
| 90 |       *     {@link String } | |
| 91 |       *      | |
| 92 |       */ | |
| 93 | public void setValueType(String value) { | |
| 94 | 0 |          this.valueType = value; | 
| 95 | 0 |      } | 
| 96 | ||
| 97 |      /** | |
| 98 |       * Gets a map that contains attributes that aren't bound to any typed property on this class. | |
| 99 |       *  | |
| 100 |       * <p> | |
| 101 |       * the map is keyed by the name of the attribute and  | |
| 102 |       * the value is the string value of the attribute. | |
| 103 |       *  | |
| 104 |       * the map returned by this method is live, and you can add new attribute | |
| 105 |       * by updating the map directly. Because of this design, there's no setter. | |
| 106 |       *  | |
| 107 |       *  | |
| 108 |       * @return | |
| 109 |       *     always non-null | |
| 110 |       */ | |
| 111 |      public Map<QName, String> getOtherAttributes() { | |
| 112 | 0 |          return otherAttributes; | 
| 113 | } | |
| 114 | ||
| 115 | } |