View Javadoc

1   /*
2    *  soapUI, copyright (C) 2004-2010 eviware.com 
3    *
4    *  soapUI is free software; you can redistribute it and/or modify it under the 
5    *  terms of version 2.1 of the GNU Lesser General Public License as published by 
6    *  the Free Software Foundation.
7    *
8    *  soapUI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without 
9    *  even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
10   *  See the GNU Lesser General Public License for more details at gnu.org.
11   */
12  
13  package com.eviware.soapui.impl.rest.support;
14  
15  import javax.xml.namespace.QName;
16  
17  public interface RestParameter
18  {
19  	String getName();
20  
21  	void setName( String name );
22  
23  	String getDescription();
24  
25  	void setDescription( String description );
26  
27  	XmlBeansRestParamsTestPropertyHolder.ParameterStyle getStyle();
28  
29  	void setStyle( XmlBeansRestParamsTestPropertyHolder.ParameterStyle style );
30  
31  	String getValue();
32  
33  	void setValue( String value );
34  
35  	boolean isReadOnly();
36  
37  	String getDefaultValue();
38  
39  	String[] getOptions();
40  
41  	boolean getRequired();
42  
43  	QName getType();
44  
45  	void setOptions( String[] arg0 );
46  
47  	void setRequired( boolean arg0 );
48  
49  	void setType( QName arg0 );
50  
51  	void setDefaultValue( String default1 );
52  }