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.query; 10 11 import javax.xml.bind.annotation.XmlAccessType; 12 import javax.xml.bind.annotation.XmlAccessorType; 13 import javax.xml.bind.annotation.XmlAttribute; 14 import javax.xml.bind.annotation.XmlType; 15 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 16 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 17 18 19 /** 20 * <p>Java class for ResponseOptionType complex type. 21 * 22 * <p>The following schema fragment specifies the expected content contained within this class. 23 * 24 * <pre> 25 * <complexType name="ResponseOptionType"> 26 * <complexContent> 27 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 28 * <attribute name="returnType" default="RegistryObject"> 29 * <simpleType> 30 * <restriction base="{http://www.w3.org/2001/XMLSchema}NCName"> 31 * <enumeration value="ObjectRef"/> 32 * <enumeration value="RegistryObject"/> 33 * <enumeration value="LeafClass"/> 34 * <enumeration value="LeafClassWithRepositoryItem"/> 35 * </restriction> 36 * </simpleType> 37 * </attribute> 38 * <attribute name="returnComposedObjects" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> 39 * </restriction> 40 * </complexContent> 41 * </complexType> 42 * </pre> 43 * 44 * 45 */ 46 @XmlAccessorType(XmlAccessType.FIELD) 47 @XmlType(name = "ResponseOptionType") 48 public class ResponseOptionType { 49 50 @XmlAttribute 51 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 52 protected String returnType; 53 @XmlAttribute 54 protected Boolean returnComposedObjects; 55 56 /** 57 * Gets the value of the returnType property. 58 * 59 * @return 60 * possible object is 61 * {@link String } 62 * 63 */ 64 public String getReturnType() { 65 if (returnType == null) { 66 return "RegistryObject"; 67 } else { 68 return returnType; 69 } 70 } 71 72 /** 73 * Sets the value of the returnType property. 74 * 75 * @param value 76 * allowed object is 77 * {@link String } 78 * 79 */ 80 public void setReturnType(String value) { 81 this.returnType = value; 82 } 83 84 /** 85 * Gets the value of the returnComposedObjects property. 86 * 87 * @return 88 * possible object is 89 * {@link Boolean } 90 * 91 */ 92 public boolean isReturnComposedObjects() { 93 if (returnComposedObjects == null) { 94 return false; 95 } else { 96 return returnComposedObjects; 97 } 98 } 99 100 /** 101 * Sets the value of the returnComposedObjects property. 102 * 103 * @param value 104 * allowed object is 105 * {@link Boolean } 106 * 107 */ 108 public void setReturnComposedObjects(Boolean value) { 109 this.returnComposedObjects = value; 110 } 111 112 }