Skip to main content
summaryrefslogtreecommitdiffstats
blob: e5a281e98a600af60709e4f6e49dbee55835d393 (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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
/*******************************************************************************
 * Copyright (c) 2006 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 * yyyymmdd   bug     Email and other contact information
 * -------- -------- -----------------------------------------------------------
 * 20060329   127016 andyzhai@ca.ibm.com - Andy Zhai
 *******************************************************************************/
package org.eclipse.jst.ws.internal.axis.consumption.core.context;

public interface AxisEmitterContext {
	/**
	 * This constant string is used to lookup the all_wanted general preference
	 * from the plugins local preferences store.
	 */
	public static final String PREFERENCE_ALL_WANTED = "allWanted";

	/**
	 * This constant string is used to lookup the helper_wanted general
	 * preference from the plugins local preferences store.
	 */
	public static final String PREFERENCE_HELPER_WANTED = "helperWanted";

	/**
	 * This constant string is used to lookup the wrap_arrays general preference
	 * from the plugins local preferences store.
	 */
	public static final String PREFERENCE_WRAP_ARRAYS = "wrapArrays";

	/**
	 * This constant string is used to lookup the deploy_scope general
	 * preference from the plugins local preferences store.
	 */
	public static final String PREFERENCE_DEPLOY_SCOPE = "deployScope";

	/**
	 * This constant string is used to lookup the time_out general preference
	 * from the plugins local preferences store.
	 */
	public static final String PREFERENCE_TIME_OUT = "timeOut";

	/*
	 * Ensure the order is the same as it in deployScopeTypes.setItems(...) for
	 * class
	 * org.eclipse.jst.ws.internal.axis.consumption.ui.preferences.AxisEmitterPreferencePage.
	 */
	public static final int DEPLOY_SCOPE_TYPE_APPLICATION = 0;

	public static final int DEPLOY_SCOPE_TYPE_REQUEST = 1;

	public static final int DEPLOY_SCOPE_TYPE_SESSTION = 2;

	/**
	 * This constant string is used to lookup the use_inherited_methods general
	 * preference from the plugins local preferences store.
	 */
	public static final String PREFERENCE_USE_INHERITED_METHODS = "useInheritedMethods";
	
	/**
	 * This constant string is used to lookup the "validate against JAXRPC"
	 * preference from the plugins local preferences store.
	 */
	public static final String PREFERENCE_VALIDATE_AGAINST_JAXRPC = "validateAgainstJAXRPC";

	/**
	 * 
	 * @param enable
	 *            set whether generating code for all elements is enabled.
	 */
	public void setAllWantedEnabled(boolean enable);

	/**
	 * 
	 * @return returns whether generating code for all elements is enabled.
	 */
	public boolean isAllWantedEnabled();

	/**
	 * 
	 * @param enable
	 *            set whether emitting separate Helper classes for meta data is
	 *            enabled.
	 */
	public void setHelperWantedEnabled(boolean enable);

	/**
	 * 
	 * @param returns
	 *            whether emitting separate Helper classes for meta data is
	 *            enabled.
	 */
	public boolean isHelperWantedEnabled();

	/**
	 * 
	 * @param enable
	 *            set whether wrapping arrays is enabled.
	 */

	public void setWrapArraysEnabled(boolean enable);

	/**
	 * 
	 * @param returns
	 *            whether wrapping arrays is enabled.
	 */

	public boolean isWrapArraysEnabled();

	/**
	 * 
	 * @param enable
	 *            set whether using inherited methods is enabled.
	 */
	public void setUseInheritedMethodsEnabled(boolean enable);

	/**
	 * 
	 * @param returns
	 *            whether using inherited methods is enabled.
	 */

	public boolean isUseInheritedMethodsEnabled();

	/**
	 * 
	 * @param enable
	 *            set whether JAX-RPC analysis of the service class is enabled.
	 */
	public void setValidateAgainstJAXRPCEnabled(boolean enable);

	/**
	 * 
	 * @param returns
	 *            whether JAX-RPC analysis of the service class is enabled.
	 */

	public boolean isValidateAgainstJAXRPCEnabled();

	/**
	 * 
	 * @param selection
	 *            set the deploy scope type.
	 */

	public void selectDeployScopeType(int selection);

	/**
	 * 
	 * @param returns
	 *            the deploy scope type.
	 */

	public int getDeployScopeType();

	/**
	 * 
	 * @param seconds
	 *            set the time out.
	 */

	public void setTimeOut(int seconds);

	/**
	 * 
	 * @param returns
	 *            the time out.
	 */

	public int getTimeOut();

	/**
	 * 
	 * @return returns a copy of this AxisEmitterContext.
	 */
}

Back to the top