| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| ParticipantsType |
|
| 1.5;1.5 |
| 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 ParticipantsType complex type. | |
| 16 | * | |
| 17 | * <p>The following schema fragment specifies the expected content contained within this class. | |
| 18 | * | |
| 19 | * <pre> | |
| 20 | * <complexType name="ParticipantsType"> | |
| 21 | * <complexContent> | |
| 22 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 23 | * <sequence> | |
| 24 | * <element name="Primary" type="{http://schemas.xmlsoap.org/ws/2005/02/trust}ParticipantType" minOccurs="0"/> | |
| 25 | * <element name="Participant" type="{http://schemas.xmlsoap.org/ws/2005/02/trust}ParticipantType" maxOccurs="unbounded" minOccurs="0"/> | |
| 26 | * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> | |
| 27 | * </sequence> | |
| 28 | * </restriction> | |
| 29 | * </complexContent> | |
| 30 | * </complexType> | |
| 31 | * </pre> | |
| 32 | * | |
| 33 | * | |
| 34 | */ | |
| 35 | @XmlAccessorType(XmlAccessType.FIELD) | |
| 36 | @XmlType(name = "ParticipantsType", propOrder = { | |
| 37 | "primary", | |
| 38 | "participant", | |
| 39 | "any" | |
| 40 | }) | |
| 41 | 0 | public class ParticipantsType { |
| 42 | ||
| 43 | @XmlElement(name = "Primary") | |
| 44 | protected ParticipantType primary; | |
| 45 | @XmlElement(name = "Participant") | |
| 46 | protected List<ParticipantType> participant; | |
| 47 | @XmlAnyElement(lax = true) | |
| 48 | protected List<Object> any; | |
| 49 | ||
| 50 | /** | |
| 51 | * Gets the value of the primary property. | |
| 52 | * | |
| 53 | * @return | |
| 54 | * possible object is | |
| 55 | * {@link ParticipantType } | |
| 56 | * | |
| 57 | */ | |
| 58 | public ParticipantType getPrimary() { | |
| 59 | 0 | return primary; |
| 60 | } | |
| 61 | ||
| 62 | /** | |
| 63 | * Sets the value of the primary property. | |
| 64 | * | |
| 65 | * @param value | |
| 66 | * allowed object is | |
| 67 | * {@link ParticipantType } | |
| 68 | * | |
| 69 | */ | |
| 70 | public void setPrimary(ParticipantType value) { | |
| 71 | 0 | this.primary = value; |
| 72 | 0 | } |
| 73 | ||
| 74 | /** | |
| 75 | * Gets the value of the participant property. | |
| 76 | * | |
| 77 | * <p> | |
| 78 | * This accessor method returns a reference to the live list, | |
| 79 | * not a snapshot. Therefore any modification you make to the | |
| 80 | * returned list will be present inside the JAXB object. | |
| 81 | * This is why there is not a <CODE>set</CODE> method for the participant property. | |
| 82 | * | |
| 83 | * <p> | |
| 84 | * For example, to add a new item, do as follows: | |
| 85 | * <pre> | |
| 86 | * getParticipant().add(newItem); | |
| 87 | * </pre> | |
| 88 | * | |
| 89 | * | |
| 90 | * <p> | |
| 91 | * Objects of the following type(s) are allowed in the list | |
| 92 | * {@link ParticipantType } | |
| 93 | * | |
| 94 | * | |
| 95 | */ | |
| 96 | public List<ParticipantType> getParticipant() { | |
| 97 | 0 | if (participant == null) { |
| 98 | 0 | participant = new ArrayList<ParticipantType>(); |
| 99 | } | |
| 100 | 0 | return this.participant; |
| 101 | } | |
| 102 | ||
| 103 | /** | |
| 104 | * Gets the value of the any property. | |
| 105 | * | |
| 106 | * <p> | |
| 107 | * This accessor method returns a reference to the live list, | |
| 108 | * not a snapshot. Therefore any modification you make to the | |
| 109 | * returned list will be present inside the JAXB object. | |
| 110 | * This is why there is not a <CODE>set</CODE> method for the any property. | |
| 111 | * | |
| 112 | * <p> | |
| 113 | * For example, to add a new item, do as follows: | |
| 114 | * <pre> | |
| 115 | * getAny().add(newItem); | |
| 116 | * </pre> | |
| 117 | * | |
| 118 | * | |
| 119 | * <p> | |
| 120 | * Objects of the following type(s) are allowed in the list | |
| 121 | * {@link Object } | |
| 122 | * {@link Element } | |
| 123 | * | |
| 124 | * | |
| 125 | */ | |
| 126 | public List<Object> getAny() { | |
| 127 | 0 | if (any == null) { |
| 128 | 0 | any = new ArrayList<Object>(); |
| 129 | } | |
| 130 | 0 | return this.any; |
| 131 | } | |
| 132 | ||
| 133 | } |