| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| SignatureType | 
 | 
 | 1.1111111111111112;1.111 | 
| 1 | ||
| 2 |  package org.kuali.student.security.xmldsig.dto; | |
| 3 | ||
| 4 |  import java.util.ArrayList; | |
| 5 |  import java.util.List; | |
| 6 |  import javax.xml.bind.annotation.XmlAccessType; | |
| 7 |  import javax.xml.bind.annotation.XmlAccessorType; | |
| 8 |  import javax.xml.bind.annotation.XmlAttribute; | |
| 9 |  import javax.xml.bind.annotation.XmlElement; | |
| 10 |  import javax.xml.bind.annotation.XmlID; | |
| 11 |  import javax.xml.bind.annotation.XmlSchemaType; | |
| 12 |  import javax.xml.bind.annotation.XmlType; | |
| 13 |  import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; | |
| 14 |  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; | |
| 15 | ||
| 16 | ||
| 17 |  /** | |
| 18 |   * <p>Java class for SignatureType complex type. | |
| 19 |   *  | |
| 20 |   * <p>The following schema fragment specifies the expected content contained within this class. | |
| 21 |   *  | |
| 22 |   * <pre> | |
| 23 |   * <complexType name="SignatureType"> | |
| 24 |   *   <complexContent> | |
| 25 |   *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 26 |   *       <sequence> | |
| 27 |   *         <element ref="{http://www.w3.org/2000/09/xmldsig#}SignedInfo"/> | |
| 28 |   *         <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureValue"/> | |
| 29 |   *         <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/> | |
| 30 |   *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Object" maxOccurs="unbounded" minOccurs="0"/> | |
| 31 |   *       </sequence> | |
| 32 |   *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> | |
| 33 |   *     </restriction> | |
| 34 |   *   </complexContent> | |
| 35 |   * </complexType> | |
| 36 |   * </pre> | |
| 37 |   *  | |
| 38 |   *  | |
| 39 |   */ | |
| 40 | @XmlAccessorType(XmlAccessType.FIELD) | |
| 41 |  @XmlType(name = "SignatureType", propOrder = { | |
| 42 |      "signedInfo", | |
| 43 |      "signatureValue", | |
| 44 |      "keyInfo", | |
| 45 |      "object" | |
| 46 | }) | |
| 47 | 0 |  public class SignatureType { | 
| 48 | ||
| 49 | @XmlElement(name = "SignedInfo", required = true) | |
| 50 |      protected SignedInfoType signedInfo; | |
| 51 | @XmlElement(name = "SignatureValue", required = true) | |
| 52 |      protected SignatureValueType signatureValue; | |
| 53 |      @XmlElement(name = "KeyInfo") | |
| 54 |      protected KeyInfoType keyInfo; | |
| 55 |      @XmlElement(name = "Object") | |
| 56 |      protected List<ObjectType> object; | |
| 57 |      @XmlAttribute(name = "Id") | |
| 58 |      @XmlJavaTypeAdapter(CollapsedStringAdapter.class) | |
| 59 | @XmlID | |
| 60 |      @XmlSchemaType(name = "ID") | |
| 61 |      protected String id; | |
| 62 | ||
| 63 |      /** | |
| 64 |       * Gets the value of the signedInfo property. | |
| 65 |       *  | |
| 66 |       * @return | |
| 67 |       *     possible object is | |
| 68 |       *     {@link SignedInfoType } | |
| 69 |       *      | |
| 70 |       */ | |
| 71 |      public SignedInfoType getSignedInfo() { | |
| 72 | 0 |          return signedInfo; | 
| 73 | } | |
| 74 | ||
| 75 |      /** | |
| 76 |       * Sets the value of the signedInfo property. | |
| 77 |       *  | |
| 78 |       * @param value | |
| 79 |       *     allowed object is | |
| 80 |       *     {@link SignedInfoType } | |
| 81 |       *      | |
| 82 |       */ | |
| 83 | public void setSignedInfo(SignedInfoType value) { | |
| 84 | 0 |          this.signedInfo = value; | 
| 85 | 0 |      } | 
| 86 | ||
| 87 |      /** | |
| 88 |       * Gets the value of the signatureValue property. | |
| 89 |       *  | |
| 90 |       * @return | |
| 91 |       *     possible object is | |
| 92 |       *     {@link SignatureValueType } | |
| 93 |       *      | |
| 94 |       */ | |
| 95 |      public SignatureValueType getSignatureValue() { | |
| 96 | 0 |          return signatureValue; | 
| 97 | } | |
| 98 | ||
| 99 |      /** | |
| 100 |       * Sets the value of the signatureValue property. | |
| 101 |       *  | |
| 102 |       * @param value | |
| 103 |       *     allowed object is | |
| 104 |       *     {@link SignatureValueType } | |
| 105 |       *      | |
| 106 |       */ | |
| 107 | public void setSignatureValue(SignatureValueType value) { | |
| 108 | 0 |          this.signatureValue = value; | 
| 109 | 0 |      } | 
| 110 | ||
| 111 |      /** | |
| 112 |       * Gets the value of the keyInfo property. | |
| 113 |       *  | |
| 114 |       * @return | |
| 115 |       *     possible object is | |
| 116 |       *     {@link KeyInfoType } | |
| 117 |       *      | |
| 118 |       */ | |
| 119 |      public KeyInfoType getKeyInfo() { | |
| 120 | 0 |          return keyInfo; | 
| 121 | } | |
| 122 | ||
| 123 |      /** | |
| 124 |       * Sets the value of the keyInfo property. | |
| 125 |       *  | |
| 126 |       * @param value | |
| 127 |       *     allowed object is | |
| 128 |       *     {@link KeyInfoType } | |
| 129 |       *      | |
| 130 |       */ | |
| 131 | public void setKeyInfo(KeyInfoType value) { | |
| 132 | 0 |          this.keyInfo = value; | 
| 133 | 0 |      } | 
| 134 | ||
| 135 |      /** | |
| 136 |       * Gets the value of the object property. | |
| 137 |       *  | |
| 138 |       * <p> | |
| 139 |       * This accessor method returns a reference to the live list, | |
| 140 |       * not a snapshot. Therefore any modification you make to the | |
| 141 |       * returned list will be present inside the JAXB object. | |
| 142 |       * This is why there is not a <CODE>set</CODE> method for the object property. | |
| 143 |       *  | |
| 144 |       * <p> | |
| 145 |       * For example, to add a new item, do as follows: | |
| 146 |       * <pre> | |
| 147 |       *    getObject().add(newItem); | |
| 148 |       * </pre> | |
| 149 |       *  | |
| 150 |       *  | |
| 151 |       * <p> | |
| 152 |       * Objects of the following type(s) are allowed in the list | |
| 153 |       * {@link ObjectType } | |
| 154 |       *  | |
| 155 |       *  | |
| 156 |       */ | |
| 157 |      public List<ObjectType> getObject() { | |
| 158 | 0 |          if (object == null) { | 
| 159 | 0 |              object = new ArrayList<ObjectType>(); | 
| 160 | } | |
| 161 | 0 |          return this.object; | 
| 162 | } | |
| 163 | ||
| 164 |      /** | |
| 165 |       * Gets the value of the id property. | |
| 166 |       *  | |
| 167 |       * @return | |
| 168 |       *     possible object is | |
| 169 |       *     {@link String } | |
| 170 |       *      | |
| 171 |       */ | |
| 172 |      public String getId() { | |
| 173 | 0 |          return id; | 
| 174 | } | |
| 175 | ||
| 176 |      /** | |
| 177 |       * Sets the value of the id property. | |
| 178 |       *  | |
| 179 |       * @param value | |
| 180 |       *     allowed object is | |
| 181 |       *     {@link String } | |
| 182 |       *      | |
| 183 |       */ | |
| 184 | public void setId(String value) { | |
| 185 | 0 |          this.id = value; | 
| 186 | 0 |      } | 
| 187 | ||
| 188 | } |