Class DocumentEntry

java.lang.Object
de.bcxp.challenge.common.model.DocumentEntry
Direct Known Subclasses:
CountryEntry, WeatherEntry

public abstract class DocumentEntry extends Object
Represents an abstract entry within a Document.
Subclasses can extend this to represent various types of document entries.
  • Field Details

    • logger

      private static final org.apache.logging.log4j.Logger logger
    • id

      private final String id
  • Constructor Details

    • DocumentEntry

      protected DocumentEntry(String id)
      Constructs a new DocumentEntry with the specified ID.
      Parameters:
      id - the string representation of the entry's unique identifier
  • Method Details

    • getId

      public String getId()