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)
Long
getId()
Technical ID.String
getName()
Strategy name - Comes from the Java annotation.String
getStrategyId()
An identifier that uniquely identifies the strategy - Comes from the Java annotation.StrategyTypeDTO
getType()
Strategy type - Basic or Ta4j.int
hashCode()
void
setId(Long id)
Technical ID.void
setName(String name)
Strategy name - Comes from the Java annotation.void
setStrategyId(String strategyId)
An identifier that uniquely identifies the strategy - Comes from the Java annotation.void
setType(StrategyTypeDTO type)
Strategy type - Basic or Ta4j.String
toString()
-
Methods inherited from class tech.cassandre.trading.bot.util.base.domain.BaseDomain
getCreatedOn, getUpdatedOn, setCreatedOn, setUpdatedOn
-
-
-
-
Method Detail
-
getId
public Long getId()
Technical ID.
-
getStrategyId
public String getStrategyId()
An identifier that uniquely identifies the strategy - Comes from the Java annotation.
-
getType
public StrategyTypeDTO getType()
Strategy type - Basic or Ta4j.
-
getName
public String getName()
Strategy name - Comes from the Java annotation.
-
setId
public void setId(Long id)
Technical ID.
-
setStrategyId
public void setStrategyId(String strategyId)
An identifier that uniquely identifies the strategy - Comes from the Java annotation.
-
setType
public void setType(StrategyTypeDTO type)
Strategy type - Basic or Ta4j.
-
setName
public void setName(String name)
Strategy name - Comes from the Java annotation.
-
toString
public String toString()
- Overrides:
toString
in classBaseDomain
-
-