Package org.spdx.spdx_to_osv.osvmodel
Class OsvVulnerability
java.lang.Object
org.spdx.spdx_to_osv.osvmodel.OsvVulnerability
public class OsvVulnerability extends Object
OSV Vulnerability object as described at https://docs.google.com/document/d/1sylBGNooKtf220RHQn1I8pZRmqXZQADDQ_TOABrKTpA/edit
- Author:
- Gary O'Neall
-
Constructor Summary
Constructors Constructor Description OsvVulnerability()required empty constructor -
Method Summary
-
Constructor Details
-
OsvVulnerability
public OsvVulnerability()required empty constructor
-
-
Method Details
-
getId
- Returns:
- the id
-
setId
- Parameters:
id- the id to set
-
getPublished
- Returns:
- the published
-
setPublished
- Parameters:
published- the published to set
-
getModified
- Returns:
- the modified
-
setModified
- Parameters:
modified- the modified to set
-
getWithdrawn
- Returns:
- the withdrawn
-
setWithdrawn
- Parameters:
withdrawn- the withdrawn to set
-
getAliases
- Returns:
- the aliases
-
setAliases
- Parameters:
aliases- the aliases to set
-
getRelated
- Returns:
- the related
-
setRelated
- Parameters:
related- the related to set
-
getOsvPackage
- Returns:
- the osvPackage
-
setOsvPackage
- Parameters:
osvPackage- the osvPackage to set
-
getSummary
- Returns:
- the summary
-
setSummary
- Parameters:
summary- the summary to set
-
getDetails
- Returns:
- the details
-
setDetails
- Parameters:
details- the details to set
-
getAffects
- Returns:
- the affects
-
setAffects
- Parameters:
affects- the affects to set
-
getAffected
- Returns:
- the affected
-
setAffected
- Parameters:
affected- the affected to set
-
getReferences
- Returns:
- the references
-
setReferences
- Parameters:
references- the references to set
-
getSeverity
public com.google.gson.JsonArray getSeverity()- Returns:
- the severity
-
setSeverity
public void setSeverity(com.google.gson.JsonArray severity)- Parameters:
severity- the severity to set
-
getDatabase_specific
public com.google.gson.JsonObject getDatabase_specific()- Returns:
- the database_specific
-
setDatabase_specific
public void setDatabase_specific(com.google.gson.JsonObject database_specific)- Parameters:
database_specific- the database_specific to set
-
getEcosystem_specific
public com.google.gson.JsonObject getEcosystem_specific()- Returns:
- the ecosystem_specific
-
setEcosystem_specific
public void setEcosystem_specific(com.google.gson.JsonObject ecosystem_specific)- Parameters:
ecosystem_specific- the ecosystem_specific to set
-