| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| RequestSecurityTokenResponseCollectionType |
|
| 1.5;1.5 |
| 1 | ||
| 2 | package org.kuali.student.security.trust.dto; | |
| 3 | ||
| 4 | import java.util.ArrayList; | |
| 5 | import java.util.HashMap; | |
| 6 | import java.util.List; | |
| 7 | import java.util.Map; | |
| 8 | import javax.xml.bind.annotation.XmlAccessType; | |
| 9 | import javax.xml.bind.annotation.XmlAccessorType; | |
| 10 | import javax.xml.bind.annotation.XmlAnyAttribute; | |
| 11 | import javax.xml.bind.annotation.XmlElement; | |
| 12 | import javax.xml.bind.annotation.XmlType; | |
| 13 | import javax.xml.namespace.QName; | |
| 14 | ||
| 15 | ||
| 16 | /** | |
| 17 | * <p>Java class for RequestSecurityTokenResponseCollectionType complex type. | |
| 18 | * | |
| 19 | * <p>The following schema fragment specifies the expected content contained within this class. | |
| 20 | * | |
| 21 | * <pre> | |
| 22 | * <complexType name="RequestSecurityTokenResponseCollectionType"> | |
| 23 | * <complexContent> | |
| 24 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 25 | * <sequence> | |
| 26 | * <element ref="{http://schemas.xmlsoap.org/ws/2005/02/trust}RequestSecurityTokenResponse" maxOccurs="unbounded"/> | |
| 27 | * </sequence> | |
| 28 | * <anyAttribute processContents='lax' namespace='##other'/> | |
| 29 | * </restriction> | |
| 30 | * </complexContent> | |
| 31 | * </complexType> | |
| 32 | * </pre> | |
| 33 | * | |
| 34 | * | |
| 35 | */ | |
| 36 | @XmlAccessorType(XmlAccessType.FIELD) | |
| 37 | @XmlType(name = "RequestSecurityTokenResponseCollectionType", propOrder = { | |
| 38 | "requestSecurityTokenResponse" | |
| 39 | }) | |
| 40 | 0 | public class RequestSecurityTokenResponseCollectionType { |
| 41 | ||
| 42 | @XmlElement(name = "RequestSecurityTokenResponse", required = true) | |
| 43 | protected List<RequestSecurityTokenResponseType> requestSecurityTokenResponse; | |
| 44 | 0 | @XmlAnyAttribute |
| 45 | private Map<QName, String> otherAttributes = new HashMap<QName, String>(); | |
| 46 | ||
| 47 | /** | |
| 48 | * Gets the value of the requestSecurityTokenResponse property. | |
| 49 | * | |
| 50 | * <p> | |
| 51 | * This accessor method returns a reference to the live list, | |
| 52 | * not a snapshot. Therefore any modification you make to the | |
| 53 | * returned list will be present inside the JAXB object. | |
| 54 | * This is why there is not a <CODE>set</CODE> method for the requestSecurityTokenResponse property. | |
| 55 | * | |
| 56 | * <p> | |
| 57 | * For example, to add a new item, do as follows: | |
| 58 | * <pre> | |
| 59 | * getRequestSecurityTokenResponse().add(newItem); | |
| 60 | * </pre> | |
| 61 | * | |
| 62 | * | |
| 63 | * <p> | |
| 64 | * Objects of the following type(s) are allowed in the list | |
| 65 | * {@link RequestSecurityTokenResponseType } | |
| 66 | * | |
| 67 | * | |
| 68 | */ | |
| 69 | public List<RequestSecurityTokenResponseType> getRequestSecurityTokenResponse() { | |
| 70 | 0 | if (requestSecurityTokenResponse == null) { |
| 71 | 0 | requestSecurityTokenResponse = new ArrayList<RequestSecurityTokenResponseType>(); |
| 72 | } | |
| 73 | 0 | return this.requestSecurityTokenResponse; |
| 74 | } | |
| 75 | ||
| 76 | /** | |
| 77 | * Gets a map that contains attributes that aren't bound to any typed property on this class. | |
| 78 | * | |
| 79 | * <p> | |
| 80 | * the map is keyed by the name of the attribute and | |
| 81 | * the value is the string value of the attribute. | |
| 82 | * | |
| 83 | * the map returned by this method is live, and you can add new attribute | |
| 84 | * by updating the map directly. Because of this design, there's no setter. | |
| 85 | * | |
| 86 | * | |
| 87 | * @return | |
| 88 | * always non-null | |
| 89 | */ | |
| 90 | public Map<QName, String> getOtherAttributes() { | |
| 91 | 0 | return otherAttributes; |
| 92 | } | |
| 93 | ||
| 94 | } |