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.XmlElement; 21 import javax.xml.bind.annotation.XmlType; 22 23 24 /** 25 * <p>Java class for ExtendedRequest complex type. 26 * 27 * <p>The following schema fragment specifies the expected content contained within this class. 28 * 29 * <pre> 30 * <complexType name="ExtendedRequest"> 31 * <complexContent> 32 * <extension base="{urn:oasis:names:tc:DSML:2:0:core}DsmlMessage"> 33 * <sequence> 34 * <element name="requestName" type="{urn:oasis:names:tc:DSML:2:0:core}NumericOID"/> 35 * <element name="requestValue" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> 36 * </sequence> 37 * </extension> 38 * </complexContent> 39 * </complexType> 40 * </pre> 41 * 42 * 43 */ 44 @XmlAccessorType(XmlAccessType.FIELD) 45 @XmlType(name = "ExtendedRequest", propOrder = { 46 "requestName", 47 "requestValue" 48 }) 49 public class ExtendedRequest 50 extends DsmlMessage 51 { 52 53 @XmlElement(required = true) 54 protected String requestName; 55 protected Object requestValue; 56 57 /** 58 * Gets the value of the requestName property. 59 * 60 * @return 61 * possible object is 62 * {@link String } 63 * 64 */ 65 public String getRequestName() { 66 return requestName; 67 } 68 69 /** 70 * Sets the value of the requestName property. 71 * 72 * @param value 73 * allowed object is 74 * {@link String } 75 * 76 */ 77 public void setRequestName(String value) { 78 this.requestName = value; 79 } 80 81 /** 82 * Gets the value of the requestValue property. 83 * 84 * @return 85 * possible object is 86 * {@link Object } 87 * 88 */ 89 public Object getRequestValue() { 90 return requestValue; 91 } 92 93 /** 94 * Sets the value of the requestValue property. 95 * 96 * @param value 97 * allowed object is 98 * {@link Object } 99 * 100 */ 101 public void setRequestValue(Object value) { 102 this.requestValue = value; 103 } 104 105 }