Skip to main content
summaryrefslogtreecommitdiffstats
blob: f9ad3c01025db10ed595beb8dfbb8c6dda91dc92 (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
/*******************************************************************************
 * 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 class AxisEmitterDefaults
{
 private static final boolean PREFERENCE_ALL_WANTED_DEFAULT = false;
 private static final boolean PREFERENCE_HELPER_WANTED_DEFAULT = false;
 private static final boolean PREFERENCE_WRAP_ARRAYS_DEFAULT = false;
 private static final boolean PREFERENCE_USE_INHERITED_METHODS_DEFAULT = false;
 private static final int DEPLOY_SCOPE_DEFAULT = AxisEmitterContext.DEPLOY_SCOPE_TYPE_REQUEST;
 private static final int TIME_OUT_DEFAULT = 45;
 
 /**
  * 
  * @return returns the default setting for generating code for all elements.
  */
 public static boolean getAllWantedDefault ()
 {
 	return PREFERENCE_ALL_WANTED_DEFAULT;
 }
 
 /**
  * 
  * @return returns the default setting for emitting seperate helpser class for metadata.
  */
 public static boolean getHelperWantedDefault ()
 { 
	return PREFERENCE_HELPER_WANTED_DEFAULT;
 }

 /**
  * 
  * @return returns the default seting for wrapping arrays.
  */
 public static boolean getWrapArraysDefault()
 {
	return PREFERENCE_WRAP_ARRAYS_DEFAULT;
 }
 
 /**
  * 
  * @return returns the default setting for using inherited methods.
  */
 public static boolean getUseInheritedMethodsDefault()
 {
	return PREFERENCE_USE_INHERITED_METHODS_DEFAULT;
 }
 
 /**
  * 
  * @return returns the default setting for deploy scope type.
  */
 public static int getDeployScopeDefault()
 {
	 return DEPLOY_SCOPE_DEFAULT;
 }
 
 /**
  * 
  * @return returns the default setting for time out.
  */
 public static int getTimeOutDefault()
 {
	 return TIME_OUT_DEFAULT;
 }
}

Back to the top