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.ArrayList; 25 import java.util.HashMap; 26 import java.util.List; 27 import java.util.Map; 28 import javax.xml.bind.annotation.XmlAccessType; 29 import javax.xml.bind.annotation.XmlAccessorType; 30 import javax.xml.bind.annotation.XmlAnyAttribute; 31 import javax.xml.bind.annotation.XmlElement; 32 import javax.xml.bind.annotation.XmlRootElement; 33 import javax.xml.bind.annotation.XmlType; 34 import javax.xml.namespace.QName; 35 import javax.xml.ws.wsaddressing.W3CEndpointReference; 36 37 38 /** 39 * <p>Java class for anonymous complex type. 40 * 41 * <p>The following schema fragment specifies the expected content contained within this class. 42 * 43 * <pre> 44 * <complexType> 45 * <complexContent> 46 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 47 * <sequence> 48 * <element ref="{http://docs.oasis-open.org/wsdm/muws1-2.xsd}ManageabilityEndpointReference" maxOccurs="unbounded" minOccurs="0"/> 49 * </sequence> 50 * </restriction> 51 * </complexContent> 52 * </complexType> 53 * </pre> 54 * 55 * 56 */ 57 @XmlAccessorType(XmlAccessType.FIELD) 58 @XmlType(name = "", propOrder = { 59 "manageabilityEndpointReference" 60 }) 61 @XmlRootElement(name = "CreationNotification") 62 public class CreationNotification { 63 64 @XmlElement(name = "ManageabilityEndpointReference", namespace = "http://docs.oasis-open.org/wsdm/muws1-2.xsd") 65 protected List<W3CEndpointReference> manageabilityEndpointReference; 66 @XmlAnyAttribute 67 private Map<QName, String> otherAttributes = new HashMap<QName, String>(); 68 69 /** 70 * Gets the value of the manageabilityEndpointReference property. 71 * 72 * <p> 73 * This accessor method returns a reference to the live list, 74 * not a snapshot. Therefore any modification you make to the 75 * returned list will be present inside the JAXB object. 76 * This is why there is not a <CODE>set</CODE> method for the manageabilityEndpointReference property. 77 * 78 * <p> 79 * For example, to add a new item, do as follows: 80 * <pre> 81 * getManageabilityEndpointReference().add(newItem); 82 * </pre> 83 * 84 * 85 * <p> 86 * Objects of the following type(s) are allowed in the list 87 * {@link W3CEndpointReference } 88 * 89 * 90 */ 91 public List<W3CEndpointReference> getManageabilityEndpointReference() { 92 if (manageabilityEndpointReference == null) { 93 manageabilityEndpointReference = new ArrayList<W3CEndpointReference>(); 94 } 95 return this.manageabilityEndpointReference; 96 } 97 98 /** 99 * Gets a map that contains attributes that aren't bound to any typed property on this class. 100 * 101 * <p> 102 * the map is keyed by the name of the attribute and 103 * the value is the string value of the attribute. 104 * 105 * the map returned by this method is live, and you can add new attribute 106 * by updating the map directly. Because of this design, there's no setter. 107 * 108 * 109 * @return 110 * always non-null 111 */ 112 public Map<QName, String> getOtherAttributes() { 113 return otherAttributes; 114 } 115 116 }