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