1 /**
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 *
6 * If it is not possible or desirable to put the notice in a particular
7 * file, then You may include the notice in a location (such as a LICENSE
8 * file in a relevant directory) where a recipient would be likely to look
9 * for such a notice.
10
11 *
12 */
13
14 /* ---------------------------------------------------------------------------
15 * U.S. Government, Department of the Army
16 * Army Materiel Command
17 * Research Development Engineering Command
18 * Communications Electronics Research Development and Engineering Center
19 * ---------------------------------------------------------------------------
20 */
21
22 package org.oasis_open.docs.wsdm.muws2_2;
23
24 import java.util.HashMap;
25 import java.util.Map;
26 import javax.xml.bind.annotation.XmlAccessType;
27 import javax.xml.bind.annotation.XmlAccessorType;
28 import javax.xml.bind.annotation.XmlAnyAttribute;
29 import javax.xml.bind.annotation.XmlElement;
30 import javax.xml.bind.annotation.XmlRootElement;
31 import javax.xml.bind.annotation.XmlSchemaType;
32 import javax.xml.bind.annotation.XmlType;
33 import javax.xml.namespace.QName;
34
35
36 /**
37 * <p>Java class for anonymous complex type.
38 *
39 * <p>The following schema fragment specifies the expected content contained within this class.
40 *
41 * <pre>
42 * <complexType>
43 * <complexContent>
44 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
45 * <sequence>
46 * <element ref="{http://docs.oasis-open.org/wsdm/muws1-2.xsd}ResourceId" minOccurs="0"/>
47 * </sequence>
48 * </restriction>
49 * </complexContent>
50 * </complexType>
51 * </pre>
52 *
53 *
54 */
55 @XmlAccessorType(XmlAccessType.FIELD)
56 @XmlType(name = "", propOrder = {
57 "resourceId"
58 })
59 @XmlRootElement(name = "DestructionNotification")
60 public class DestructionNotification {
61
62 @XmlElement(name = "ResourceId", namespace = "http://docs.oasis-open.org/wsdm/muws1-2.xsd")
63 @XmlSchemaType(name = "anyURI")
64 protected String resourceId;
65 @XmlAnyAttribute
66 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
67
68 /**
69 * Gets the value of the resourceId property.
70 *
71 * @return
72 * possible object is
73 * {@link String }
74 *
75 */
76 public String getResourceId() {
77 return resourceId;
78 }
79
80 /**
81 * Sets the value of the resourceId property.
82 *
83 * @param value
84 * allowed object is
85 * {@link String }
86 *
87 */
88 public void setResourceId(String value) {
89 this.resourceId = value;
90 }
91
92 /**
93 * Gets a map that contains attributes that aren't bound to any typed property on this class.
94 *
95 * <p>
96 * the map is keyed by the name of the attribute and
97 * the value is the string value of the attribute.
98 *
99 * the map returned by this method is live, and you can add new attribute
100 * by updating the map directly. Because of this design, there's no setter.
101 *
102 *
103 * @return
104 * always non-null
105 */
106 public Map<QName, String> getOtherAttributes() {
107 return otherAttributes;
108 }
109
110 }