1 // 2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.9-03/31/2009 04:14 PM(snajper)-fcs 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 4 // Any modifications to this file will be lost upon recompilation of the source schema. 5 // Generated on: 2009.04.30 at 06:20:20 PM CEST 6 // 7 8 9 package org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.rim; 10 11 import java.util.ArrayList; 12 import java.util.List; 13 import javax.xml.bind.annotation.XmlAccessType; 14 import javax.xml.bind.annotation.XmlAccessorType; 15 import javax.xml.bind.annotation.XmlAttribute; 16 import javax.xml.bind.annotation.XmlElement; 17 import javax.xml.bind.annotation.XmlSchemaType; 18 import javax.xml.bind.annotation.XmlSeeAlso; 19 import javax.xml.bind.annotation.XmlType; 20 21 22 /** 23 * 24 * Common base type for all types that have unique identity. 25 * If id is provided and is not in proper URN syntax then it is used for 26 * linkage within document and is ignored by the registry. In this case the 27 * registry generates a UUID URN for id attribute. 28 * id must not be null when object is retrieved from the registry. 29 * 30 * 31 * <p>Java class for IdentifiableType complex type. 32 * 33 * <p>The following schema fragment specifies the expected content contained within this class. 34 * 35 * <pre> 36 * <complexType name="IdentifiableType"> 37 * <complexContent> 38 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 39 * <sequence> 40 * <element ref="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}Slot" maxOccurs="unbounded" minOccurs="0"/> 41 * </sequence> 42 * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> 43 * <attribute name="home" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> 44 * </restriction> 45 * </complexContent> 46 * </complexType> 47 * </pre> 48 * 49 * 50 */ 51 @XmlAccessorType(XmlAccessType.FIELD) 52 @XmlType(name = "IdentifiableType", propOrder = { 53 "slot" 54 }) 55 @XmlSeeAlso({ 56 ObjectRefType.class, 57 RegistryObjectType.class 58 }) 59 public class IdentifiableType { 60 61 @XmlElement(name = "Slot") 62 protected List<SlotType1> slot; 63 @XmlAttribute(required = true) 64 @XmlSchemaType(name = "anyURI") 65 protected String id; 66 @XmlAttribute 67 @XmlSchemaType(name = "anyURI") 68 protected String home; 69 70 /** 71 * Gets the value of the slot property. 72 * 73 * <p> 74 * This accessor method returns a reference to the live list, 75 * not a snapshot. Therefore any modification you make to the 76 * returned list will be present inside the JAXB object. 77 * This is why there is not a <CODE>set</CODE> method for the slot property. 78 * 79 * <p> 80 * For example, to add a new item, do as follows: 81 * <pre> 82 * getSlot().add(newItem); 83 * </pre> 84 * 85 * 86 * <p> 87 * Objects of the following type(s) are allowed in the list 88 * {@link SlotType1 } 89 * 90 * 91 */ 92 public List<SlotType1> getSlot() { 93 if (slot == null) { 94 slot = new ArrayList<>(); 95 } 96 return this.slot; 97 } 98 99 /** 100 * Gets the value of the id property. 101 * 102 * @return 103 * possible object is 104 * {@link String } 105 * 106 */ 107 public String getId() { 108 return id; 109 } 110 111 /** 112 * Sets the value of the id property. 113 * 114 * @param value 115 * allowed object is 116 * {@link String } 117 * 118 */ 119 public void setId(String value) { 120 this.id = value; 121 } 122 123 /** 124 * Gets the value of the home property. 125 * 126 * @return 127 * possible object is 128 * {@link String } 129 * 130 */ 131 public String getHome() { 132 return home; 133 } 134 135 /** 136 * Sets the value of the home property. 137 * 138 * @param value 139 * allowed object is 140 * {@link String } 141 * 142 */ 143 public void setHome(String value) { 144 this.home = value; 145 } 146 147 }