Record Class SymbolAnalysisDataStateDTO
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.api.dto.symbol.analysis.SymbolAnalysisDataStateDTO
- Record Components:
marketPricesAvailable- market prices availablesufficientStatisticsData- sufficient statistics datasentimentAvailable- sentiment availablestrategySignalsAvailable- strategy signals availableeventDataAvailable- event data availablenotes- notes
-
Constructor Summary
ConstructorsConstructorDescriptionSymbolAnalysisDataStateDTO(boolean marketPricesAvailable, boolean sufficientStatisticsData, boolean sentimentAvailable, boolean strategySignalsAvailable, boolean eventDataAvailable, List<String> notes) Creates an instance of aSymbolAnalysisDataStateDTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic SymbolAnalysisDataStateDTOempty()Creates an empty DTO shell.final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theeventDataAvailablerecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of themarketPricesAvailablerecord component.notes()Returns the value of thenotesrecord component.booleanReturns the value of thesentimentAvailablerecord component.booleanReturns the value of thestrategySignalsAvailablerecord component.booleanReturns the value of thesufficientStatisticsDatarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SymbolAnalysisDataStateDTO
public SymbolAnalysisDataStateDTO(boolean marketPricesAvailable, boolean sufficientStatisticsData, boolean sentimentAvailable, boolean strategySignalsAvailable, boolean eventDataAvailable, List<String> notes) Creates an instance of aSymbolAnalysisDataStateDTOrecord class.- Parameters:
marketPricesAvailable- the value for themarketPricesAvailablerecord componentsufficientStatisticsData- the value for thesufficientStatisticsDatarecord componentsentimentAvailable- the value for thesentimentAvailablerecord componentstrategySignalsAvailable- the value for thestrategySignalsAvailablerecord componenteventDataAvailable- the value for theeventDataAvailablerecord componentnotes- the value for thenotesrecord component
-
-
Method Details
-
empty
Creates an empty DTO shell.- Returns:
SymbolAnalysisDataStateDTO
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
marketPricesAvailable
public boolean marketPricesAvailable()Returns the value of themarketPricesAvailablerecord component.- Returns:
- the value of the
marketPricesAvailablerecord component
-
sufficientStatisticsData
public boolean sufficientStatisticsData()Returns the value of thesufficientStatisticsDatarecord component.- Returns:
- the value of the
sufficientStatisticsDatarecord component
-
sentimentAvailable
public boolean sentimentAvailable()Returns the value of thesentimentAvailablerecord component.- Returns:
- the value of the
sentimentAvailablerecord component
-
strategySignalsAvailable
public boolean strategySignalsAvailable()Returns the value of thestrategySignalsAvailablerecord component.- Returns:
- the value of the
strategySignalsAvailablerecord component
-
eventDataAvailable
public boolean eventDataAvailable()Returns the value of theeventDataAvailablerecord component.- Returns:
- the value of the
eventDataAvailablerecord component
-
notes
-