001: /*
002: * The contents of this file are subject to the terms
003: * of the Common Development and Distribution License
004: * (the License). You may not use this file except in
005: * compliance with the License.
006: *
007: * You can obtain a copy of the license at
008: * https://glassfish.dev.java.net/public/CDDLv1.0.html.
009: * See the License for the specific language governing
010: * permissions and limitations under the License.
011: *
012: * When distributing Covered Code, include this CDDL
013: * Header Notice in each file and include the License file
014: * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
015: * If applicable, add the following below the CDDL Header,
016: * with the fields enclosed by brackets [] replaced by
017: * you own identifying information:
018: * "Portions Copyrighted [year] [name of copyright owner]"
019: *
020: * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
021: */
022:
023: //
024: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
025: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
026: // Any modifications to this file will be lost upon recompilation of the source schema.
027: // Generated on: 2006.08.10 at 02:34:36 PM IST
028: //
029:
030: package com.sun.xml.ws.security.wsu10;
031:
032: import java.util.HashMap;
033: import java.util.Map;
034: import javax.xml.bind.annotation.XmlAccessType;
035: import javax.xml.bind.annotation.XmlAccessorType;
036: import javax.xml.bind.annotation.XmlAnyAttribute;
037: import javax.xml.bind.annotation.XmlAttribute;
038: import javax.xml.bind.annotation.XmlID;
039: import javax.xml.bind.annotation.XmlType;
040: import javax.xml.bind.annotation.XmlValue;
041: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
042: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
043: import javax.xml.namespace.QName;
044:
045: /**
046: *
047: * This type is for elements whose [children] is a psuedo-dateTime and can have arbitrary attributes.
048: *
049: *
050: * <p>Java class for AttributedDateTime complex type.
051: *
052: * <p>The following schema fragment specifies the expected content contained within this class.
053: *
054: * <pre>
055: * <complexType name="AttributedDateTime">
056: * <simpleContent>
057: * <extension base="<http://www.w3.org/2001/XMLSchema>string">
058: * <attGroup ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}commonAtts"/>
059: * </extension>
060: * </simpleContent>
061: * </complexType>
062: * </pre>
063: *
064: *
065: */
066: @XmlAccessorType(XmlAccessType.FIELD)
067: @XmlType(name="AttributedDateTime",propOrder={"value"})
068: public class AttributedDateTime {
069:
070: @XmlValue
071: protected String value;
072: @XmlAttribute(name="Id",namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")
073: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
074: @XmlID
075: protected String id;
076: @XmlAnyAttribute
077: private Map<QName, String> otherAttributes = new HashMap<QName, String>();
078:
079: /**
080: * Gets the value of the value property.
081: *
082: * @return
083: * possible object is
084: * {@link String }
085: *
086: */
087: public String getValue() {
088: return value;
089: }
090:
091: /**
092: * Sets the value of the value property.
093: *
094: * @param value
095: * allowed object is
096: * {@link String }
097: *
098: */
099: public void setValue(String value) {
100: this .value = value;
101: }
102:
103: /**
104: * Gets the value of the id property.
105: *
106: * @return
107: * possible object is
108: * {@link String }
109: *
110: */
111: public String getId() {
112: return id;
113: }
114:
115: /**
116: * Sets the value of the id property.
117: *
118: * @param value
119: * allowed object is
120: * {@link String }
121: *
122: */
123: public void setId(String value) {
124: this .id = value;
125: }
126:
127: /**
128: * Gets a map that contains attributes that aren't bound to any typed property on this class.
129: *
130: * <p>
131: * the map is keyed by the name of the attribute and
132: * the value is the string value of the attribute.
133: *
134: * the map returned by this method is live, and you can add new attribute
135: * by updating the map directly. Because of this design, there's no setter.
136: *
137: *
138: * @return
139: * always non-null
140: */
141: public Map<QName, String> getOtherAttributes() {
142: return otherAttributes;
143: }
144:
145: }
|