blob: f9ad3c01025db10ed595beb8dfbb8c6dda91dc92 [file] [log] [blame]
/*******************************************************************************
* 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;
}
}