Trying to change EL inheritance

This commit is contained in:
iadgovuser29 2024-06-13 11:14:48 -04:00
parent 7ba391c75a
commit 781e015353
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ import java.util.Collection;
*/ */
@Log4j2 @Log4j2
@Entity @Entity
public class EventLogMeasurements extends ReferenceManifest { public class EventLogMeasurements extends SupportReferenceManifest {
@Column @Column
@JsonIgnore @JsonIgnore

View File

@ -321,7 +321,7 @@ public class SupplyChainValidationService {
deviceName)); deviceName));
} else { } else {
ReferenceManifest manifest = referenceManifestRepository ReferenceManifest manifest = referenceManifestRepository
.findByHexDecHashAndRimType(sRim.getEventLogHash(), sRim.getRimType()); .findByHexDecHashAndRimType(sRim.getEventLogHash(), ReferenceManifest.MEASUREMENT_RIM);
if (manifest instanceof EventLogMeasurements) { if (manifest instanceof EventLogMeasurements) {
eventLog = (EventLogMeasurements)manifest; eventLog = (EventLogMeasurements)manifest;
} }