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