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