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.XmlAttribute;
21 import javax.xml.bind.annotation.XmlType;
22
23
24 /**
25 * <p>Java class for AuthRequest complex type.
26 *
27 * <p>The following schema fragment specifies the expected content contained within this class.
28 *
29 * <pre>
30 * <complexType name="AuthRequest">
31 * <complexContent>
32 * <extension base="{urn:oasis:names:tc:DSML:2:0:core}DsmlMessage">
33 * <attribute name="principal" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
34 * </extension>
35 * </complexContent>
36 * </complexType>
37 * </pre>
38 *
39 *
40 */
41 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name = "AuthRequest")
43 public class AuthRequest
44 extends DsmlMessage
45 {
46
47 @XmlAttribute(name = "principal", required = true)
48 protected String principal;
49
50 /**
51 * Gets the value of the principal property.
52 *
53 * @return
54 * possible object is
55 * {@link String }
56 *
57 */
58 public String getPrincipal() {
59 return principal;
60 }
61
62 /**
63 * Sets the value of the principal property.
64 *
65 * @param value
66 * allowed object is
67 * {@link String }
68 *
69 */
70 public void setPrincipal(String value) {
71 this.principal = value;
72 }
73
74 }