java.lang.Object
com.vaadin.appsec.backend.model.osv.response.Range

public class Range extends Object
DTO for the OSV API range property.
  • Constructor Details

    • Range

      public Range()
      No args constructor for use in serialization.
    • Range

      public Range(Range.Type type, String repo, List<Event> events, DatabaseSpecific databaseSpecific)
      Instantiates a new range.
      Parameters:
      type - the type
      repo - the repo
      events - the events
      databaseSpecific - the database specific
  • Method Details

    • getType

      public Range.Type getType()
      Gets the type.
      Returns:
      the type
    • setType

      public void setType(Range.Type type)
      Sets the type.
      Parameters:
      type - the new type
    • getRepo

      public String getRepo()
      Gets the repo.
      Returns:
      the repo
    • setRepo

      public void setRepo(String repo)
      Sets the repo.
      Parameters:
      repo - the new repo
    • getEvents

      public List<Event> getEvents()
      Gets the events.
      Returns:
      the events
    • setEvents

      public void setEvents(List<Event> events)
      Sets the events.
      Parameters:
      events - the new events
    • getDatabaseSpecific

      public DatabaseSpecific getDatabaseSpecific()
      Gets the database specific.
      Returns:
      the database specific
    • setDatabaseSpecific

      public void setDatabaseSpecific(DatabaseSpecific databaseSpecific)
      Sets the database specific.
      Parameters:
      databaseSpecific - the new database specific
    • toString

      public String toString()
      Overrides:
      toString in class Object