|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dukascopy.api.indicators.InputParameterInfo
public class InputParameterInfo
Describes indicator input
| 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 | |
|---|---|
IIndicators.AppliedPrice |
getAppliedPrice()
Returns default applied price to use |
Filter |
getFilter()
Returns filter of this input or null if no filter was set |
Instrument |
getInstrument()
Returns instrument of this input, or null if no instrument was set |
String |
getName()
Returns name of the input |
OfferSide |
getOfferSide()
Returns side of this input, or null if it was not set |
Period |
getPeriod()
Returns period of this input if it was set, or null if period of the chart should be used |
InputParameterInfo.Type |
getType()
Returns type of the input |
void |
setAppliedPrice(IIndicators.AppliedPrice appliedPrice)
Sets default applied price to use |
void |
setFilter(Filter filter)
Sets filter of this input. |
void |
setInstrument(Instrument instrument)
Sets instrument of this input. |
void |
setName(String name)
Sets name of the input |
void |
setOfferSide(OfferSide side)
Sets side of this input. |
void |
setPeriod(Period period)
Sets period of this 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 |
|---|
public InputParameterInfo()
public InputParameterInfo(String name,
InputParameterInfo.Type type)
name - name of the inputtype - type of the input| Method Detail |
|---|
public String getName()
public void setName(String name)
name - of the inputpublic InputParameterInfo.Type getType()
public void setType(InputParameterInfo.Type type)
type - type of the inputpublic IIndicators.AppliedPrice getAppliedPrice()
public void setAppliedPrice(IIndicators.AppliedPrice appliedPrice)
appliedPrice - default applied price to usepublic OfferSide getOfferSide()
public void setOfferSide(OfferSide side)
side - public Period getPeriod()
public void setPeriod(Period period)
period - period of the inputpublic Instrument getInstrument()
public void setInstrument(Instrument instrument)
instrument - instrument of the inputpublic Filter getFilter()
public void setFilter(Filter filter)
filter - filter of the input
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||