Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
KeyExchangeTokenType |
|
| 2.0;2 |
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.XmlType; | |
10 | import org.w3c.dom.Element; | |
11 | ||
12 | ||
13 | /** | |
14 | * <p>Java class for KeyExchangeTokenType complex type. | |
15 | * | |
16 | * <p>The following schema fragment specifies the expected content contained within this class. | |
17 | * | |
18 | * <pre> | |
19 | * <complexType name="KeyExchangeTokenType"> | |
20 | * <complexContent> | |
21 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
22 | * <sequence> | |
23 | * <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/> | |
24 | * </sequence> | |
25 | * </restriction> | |
26 | * </complexContent> | |
27 | * </complexType> | |
28 | * </pre> | |
29 | * | |
30 | * | |
31 | */ | |
32 | @XmlAccessorType(XmlAccessType.FIELD) | |
33 | @XmlType(name = "KeyExchangeTokenType", propOrder = { | |
34 | "any" | |
35 | }) | |
36 | 0 | public class KeyExchangeTokenType { |
37 | ||
38 | @XmlAnyElement(lax = true) | |
39 | protected List<Object> any; | |
40 | ||
41 | /** | |
42 | * Gets the value of the any property. | |
43 | * | |
44 | * <p> | |
45 | * This accessor method returns a reference to the live list, | |
46 | * not a snapshot. Therefore any modification you make to the | |
47 | * returned list will be present inside the JAXB object. | |
48 | * This is why there is not a <CODE>set</CODE> method for the any property. | |
49 | * | |
50 | * <p> | |
51 | * For example, to add a new item, do as follows: | |
52 | * <pre> | |
53 | * getAny().add(newItem); | |
54 | * </pre> | |
55 | * | |
56 | * | |
57 | * <p> | |
58 | * Objects of the following type(s) are allowed in the list | |
59 | * {@link Object } | |
60 | * {@link Element } | |
61 | * | |
62 | * | |
63 | */ | |
64 | public List<Object> getAny() { | |
65 | 0 | if (any == null) { |
66 | 0 | any = new ArrayList<Object>(); |
67 | } | |
68 | 0 | return this.any; |
69 | } | |
70 | ||
71 | } |