Record Class SymbolAliasService.SymbolRegistryAliasContext
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.radicle.services.symbol.SymbolAliasService.SymbolRegistryAliasContext
- Record Components:
ticker- symbol tickerexchangeMic- exchange MICtype- symbol typealias- registry alias
- Enclosing class:
SymbolAliasService
public static record SymbolAliasService.SymbolRegistryAliasContext(String ticker, String exchangeMic, SymbolType type, SymbolRegistryAliasEntry alias)
extends Record
Registry alias context.
- Version:
- 3.0.6
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionSymbolRegistryAliasContext(String ticker, String exchangeMic, SymbolType type, SymbolRegistryAliasEntry alias) Creates an instance of aSymbolRegistryAliasContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionalias()Returns the value of thealiasrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexchangeMicrecord component.final inthashCode()Returns a hash code value for this object.ticker()Returns the value of thetickerrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
SymbolRegistryAliasContext
public SymbolRegistryAliasContext(String ticker, String exchangeMic, SymbolType type, SymbolRegistryAliasEntry alias) Creates an instance of aSymbolRegistryAliasContextrecord class.- Parameters:
ticker- the value for thetickerrecord componentexchangeMic- the value for theexchangeMicrecord componenttype- the value for thetyperecord componentalias- the value for thealiasrecord component
-
-
Method Details
-
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). -
ticker
-
exchangeMic
Returns the value of theexchangeMicrecord component.- Returns:
- the value of the
exchangeMicrecord component
-
type
-
alias
-