1 /** 2 * Licensed to the Apache Software Foundation (ASF) under one 3 * or more contributor license agreements. See the NOTICE file 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 6 * to you under the Apache License, Version 2.0 (the 7 * "License"); you may not use this file except in compliance 8 * with the License. You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, 13 * software distributed under the License is distributed on an 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 * KIND, either express or implied. See the License for the 16 * specific language governing permissions and limitations 17 * under the License. 18 */ 19 // 20 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 21 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 22 // Any modifications to this file will be lost upon recompilation of the source schema. 23 // Generated on: 2014.03.27 at 03:31:18 PM GMT 24 // 25 26 27 package org.apache.wss4j.binding.wsu10; 28 29 import java.util.HashMap; 30 import java.util.Map; 31 import jakarta.xml.bind.annotation.XmlAccessType; 32 import jakarta.xml.bind.annotation.XmlAccessorType; 33 import jakarta.xml.bind.annotation.XmlAnyAttribute; 34 import jakarta.xml.bind.annotation.XmlAttribute; 35 import jakarta.xml.bind.annotation.XmlID; 36 import jakarta.xml.bind.annotation.XmlSchemaType; 37 import jakarta.xml.bind.annotation.XmlType; 38 import jakarta.xml.bind.annotation.XmlValue; 39 import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter; 40 import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 41 import javax.xml.namespace.QName; 42 43 44 /** 45 * 46 * This type is for elements whose [children] is a psuedo-dateTime and can have arbitrary attributes. 47 * 48 * 49 * <p>Java class for AttributedDateTime complex type. 50 * 51 * <p>The following schema fragment specifies the expected content contained within this class. 52 * 53 * <pre> 54 * <complexType name="AttributedDateTime"> 55 * <simpleContent> 56 * <extension base="<http://www.w3.org/2001/XMLSchema>string"> 57 * <attGroup ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}commonAtts"/> 58 * <anyAttribute processContents='lax' namespace='##other'/> 59 * </extension> 60 * </simpleContent> 61 * </complexType> 62 * </pre> 63 * 64 * 65 */ 66 @XmlAccessorType(XmlAccessType.FIELD) 67 @XmlType(name = "AttributedDateTime", propOrder = { 68 "value" 69 }) 70 public class AttributedDateTime 71 extends AbstractAttributedDateTime 72 { 73 74 @XmlValue 75 private String value; 76 @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd") 77 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 78 @XmlID 79 @XmlSchemaType(name = "ID") 80 private String id; 81 @XmlAnyAttribute 82 private Map<QName, String> otherAttributes = new HashMap<>(); 83 84 /** 85 * Gets the value of the value property. 86 * 87 * @return 88 * possible object is 89 * {@link String } 90 * 91 */ 92 public String getValue() { 93 return value; 94 } 95 96 /** 97 * Sets the value of the value property. 98 * 99 * @param value 100 * allowed object is 101 * {@link String } 102 * 103 */ 104 public void setValue(String value) { 105 this.value = value; 106 } 107 108 /** 109 * Gets the value of the id property. 110 * 111 * @return 112 * possible object is 113 * {@link String } 114 * 115 */ 116 public String getId() { 117 return id; 118 } 119 120 /** 121 * Sets the value of the id property. 122 * 123 * @param value 124 * allowed object is 125 * {@link String } 126 * 127 */ 128 public void setId(String value) { 129 this.id = value; 130 } 131 132 /** 133 * Gets a map that contains attributes that aren't bound to any typed property on this class. 134 * 135 * <p> 136 * the map is keyed by the name of the attribute and 137 * the value is the string value of the attribute. 138 * 139 * the map returned by this method is live, and you can add new attribute 140 * by updating the map directly. Because of this design, there's no setter. 141 * 142 * 143 * @return 144 * always non-null 145 */ 146 public Map<QName, String> getOtherAttributes() { 147 return otherAttributes; 148 } 149 150 }