Class OsvReference

java.lang.Object
org.spdx.spdx_to_osv.osvmodel.OsvReference

public class OsvReference
extends Object
OSV Reference object as described at https://docs.google.com/document/d/1sylBGNooKtf220RHQn1I8pZRmqXZQADDQ_TOABrKTpA/edit
Author:
Gary O'Neall
  • Constructor Details

    • OsvReference

      public OsvReference()
      Required empty constructor
  • Method Details

    • getType

      public org.spdx.spdx_to_osv.osvmodel.OsvReference.OsvReferenceType getType()
      Returns:
      the type
    • setType

      public void setType​(org.spdx.spdx_to_osv.osvmodel.OsvReference.OsvReferenceType type)
      Parameters:
      type - the type to set
    • getUrl

      public String getUrl()
      Returns:
      the url
    • setUrl

      public void setUrl​(String url)
      Parameters:
      url - the url to set