blob: a5518b28b98334e1e2cf54160063165f1faab864 (
plain) (
blame)
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
|
/*******************************************************************************
* Copyright (c) 2002, 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.wst.ws.internal.explorer.platform.wsdl.fragment;
import org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.FragmentConstants;
import org.eclipse.xsd.XSDComponent;
public class XSDToFragmentConfiguration {
private XSDComponent component_;
private int minOccurs_;
private int maxOccurs_;
private int style_;
private int partEncoding_;
private boolean isWSDLPart_;
private String wsdlPartName_;
public XSDToFragmentConfiguration() {
component_ = null;
minOccurs_ = FragmentConstants.DEFAULT_MIN_OCCURS;
maxOccurs_ = FragmentConstants.DEFAULT_MAX_OCCURS;
style_ = FragmentConstants.STYLE_DOCUMENT;
partEncoding_ = FragmentConstants.ENCODING_LITERAL;
isWSDLPart_ = false;
wsdlPartName_ = null;
}
public void setXSDComponent(XSDComponent component) {
component_ = component;
}
public XSDComponent getXSDComponent() {
return component_;
}
public void setMinOccurs(int minOccurs) {
minOccurs_ = minOccurs;
}
public int getMinOccurs() {
return minOccurs_;
}
public void setMaxOccurs(int maxOccurs) {
maxOccurs_ = maxOccurs;
}
public int getMaxOccurs() {
return maxOccurs_;
}
public void setStyle(int style) {
style_ = style;
}
public int getStyle() {
return style_;
}
public void setPartEncoding(int partEncoding) {
partEncoding_ = partEncoding;
}
public int getPartEncoding() {
return partEncoding_;
}
public void setIsWSDLPart(boolean isWSDLPart) {
isWSDLPart_ = isWSDLPart;
}
public boolean getIsWSDLPart() {
return isWSDLPart_;
}
public void setWSDLPartName(String wsdlPartName) {
wsdlPartName_ = wsdlPartName;
}
public String getWSDLPartName() {
return wsdlPartName_;
}
}
|