| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| SignaturePropertyType |
|
| 1.2;1.2 |
| 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.XmlAnyElement; | |
| 9 | import javax.xml.bind.annotation.XmlAttribute; | |
| 10 | import javax.xml.bind.annotation.XmlID; | |
| 11 | import javax.xml.bind.annotation.XmlMixed; | |
| 12 | import javax.xml.bind.annotation.XmlSchemaType; | |
| 13 | import javax.xml.bind.annotation.XmlType; | |
| 14 | import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; | |
| 15 | import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; | |
| 16 | import org.w3c.dom.Element; | |
| 17 | ||
| 18 | ||
| 19 | /** | |
| 20 | * <p>Java class for SignaturePropertyType complex type. | |
| 21 | * | |
| 22 | * <p>The following schema fragment specifies the expected content contained within this class. | |
| 23 | * | |
| 24 | * <pre> | |
| 25 | * <complexType name="SignaturePropertyType"> | |
| 26 | * <complexContent> | |
| 27 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 28 | * <choice maxOccurs="unbounded"> | |
| 29 | * <any processContents='lax' namespace='##other'/> | |
| 30 | * </choice> | |
| 31 | * <attribute name="Target" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> | |
| 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 = "SignaturePropertyType", propOrder = { | |
| 42 | "content" | |
| 43 | }) | |
| 44 | 0 | public class SignaturePropertyType { |
| 45 | ||
| 46 | @XmlMixed | |
| 47 | @XmlAnyElement(lax = true) | |
| 48 | protected List<Object> content; | |
| 49 | @XmlAttribute(name = "Target", required = true) | |
| 50 | @XmlSchemaType(name = "anyURI") | |
| 51 | protected String target; | |
| 52 | @XmlAttribute(name = "Id") | |
| 53 | @XmlJavaTypeAdapter(CollapsedStringAdapter.class) | |
| 54 | @XmlID | |
| 55 | @XmlSchemaType(name = "ID") | |
| 56 | protected String id; | |
| 57 | ||
| 58 | /** | |
| 59 | * Gets the value of the content property. | |
| 60 | * | |
| 61 | * <p> | |
| 62 | * This accessor method returns a reference to the live list, | |
| 63 | * not a snapshot. Therefore any modification you make to the | |
| 64 | * returned list will be present inside the JAXB object. | |
| 65 | * This is why there is not a <CODE>set</CODE> method for the content property. | |
| 66 | * | |
| 67 | * <p> | |
| 68 | * For example, to add a new item, do as follows: | |
| 69 | * <pre> | |
| 70 | * getContent().add(newItem); | |
| 71 | * </pre> | |
| 72 | * | |
| 73 | * | |
| 74 | * <p> | |
| 75 | * Objects of the following type(s) are allowed in the list | |
| 76 | * {@link Object } | |
| 77 | * {@link String } | |
| 78 | * {@link Element } | |
| 79 | * | |
| 80 | * | |
| 81 | */ | |
| 82 | public List<Object> getContent() { | |
| 83 | 0 | if (content == null) { |
| 84 | 0 | content = new ArrayList<Object>(); |
| 85 | } | |
| 86 | 0 | return this.content; |
| 87 | } | |
| 88 | ||
| 89 | /** | |
| 90 | * Gets the value of the target property. | |
| 91 | * | |
| 92 | * @return | |
| 93 | * possible object is | |
| 94 | * {@link String } | |
| 95 | * | |
| 96 | */ | |
| 97 | public String getTarget() { | |
| 98 | 0 | return target; |
| 99 | } | |
| 100 | ||
| 101 | /** | |
| 102 | * Sets the value of the target property. | |
| 103 | * | |
| 104 | * @param value | |
| 105 | * allowed object is | |
| 106 | * {@link String } | |
| 107 | * | |
| 108 | */ | |
| 109 | public void setTarget(String value) { | |
| 110 | 0 | this.target = value; |
| 111 | 0 | } |
| 112 | ||
| 113 | /** | |
| 114 | * Gets the value of the id property. | |
| 115 | * | |
| 116 | * @return | |
| 117 | * possible object is | |
| 118 | * {@link String } | |
| 119 | * | |
| 120 | */ | |
| 121 | public String getId() { | |
| 122 | 0 | return id; |
| 123 | } | |
| 124 | ||
| 125 | /** | |
| 126 | * Sets the value of the id property. | |
| 127 | * | |
| 128 | * @param value | |
| 129 | * allowed object is | |
| 130 | * {@link String } | |
| 131 | * | |
| 132 | */ | |
| 133 | public void setId(String value) { | |
| 134 | 0 | this.id = value; |
| 135 | 0 | } |
| 136 | ||
| 137 | } |