com.dukascopy.api.indicators
Class InputParameterInfo

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

public class InputParameterInfo
extends Object

Describes indicator input

Author:
Dmitry Shohov

Nested Class Summary
static class InputParameterInfo.Type
          Type of the input
 
Constructor Summary
InputParameterInfo()
          Creates input parameter descriptor without setting any field
InputParameterInfo(String name, InputParameterInfo.Type type)
          Creates input parameter descriptor and sets all the fields
 
Method Summary
 String getName()
          Returns name of the input
 InputParameterInfo.Type getType()
          Returns type of the input
 void setName(String name)
          Sets name of the input
 void setType(InputParameterInfo.Type type)
          Sets type of the input
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputParameterInfo

public InputParameterInfo()
Creates input parameter descriptor without setting any field


InputParameterInfo

public InputParameterInfo(String name,
                          InputParameterInfo.Type type)
Creates input parameter descriptor and sets all the fields

Parameters:
name - name of the input
type - type of the input
Method Detail

getName

public String getName()
Returns name of the input

Returns:
name of the input

setName

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

Parameters:
name - of the input

getType

public InputParameterInfo.Type getType()
Returns type of the input

Returns:
type of the input

setType

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

Parameters:
type - type of the input


Copyright © 2009. All Rights Reserved.