chore: add lombok implementation to ReportParameterJoinData
- Remove all getter methods, and the args constructor from the class. - Add the @Getter & @AllArgsConstructor annotations. - Check no issues happened in ReadReportingServiceImpl class.
This commit is contained in:
+5
-70
@@ -18,6 +18,11 @@
|
|||||||
*/
|
*/
|
||||||
package org.apache.fineract.infrastructure.dataqueries.data;
|
package org.apache.fineract.infrastructure.dataqueries.data;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Getter;
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@AllArgsConstructor
|
||||||
public final class ReportParameterJoinData {
|
public final class ReportParameterJoinData {
|
||||||
|
|
||||||
private final Long reportId;
|
private final Long reportId;
|
||||||
@@ -35,74 +40,4 @@ public final class ReportParameterJoinData {
|
|||||||
private final String reportParameterName;
|
private final String reportParameterName;
|
||||||
private final String parameterName;
|
private final String parameterName;
|
||||||
|
|
||||||
public ReportParameterJoinData(final Long reportId, final String reportName, final String reportType, final String reportSubType,
|
|
||||||
final String reportCategory, final String description, final String reportSql, final Boolean coreReport,
|
|
||||||
final Boolean useReport, final Long reportParameterId, final Long parameterId, final String reportParameterName,
|
|
||||||
final String parameterName) {
|
|
||||||
this.reportId = reportId;
|
|
||||||
this.reportName = reportName;
|
|
||||||
this.reportType = reportType;
|
|
||||||
this.reportSubType = reportSubType;
|
|
||||||
this.reportCategory = reportCategory;
|
|
||||||
this.description = description;
|
|
||||||
this.reportSql = reportSql;
|
|
||||||
this.coreReport = coreReport;
|
|
||||||
this.useReport = useReport;
|
|
||||||
this.reportParameterId = reportParameterId;
|
|
||||||
this.parameterId = parameterId;
|
|
||||||
this.reportParameterName = reportParameterName;
|
|
||||||
this.parameterName = parameterName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getReportId() {
|
|
||||||
return this.reportId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getReportName() {
|
|
||||||
return this.reportName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getReportType() {
|
|
||||||
return this.reportType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getReportSubType() {
|
|
||||||
return this.reportSubType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getReportCategory() {
|
|
||||||
return this.reportCategory;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getReportSql() {
|
|
||||||
return this.reportSql;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Boolean getCoreReport() {
|
|
||||||
return this.coreReport;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Boolean getUseReport() {
|
|
||||||
return this.useReport;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getReportParameterId() {
|
|
||||||
return this.reportParameterId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getParameterId() {
|
|
||||||
return this.parameterId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getReportParameterName() {
|
|
||||||
return this.reportParameterName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getParameterName() {
|
|
||||||
return this.parameterName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getDescription() {
|
|
||||||
return this.description;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user