com.dukascopy.api.indicators
Class OptInputParameterInfo

java.lang.Object
  extended by com.dukascopy.api.indicators.OptInputParameterInfo

public class OptInputParameterInfo
extends Object

Describes optional input

Author:
Dmitry Shohov

Nested Class Summary
static class OptInputParameterInfo.Type
          Type of the optional input
 
Constructor Summary
OptInputParameterInfo()
          Creates descriptor without setting any field
OptInputParameterInfo(String name, OptInputParameterInfo.Type type, OptInputDescription description)
          Creates descriptor and sets all the fields
 
Method Summary
 OptInputDescription getDescription()
          Returns object that describes possible values of the optional input
 String getName()
          Returns name of the optional input
 OptInputParameterInfo.Type getType()
          Returns type of the optional input
 void setDescription(OptInputDescription description)
          Sets object that describes possible values of the optional input
 void setName(String name)
          Sets name of the optional input
 void setType(OptInputParameterInfo.Type type)
          Sets type of the optional input
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptInputParameterInfo

public OptInputParameterInfo()
Creates descriptor without setting any field


OptInputParameterInfo

public OptInputParameterInfo(String name,
                             OptInputParameterInfo.Type type,
                             OptInputDescription description)
Creates descriptor and sets all the fields

Parameters:
name - name of the optional input
type - type of the optional input
description - object that describes possible values of the optional input
See Also:
IntegerListDescription, IntegerRangeDescription, DoubleListDescription, DoubleRangeDescription
Method Detail

getName

public String getName()
Returns name of the optional input

Returns:
name of the optional input

setName

public void setName(String name)
Sets name of the optional input

Parameters:
name - name of the optional input

getType

public OptInputParameterInfo.Type getType()
Returns type of the optional input

Returns:
type of the optional input

setType

public void setType(OptInputParameterInfo.Type type)
Sets type of the optional input

Parameters:
type - type of the optional input

getDescription

public OptInputDescription getDescription()
Returns object that describes possible values of the optional input

Returns:
object that describes possible values of the optional input

setDescription

public void setDescription(OptInputDescription description)
Sets object that describes possible values of the optional input

Parameters:
description - object that describes possible values of the optional input


Copyright © 2009. All Rights Reserved.