Record Class SymbolRegistryEnrichmentResultEntry

java.lang.Object
java.lang.Record
com.bluebell.greenhouse.osmosis.models.symbol.SymbolRegistryEnrichmentResultEntry
Record Components:
ticker - ticker
updated - true when an update was applied
needsReview - true when the symbol still requires review
notes - notes
issues - issues

public record SymbolRegistryEnrichmentResultEntry(String ticker, boolean updated, boolean needsReview, String notes, List<String> issues) extends Record
Result entry for a single symbol enrichment attempt.
Version:
1.0.9
Author:
Stephen Prizio
  • Constructor Details

    • SymbolRegistryEnrichmentResultEntry

      public SymbolRegistryEnrichmentResultEntry(String ticker, boolean updated, boolean needsReview, String notes, List<String> issues)
      Creates an instance of a SymbolRegistryEnrichmentResultEntry record class.
      Parameters:
      ticker - the value for the ticker record component
      updated - the value for the updated record component
      needsReview - the value for the needsReview record component
      notes - the value for the notes record component
      issues - the value for the issues record component
  • 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.
    • ticker

      public String ticker()
      Returns the value of the ticker record component.
      Returns:
      the value of the ticker record component
    • updated

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

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

      public String notes()
      Returns the value of the notes record component.
      Returns:
      the value of the notes record component
    • issues

      public List<String> issues()
      Returns the value of the issues record component.
      Returns:
      the value of the issues record component