Using the @Override annotation is useful for two reasons :
It elicits a warning from the compiler if the annotated method doesn't actually override anything, as in the case of a misspelling.
It improves the readability of the source code by making it obvious that methods are overridden.
Issue-ID: VID-612
Change-Id: Ic628b85f7a3e4c08712c88298fa4620ecddce0cc
Signed-off-by: anushadasari <danush10@in.ibm.com>
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "WORKFLOW_DB_ID")
@JsonIgnore
+ @Override
public Long getId() {
return id;
}