org.genepattern.webservice
Class Parameter

java.lang.Object
  extended byorg.genepattern.webservice.Parameter

public class Parameter
extends java.lang.Object

A job input parameter name-value pair.


Constructor Summary
Parameter(java.lang.String name, double value)
          Creates a new Parameter instance.
Parameter(java.lang.String name, java.io.File value)
          Creates a new Parameter instance.
Parameter(java.lang.String name, int value)
          Creates a new Parameter instance.
Parameter(java.lang.String name, java.lang.String value)
          Creates a new Parameter instance.
 
Method Summary
 java.lang.String getName()
          Gets the name of this parameter.
 java.lang.String getValue()
          Gets the value of this parameter.
 java.lang.String toString()
          Returns a string representation of this parameter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Parameter

public Parameter(java.lang.String name,
                 java.lang.String value)
Creates a new Parameter instance.

Parameters:
name - The parameter name.
value - The parameter value, as a string.

Parameter

public Parameter(java.lang.String name,
                 double value)
Creates a new Parameter instance.

Parameters:
name - The parameter name.
value - The parameter value, as a double.

Parameter

public Parameter(java.lang.String name,
                 int value)
Creates a new Parameter instance.

Parameters:
name - The parameter name.
value - The parameter value, as an integer.

Parameter

public Parameter(java.lang.String name,
                 java.io.File value)
          throws java.io.IOException,
                 java.lang.SecurityException
Creates a new Parameter instance.

Parameters:
name - The parameter name.
value - The parameter value, as a file. The argument is converted to a string representation by invoking getCanonicalPath on the argument.
Throws:
java.io.IOException - If an I/O error occurs, which is possible because the construction of the canonical pathname may require filesystem queries.
java.lang.SecurityException - If a required system property value cannot be accessed.
Method Detail

getName

public java.lang.String getName()
Gets the name of this parameter.

Returns:
The name

getValue

public java.lang.String getValue()
Gets the value of this parameter.

Returns:
The value

toString

public java.lang.String toString()
Returns a string representation of this parameter.

Returns:
a string representation of this parameter.


Hosted by docs.bugaco.com