@@ -929,20 +929,20 @@ public Vulnerability getVulnerability(String cve, Connection conn) throws Databa
929929 if (value != null ) {
930930 modifiedVulnAvailabilityImpact = CvssV4Data .ModifiedCiaType .fromValue (value );
931931 }
932- CvssV4Data .ModifiedCiaType modifiedSubConfidentialityImpact = null ;
932+ CvssV4Data .ModifiedSubCType modifiedSubConfidentialityImpact = null ;
933933 value = rsV .getString (56 );
934934 if (value != null ) {
935- modifiedSubConfidentialityImpact = CvssV4Data .ModifiedCiaType .fromValue (value );
935+ modifiedSubConfidentialityImpact = CvssV4Data .ModifiedSubCType .fromValue (value );
936936 }
937- CvssV4Data .ModifiedCiaType modifiedSubIntegrityImpact = null ;
937+ CvssV4Data .ModifiedSubIaType modifiedSubIntegrityImpact = null ;
938938 value = rsV .getString (57 );
939939 if (value != null ) {
940- modifiedSubIntegrityImpact = CvssV4Data .ModifiedCiaType .fromValue (value );
940+ modifiedSubIntegrityImpact = CvssV4Data .ModifiedSubIaType .fromValue (value );
941941 }
942- CvssV4Data .ModifiedCiaType modifiedSubAvailabilityImpact = null ;
942+ CvssV4Data .ModifiedSubIaType modifiedSubAvailabilityImpact = null ;
943943 value = rsV .getString (58 );
944944 if (value != null ) {
945- modifiedSubAvailabilityImpact = CvssV4Data .ModifiedCiaType .fromValue (value );
945+ modifiedSubAvailabilityImpact = CvssV4Data .ModifiedSubIaType .fromValue (value );
946946 }
947947 CvssV4Data .SafetyType safety = null ;
948948 value = rsV .getString (59 );
@@ -2198,6 +2198,22 @@ private void setUpdateColumn(PreparedStatement ps, int i, CvssV4Data.ModifiedCia
21982198 }
21992199 }
22002200
2201+ private void setUpdateColumn (PreparedStatement ps , int i , CvssV4Data .ModifiedSubCType value ) throws SQLException {
2202+ if (value == null ) {
2203+ ps .setNull (i , java .sql .Types .VARCHAR );
2204+ } else {
2205+ ps .setString (i , value .value ());
2206+ }
2207+ }
2208+
2209+ private void setUpdateColumn (PreparedStatement ps , int i , CvssV4Data .ModifiedSubIaType value ) throws SQLException {
2210+ if (value == null ) {
2211+ ps .setNull (i , java .sql .Types .VARCHAR );
2212+ } else {
2213+ ps .setString (i , value .value ());
2214+ }
2215+ }
2216+
22012217 private void setUpdateColumn (PreparedStatement ps , int i , CvssV4Data .SafetyType value ) throws SQLException {
22022218 if (value == null ) {
22032219 ps .setNull (i , java .sql .Types .VARCHAR );
0 commit comments