Coverage Report - org.kuali.student.security.wssecurity.utility.dto.AttributedDateTime
 
Classes in this File Line Coverage Branch Coverage Complexity
AttributedDateTime
0%
0/9
N/A
1
 
 1  
 
 2  
 package org.kuali.student.security.wssecurity.utility.dto;
 3  
 
 4  
 import java.util.HashMap;
 5  
 import java.util.Map;
 6  
 import javax.xml.bind.annotation.XmlAccessType;
 7  
 import javax.xml.bind.annotation.XmlAccessorType;
 8  
 import javax.xml.bind.annotation.XmlAnyAttribute;
 9  
 import javax.xml.bind.annotation.XmlAttribute;
 10  
 import javax.xml.bind.annotation.XmlID;
 11  
 import javax.xml.bind.annotation.XmlSchemaType;
 12  
 import javax.xml.bind.annotation.XmlType;
 13  
 import javax.xml.bind.annotation.XmlValue;
 14  
 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
 15  
 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
 16  
 import javax.xml.namespace.QName;
 17  
 
 18  
 
 19  
 /**
 20  
  * 
 21  
  * This type is for elements whose [children] is a psuedo-dateTime and can have arbitrary attributes. 
 22  
  *       
 23  
  * 
 24  
  * <p>Java class for AttributedDateTime complex type.
 25  
  * 
 26  
  * <p>The following schema fragment specifies the expected content contained within this class.
 27  
  * 
 28  
  * <pre>
 29  
  * &lt;complexType name="AttributedDateTime">
 30  
  *   &lt;simpleContent>
 31  
  *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
 32  
  *       &lt;attGroup ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}commonAtts"/>
 33  
  *       &lt;anyAttribute processContents='lax' namespace='##other'/>
 34  
  *     &lt;/extension>
 35  
  *   &lt;/simpleContent>
 36  
  * &lt;/complexType>
 37  
  * </pre>
 38  
  * 
 39  
  * 
 40  
  */
 41  
 @XmlAccessorType(XmlAccessType.FIELD)
 42  
 @XmlType(name = "AttributedDateTime", propOrder = {
 43  
     "value"
 44  
 })
 45  0
 public class AttributedDateTime {
 46  
 
 47  
     @XmlValue
 48  
     protected String value;
 49  
     @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")
 50  
     @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
 51  
     @XmlID
 52  
     @XmlSchemaType(name = "ID")
 53  
     protected String id;
 54  0
     @XmlAnyAttribute
 55  
     private Map<QName, String> otherAttributes = new HashMap<QName, String>();
 56  
 
 57  
     /**
 58  
      * Gets the value of the value property.
 59  
      * 
 60  
      * @return
 61  
      *     possible object is
 62  
      *     {@link String }
 63  
      *     
 64  
      */
 65  
     public String getValue() {
 66  0
         return value;
 67  
     }
 68  
 
 69  
     /**
 70  
      * Sets the value of the value property.
 71  
      * 
 72  
      * @param value
 73  
      *     allowed object is
 74  
      *     {@link String }
 75  
      *     
 76  
      */
 77  
     public void setValue(String value) {
 78  0
         this.value = value;
 79  0
     }
 80  
 
 81  
     /**
 82  
      * Gets the value of the id property.
 83  
      * 
 84  
      * @return
 85  
      *     possible object is
 86  
      *     {@link String }
 87  
      *     
 88  
      */
 89  
     public String getId() {
 90  0
         return id;
 91  
     }
 92  
 
 93  
     /**
 94  
      * Sets the value of the id property.
 95  
      * 
 96  
      * @param value
 97  
      *     allowed object is
 98  
      *     {@link String }
 99  
      *     
 100  
      */
 101  
     public void setId(String value) {
 102  0
         this.id = value;
 103  0
     }
 104  
 
 105  
     /**
 106  
      * Gets a map that contains attributes that aren't bound to any typed property on this class.
 107  
      * 
 108  
      * <p>
 109  
      * the map is keyed by the name of the attribute and 
 110  
      * the value is the string value of the attribute.
 111  
      * 
 112  
      * the map returned by this method is live, and you can add new attribute
 113  
      * by updating the map directly. Because of this design, there's no setter.
 114  
      * 
 115  
      * 
 116  
      * @return
 117  
      *     always non-null
 118  
      */
 119  
     public Map<QName, String> getOtherAttributes() {
 120  0
         return otherAttributes;
 121  
     }
 122  
 
 123  
 }