Record Class SymbolAnalysisProfileDTO
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.sol.models.dto.services.symbolanalysis.SymbolAnalysisProfileDTO
- Record Components:
category- registry categoryticker- symbol tickerexchange- exchange valuewebsite- issuer or fund websitedescription- issuer or fund descriptionsourceUrl- page URL used for the metadata
- All Implemented Interfaces:
GenericIntegrationDTO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncategory()Returns the value of thecategoryrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.exchange()Returns the value of theexchangerecord component.final inthashCode()Returns a hash code value for this object.booleanisEmpty()Returns true when no profile metadata was extracted.Returns the value of thesourceUrlrecord component.ticker()Returns the value of thetickerrecord component.final StringtoString()Returns a string representation of this record class.website()Returns the value of thewebsiterecord component.
-
Constructor Details
-
SymbolAnalysisProfileDTO
public SymbolAnalysisProfileDTO(String category, String ticker, String exchange, String website, String description, String sourceUrl) Creates an instance of aSymbolAnalysisProfileDTOrecord class.- Parameters:
category- the value for thecategoryrecord componentticker- the value for thetickerrecord componentexchange- the value for theexchangerecord componentwebsite- the value for thewebsiterecord componentdescription- the value for thedescriptionrecord componentsourceUrl- the value for thesourceUrlrecord component
-
-
Method Details
-
isEmpty
public boolean isEmpty()Returns true when no profile metadata was extracted.- Specified by:
isEmptyin interfaceGenericIntegrationDTO- Returns:
- boolean
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
category
-
ticker
-
exchange
-
website
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
sourceUrl
-