Clover Coverage Report - KS Security 1.2-SNAPSHOT (Aggregated)
Coverage timestamp: Thu Mar 3 2011 04:57:08 EST
../../../../../../img/srcFileCovDistChart0.png 1% of files have more coverage
4   98   3   2
2   33   0.75   2
2     1.5  
1    
 
  AppliesTo       Line # 43 4 0% 3 8 0% 0.0
 
No Tests
 
1   
2    package org.kuali.student.security.policy.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.XmlRootElement;
13    import javax.xml.bind.annotation.XmlType;
14    import javax.xml.namespace.QName;
15    import org.w3c.dom.Element;
16   
17   
18    /**
19    * <p>Java class for anonymous complex type.
20    *
21    * <p>The following schema fragment specifies the expected content contained within this class.
22    *
23    * <pre>
24    * &lt;complexType>
25    * &lt;complexContent>
26    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27    * &lt;sequence>
28    * &lt;any processContents='lax' maxOccurs="unbounded"/>
29    * &lt;/sequence>
30    * &lt;anyAttribute processContents='lax'/>
31    * &lt;/restriction>
32    * &lt;/complexContent>
33    * &lt;/complexType>
34    * </pre>
35    *
36    *
37    */
38    @XmlAccessorType(XmlAccessType.FIELD)
39    @XmlType(name = "", propOrder = {
40    "any"
41    })
42    @XmlRootElement(name = "AppliesTo")
 
43    public class AppliesTo {
44   
45    @XmlAnyElement(lax = true)
46    protected List<Object> any;
47    @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  0 toggle 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  0 toggle public Map<QName, String> getOtherAttributes() {
95  0 return otherAttributes;
96    }
97   
98    }