net.ivoa.xml.vodataservice.v1
Class ParamHTTP

java.lang.Object
  extended by net.ivoa.xml.voresource.v1.Interface
      extended by net.ivoa.xml.vodataservice.v1.ParamHTTP

public class ParamHTTP
extends Interface

Note that the URL for help with this service can be put into the Service/ReferenceURL element.

Java class for ParamHTTP complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ParamHTTP">
   <complexContent>
     <extension base="{http://www.ivoa.net/xml/VOResource/v1.0}Interface">
       <sequence>
         <element name="queryType" type="{http://www.ivoa.net/xml/VODataService/v1.0}HTTPQueryType" minOccurs="0"/>
         <element name="resultType" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="param" type="{http://www.ivoa.net/xml/VODataService/v1.0}InputParam" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<InputParam> param
           
protected  HTTPQueryType queryType
           
protected  java.lang.String resultType
           
 
Fields inherited from class net.ivoa.xml.voresource.v1.Interface
accessURL, role, securityMethod, version
 
Constructor Summary
ParamHTTP()
           
 
Method Summary
 java.util.List<InputParam> getParam()
          Gets the value of the param property.
 HTTPQueryType getQueryType()
          Gets the value of the queryType property.
 java.lang.String getResultType()
          Gets the value of the resultType property.
 void setQueryType(HTTPQueryType value)
          Sets the value of the queryType property.
 void setResultType(java.lang.String value)
          Sets the value of the resultType property.
 
Methods inherited from class net.ivoa.xml.voresource.v1.Interface
getAccessURL, getRole, getSecurityMethod, getVersion, setRole, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

queryType

protected HTTPQueryType queryType

resultType

protected java.lang.String resultType

param

protected java.util.List<InputParam> param
Constructor Detail

ParamHTTP

public ParamHTTP()
Method Detail

getQueryType

public HTTPQueryType getQueryType()
Gets the value of the queryType property.

Returns:
possible object is HTTPQueryType

setQueryType

public void setQueryType(HTTPQueryType value)
Sets the value of the queryType property.

Parameters:
value - allowed object is HTTPQueryType

getResultType

public java.lang.String getResultType()
Gets the value of the resultType property.

Returns:
possible object is String

setResultType

public void setResultType(java.lang.String value)
Sets the value of the resultType property.

Parameters:
value - allowed object is String

getParam

public java.util.List<InputParam> getParam()
Gets the value of the param property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the param property.

For example, to add a new item, do as follows:

    getParam().add(newItem);
 

Objects of the following type(s) are allowed in the list InputParam



Copyright © 2011 VAMDC. All Rights Reserved.