Class Strategy
- java.lang.Object
-
- tech.cassandre.trading.bot.util.base.domain.BaseDomain
-
- tech.cassandre.trading.bot.domain.Strategy
-
@Entity public class Strategy extends BaseDomain
Strategy.
-
-
Constructor Summary
Constructors Constructor Description Strategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
ExchangeAccount
getExchangeAccount()
Exchange account used by the strategy.Long
getId()
Technical ID.String
getName()
Strategy name.String
getStrategyId()
An identifier that uniquely identifies the strategy.StrategyTypeDTO
getType()
Strategy type.int
hashCode()
void
setExchangeAccount(ExchangeAccount exchangeAccount)
Exchange account used by the strategy.void
setId(Long id)
Technical ID.void
setName(String name)
Strategy name.void
setStrategyId(String strategyId)
An identifier that uniquely identifies the strategy.void
setType(StrategyTypeDTO type)
Strategy type.String
toString()
-
Methods inherited from class tech.cassandre.trading.bot.util.base.domain.BaseDomain
canEqual, getCreatedOn, getUpdatedOn, setCreatedOn, setUpdatedOn
-
-
-
-
Method Detail
-
equals
public final boolean equals(Object o)
- Overrides:
equals
in classBaseDomain
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classBaseDomain
-
getId
public Long getId()
Technical ID.
-
getStrategyId
public String getStrategyId()
An identifier that uniquely identifies the strategy.
-
getType
public StrategyTypeDTO getType()
Strategy type.
-
getExchangeAccount
public ExchangeAccount getExchangeAccount()
Exchange account used by the strategy.
-
getName
public String getName()
Strategy name.
-
setId
public void setId(Long id)
Technical ID.
-
setStrategyId
public void setStrategyId(String strategyId)
An identifier that uniquely identifies the strategy.
-
setType
public void setType(StrategyTypeDTO type)
Strategy type.
-
setExchangeAccount
public void setExchangeAccount(ExchangeAccount exchangeAccount)
Exchange account used by the strategy.
-
setName
public void setName(String name)
Strategy name.
-
toString
public String toString()
- Overrides:
toString
in classBaseDomain
-
-