001
002 package org.kuali.student.security.wssecurity.utility.dto;
003
004 import java.util.HashMap;
005 import java.util.Map;
006 import javax.xml.bind.annotation.XmlAccessType;
007 import javax.xml.bind.annotation.XmlAccessorType;
008 import javax.xml.bind.annotation.XmlAnyAttribute;
009 import javax.xml.bind.annotation.XmlAttribute;
010 import javax.xml.bind.annotation.XmlID;
011 import javax.xml.bind.annotation.XmlSchemaType;
012 import javax.xml.bind.annotation.XmlType;
013 import javax.xml.bind.annotation.XmlValue;
014 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
015 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
016 import javax.xml.namespace.QName;
017
018
019 /**
020 *
021 * This type is for elements whose [children] is a psuedo-dateTime and can have arbitrary attributes.
022 *
023 *
024 * <p>Java class for AttributedDateTime complex type.
025 *
026 * <p>The following schema fragment specifies the expected content contained within this class.
027 *
028 * <pre>
029 * <complexType name="AttributedDateTime">
030 * <simpleContent>
031 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
032 * <attGroup ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}commonAtts"/>
033 * <anyAttribute processContents='lax' namespace='##other'/>
034 * </extension>
035 * </simpleContent>
036 * </complexType>
037 * </pre>
038 *
039 *
040 */
041 @XmlAccessorType(XmlAccessType.FIELD)
042 @XmlType(name = "AttributedDateTime", propOrder = {
043 "value"
044 })
045 public class AttributedDateTime {
046
047 @XmlValue
048 protected String value;
049 @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")
050 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
051 @XmlID
052 @XmlSchemaType(name = "ID")
053 protected String id;
054 @XmlAnyAttribute
055 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
056
057 /**
058 * Gets the value of the value property.
059 *
060 * @return
061 * possible object is
062 * {@link String }
063 *
064 */
065 public String getValue() {
066 return value;
067 }
068
069 /**
070 * Sets the value of the value property.
071 *
072 * @param value
073 * allowed object is
074 * {@link String }
075 *
076 */
077 public void setValue(String value) {
078 this.value = value;
079 }
080
081 /**
082 * Gets the value of the id property.
083 *
084 * @return
085 * possible object is
086 * {@link String }
087 *
088 */
089 public String getId() {
090 return id;
091 }
092
093 /**
094 * Sets the value of the id property.
095 *
096 * @param value
097 * allowed object is
098 * {@link String }
099 *
100 */
101 public void setId(String value) {
102 this.id = value;
103 }
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 return otherAttributes;
121 }
122
123 }