this.templateId = templateId;
this.position = position;
}
+ public TemplateAccount(TemplateAccount o) {
+ id = o.id;
+ templateId = o.templateId;
+ accountName = o.accountName;
+ position = o.position;
+ accountNameMatchGroup = o.accountNameMatchGroup;
+ currency = o.currency;
+ currencyMatchGroup = o.currencyMatchGroup;
+ amount = o.amount;
+ amountMatchGroup = o.amountMatchGroup;
+ accountComment = o.accountComment;
+ accountCommentMatchGroup = o.accountCommentMatchGroup;
+ negateAmount = o.negateAmount;
+ }
public Long getId() {
return id;
}
public void setAccountCommentMatchGroup(Integer accountCommentMatchGroup) {
this.accountCommentMatchGroup = accountCommentMatchGroup;
}
+ public TemplateAccount createDuplicate() {
+ TemplateAccount dup = new TemplateAccount(this);
+ dup.id = null;
+ dup.templateId = null;
+
+ return dup;
+ }
}