view WebServiceToolWorkflow/lib/SAWADLParser/src/javax/wadls/PreCondition.java @ 0:d5cd409b8a18 default tip

Migrated tool version 1.0.0 from old tool shed archive to new tool shed repository
author ganjoo
date Tue, 07 Jun 2011 18:00:50 -0400
parents
children
line wrap: on
line source


package javax.wadls;



import org.w3c.dom.Element;

/**
 * This interface represents a precondition.
 *
 * @author Zixin Wu
 */
public interface PreCondition extends java.io.Serializable,ModelReferenceExtensible
{
		
	/**
	 * Set the expression of this precondition.
	 *
	 * @param expression The desired expression.
	 */
	public void setExpression(String expression);
	
	/**
	 * Get the expression of this precondition.
	 *
	 * @return The expression.
	 */
	public String getExpression();
	
    public void setName(String name);
	
	/**
	 * Get the name of this precondition.
	 *
	 * @return the precondition name
	 */
	public String getName();
	
	public void setDocumentationElement(Element docEl);
	
	/**
	 * Get the documentation element. This dependency on org.w3c.dom.Element
	 * should eventually be removed when a more appropriate way of
	 * representing this information is employed.
	 *
	 * @return the documentation element
	 */
	public Element getDocumentationElement();
}