0
Class:
@Entity
public class ReportParam extends AbstractModel implements JRParameter {
@Column
private String nome;
@Column
private String descricao;
@Column
private Class<?> classe;
The goal:
Use the instantiated attribute reportParam.getClasse() as cast in a line code, in the specific situation, I get a "10/01/2018" String, and I need to convert it to Date and/or other types (Integer, String,...) as follows:
//Cast Magico?
minhaData = (reportParam.getClasse()) "10/01/2018";