1 /* 2 * Copyright 2017 the original author or authors. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2; 17 18 import javax.xml.bind.annotation.XmlAccessType; 19 import javax.xml.bind.annotation.XmlAccessorType; 20 import javax.xml.bind.annotation.XmlType; 21 22 23 /** 24 * <p>Java class for ExtendedResponse complex type. 25 * 26 * <p>The following schema fragment specifies the expected content contained within this class. 27 * 28 * <pre> 29 * <complexType name="ExtendedResponse"> 30 * <complexContent> 31 * <extension base="{urn:oasis:names:tc:DSML:2:0:core}LDAPResult"> 32 * <sequence> 33 * <element name="responseName" type="{urn:oasis:names:tc:DSML:2:0:core}NumericOID" minOccurs="0"/> 34 * <element name="response" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> 35 * </sequence> 36 * </extension> 37 * </complexContent> 38 * </complexType> 39 * </pre> 40 * 41 * 42 */ 43 @XmlAccessorType(XmlAccessType.FIELD) 44 @XmlType(name = "ExtendedResponse", propOrder = { 45 "responseName", 46 "response" 47 }) 48 public class ExtendedResponse 49 extends LDAPResult 50 { 51 52 protected String responseName; 53 protected Object response; 54 55 /** 56 * Gets the value of the responseName property. 57 * 58 * @return 59 * possible object is 60 * {@link String } 61 * 62 */ 63 public String getResponseName() { 64 return responseName; 65 } 66 67 /** 68 * Sets the value of the responseName property. 69 * 70 * @param value 71 * allowed object is 72 * {@link String } 73 * 74 */ 75 public void setResponseName(String value) { 76 this.responseName = value; 77 } 78 79 /** 80 * Gets the value of the response property. 81 * 82 * @return 83 * possible object is 84 * {@link Object } 85 * 86 */ 87 public Object getResponse() { 88 return response; 89 } 90 91 /** 92 * Sets the value of the response property. 93 * 94 * @param value 95 * allowed object is 96 * {@link Object } 97 * 98 */ 99 public void setResponse(Object value) { 100 this.response = value; 101 } 102 103 }