/
BaseRegisterResponseType.java
100 lines (87 loc) · 2.59 KB
/
BaseRegisterResponseType.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
package com.sun.xml.ws.tx.coord.common.types;
import java.util.List;
import java.util.Map;
import javax.xml.namespace.QName;
import javax.xml.ws.EndpointReference;
import org.w3c.dom.Element;
/**
* <p>Java class for RegisterResponseType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="RegisterResponseType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CoordinatorProtocolService" type="{http://www.w3.org/2005/08/addressing}EndpointReferenceType"/>
* <any/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
public abstract class BaseRegisterResponseType<T extends EndpointReference,K> {
protected K delegate;
protected BaseRegisterResponseType(K delegate) {
this.delegate = delegate;
}
/**
* Gets the value of the coordinatorProtocolService property.
*
* @return
* possible object is
* {@link EndpointReference }
*
*/
public abstract T getCoordinatorProtocolService();
/**
* Sets the value of the coordinatorProtocolService property.
*
* @param value
* allowed object is
* {@link EndpointReference }
*
*/
public abstract void setCoordinatorProtocolService(T value);
/**
* Gets the value of the any property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link org.w3c.dom.Element }
* {@link Object }
*
*
*/
public abstract List<Object> getAny();
public abstract Map<QName, String> getOtherAttributes();
public K getDelegate() {
return delegate;
}
}