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