fix: final class error
This commit is contained in:
committed by
Arnold Gálovics
parent
4dada53f8d
commit
d6f8ef8b74
+2
-5
@@ -25,6 +25,7 @@ import javax.persistence.JoinColumn;
|
|||||||
import javax.persistence.ManyToOne;
|
import javax.persistence.ManyToOne;
|
||||||
import javax.persistence.Table;
|
import javax.persistence.Table;
|
||||||
import lombok.AccessLevel;
|
import lombok.AccessLevel;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
import org.apache.fineract.accounting.glaccount.domain.GLAccount;
|
import org.apache.fineract.accounting.glaccount.domain.GLAccount;
|
||||||
@@ -33,6 +34,7 @@ import org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom;
|
|||||||
@Entity
|
@Entity
|
||||||
@Table(name = "acc_gl_financial_activity_account")
|
@Table(name = "acc_gl_financial_activity_account")
|
||||||
@NoArgsConstructor(access = AccessLevel.PROTECTED)
|
@NoArgsConstructor(access = AccessLevel.PROTECTED)
|
||||||
|
@AllArgsConstructor
|
||||||
@Getter
|
@Getter
|
||||||
public class FinancialActivityAccount extends AbstractPersistableCustom {
|
public class FinancialActivityAccount extends AbstractPersistableCustom {
|
||||||
|
|
||||||
@@ -47,11 +49,6 @@ public class FinancialActivityAccount extends AbstractPersistableCustom {
|
|||||||
return new FinancialActivityAccount(glAccount, financialAccountType);
|
return new FinancialActivityAccount(glAccount, financialAccountType);
|
||||||
}
|
}
|
||||||
|
|
||||||
private FinancialActivityAccount(final GLAccount glAccount, final int financialAccountType) {
|
|
||||||
this.glAccount = glAccount;
|
|
||||||
this.financialActivityType = financialAccountType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void updateGlAccount(final GLAccount glAccount) {
|
public void updateGlAccount(final GLAccount glAccount) {
|
||||||
this.glAccount = glAccount;
|
this.glAccount = glAccount;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user