/******************************************************************************* | |
* Copyright (c) 2009 by SAP AG, Walldorf. | |
* 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: | |
* SAP AG - initial API and implementation | |
*******************************************************************************/ | |
package org.eclipse.jst.ws.jaxws.dom.runtime.validation.webmethod; | |
import org.eclipse.emf.validation.model.ConstraintSeverity; | |
import org.eclipse.jst.ws.jaxws.dom.runtime.internal.plugin.JaxWsDomRuntimePlugin; | |
import org.eclipse.jst.ws.jaxws.dom.runtime.validation.DomValidationConstraintDescriptor; | |
import org.eclipse.jst.ws.jaxws.utils.dom.validation.DomValidationConstants; | |
class WmConstraintDescriptor extends DomValidationConstraintDescriptor | |
{ | |
public String getId() { | |
return DomValidationConstants.WM_CONSTRAINT_ID; | |
} | |
public String getPluginId() { | |
return JaxWsDomRuntimePlugin.PLUGIN_ID; | |
} | |
public ConstraintSeverity getSeverity() { | |
return ConstraintSeverity.ERROR; | |
} | |
public int getStatusCode() { | |
return -27; | |
} | |
} |