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