Class Affected
java.lang.Object
com.vaadin.appsec.backend.model.osv.response.Affected
DTO for information on dependencies affected by vulnerabilities.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the database specific.Gets the ecosystem specific.Gets the package.Gets the ranges.Gets the severity.Gets the versions.voidsetDatabaseSpecific(DatabaseSpecific databaseSpecific) Sets the database specific.voidsetEcosystemSpecific(EcosystemSpecific ecosystemSpecific) Sets the ecosystem specific.voidsetPackage(Package aPackage) Sets the package.voidSets the ranges.voidsetSeverity(List<Severity> severity) Sets the severity.voidsetVersions(List<String> versions) Sets the versions.toString()
-
Constructor Details
-
Affected
public Affected()No args constructor for use in serialization. -
Affected
public Affected(Package aPackage, List<Severity> severity, List<Range> ranges, List<String> versions, EcosystemSpecific ecosystemSpecific, DatabaseSpecific databaseSpecific) Creates a new instance.- Parameters:
aPackage- the a packageseverity- the severityranges- the rangesversions- the versionsecosystemSpecific- the ecosystem specificdatabaseSpecific- the database specific
-
-
Method Details
-
getPackage
Gets the package.- Returns:
- the package
-
setPackage
Sets the package.- Parameters:
aPackage- the new package
-
getSeverity
Gets the severity.- Returns:
- the severity
-
setSeverity
Sets the severity.- Parameters:
severity- the new severity
-
getRanges
Gets the ranges.- Returns:
- the ranges
-
setRanges
Sets the ranges.- Parameters:
ranges- the new ranges
-
getVersions
Gets the versions.- Returns:
- the versions
-
setVersions
Sets the versions.- Parameters:
versions- the new versions
-
getEcosystemSpecific
Gets the ecosystem specific.- Returns:
- the ecosystem specific
-
setEcosystemSpecific
Sets the ecosystem specific.- Parameters:
ecosystemSpecific- the new ecosystem specific
-
getDatabaseSpecific
Gets the database specific.- Returns:
- the database specific
-
setDatabaseSpecific
Sets the database specific.- Parameters:
databaseSpecific- the new database specific
-
toString
-