Record Class ExchangeRegistryEntry

java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.core.nonentities.exchange.ExchangeRegistryEntry
Record Components:
mic - market identifier code
name - exchange name
operator - exchange operator
city - city
country - country code
timezone - timezone
currency - currency ISO code
tradingHours - trading hours
aliases - exchange aliases used by third-party data providers
primaryIndices - primary indices
sourceUrls - sources used to enrich the entry
confidence - enrichment confidence value
needsReview - true when the entry still requires review

public record ExchangeRegistryEntry(String mic, String name, String operator, String city, String country, String timezone, String currency, String tradingHours, List<String> aliases, List<String> primaryIndices, List<String> sourceUrls, Double confidence, boolean needsReview) extends Record
Represents a single entry from the exchange registry JSON document.
Version:
1.0.9
Author:
Stephen Prizio
  • Constructor Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • mic

      public String mic()
      Returns the value of the mic record component.
      Returns:
      the value of the mic record component
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • operator

      public String operator()
      Returns the value of the operator record component.
      Returns:
      the value of the operator record component
    • city

      public String city()
      Returns the value of the city record component.
      Returns:
      the value of the city record component
    • country

      public String country()
      Returns the value of the country record component.
      Returns:
      the value of the country record component
    • timezone

      public String timezone()
      Returns the value of the timezone record component.
      Returns:
      the value of the timezone record component
    • currency

      public String currency()
      Returns the value of the currency record component.
      Returns:
      the value of the currency record component
    • tradingHours

      public String tradingHours()
      Returns the value of the tradingHours record component.
      Returns:
      the value of the tradingHours record component
    • aliases

      public List<String> aliases()
      Returns the value of the aliases record component.
      Returns:
      the value of the aliases record component
    • primaryIndices

      public List<String> primaryIndices()
      Returns the value of the primaryIndices record component.
      Returns:
      the value of the primaryIndices record component
    • sourceUrls

      public List<String> sourceUrls()
      Returns the value of the sourceUrls record component.
      Returns:
      the value of the sourceUrls record component
    • confidence

      public Double confidence()
      Returns the value of the confidence record component.
      Returns:
      the value of the confidence record component
    • needsReview

      public boolean needsReview()
      Returns the value of the needsReview record component.
      Returns:
      the value of the needsReview record component