Class Range
java.lang.Object
com.vaadin.appsec.backend.model.osv.response.Range
DTO for the OSV API range property.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionRange()No args constructor for use in serialization.Range(Range.Type type, String repo, List<Event> events, DatabaseSpecific databaseSpecific) Instantiates a new range. -
Method Summary
Modifier and TypeMethodDescriptionGets the database specific.Gets the events.getRepo()Gets the repo.getType()Gets the type.voidsetDatabaseSpecific(DatabaseSpecific databaseSpecific) Sets the database specific.voidSets the events.voidSets the repo.voidsetType(Range.Type type) Sets the type.toString()
-
Constructor Details
-
Range
public Range()No args constructor for use in serialization. -
Range
Instantiates a new range.- Parameters:
type- the typerepo- the repoevents- the eventsdatabaseSpecific- the database specific
-
-
Method Details
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-
getRepo
Gets the repo.- Returns:
- the repo
-
setRepo
Sets the repo.- Parameters:
repo- the new repo
-
getEvents
Gets the events.- Returns:
- the events
-
setEvents
Sets the events.- Parameters:
events- the new events
-
getDatabaseSpecific
Gets the database specific.- Returns:
- the database specific
-
setDatabaseSpecific
Sets the database specific.- Parameters:
databaseSpecific- the new database specific
-
toString
-