+ this.uuid = UUID.randomUUID()
+ .toString();
+ }
+ public TemplateHeader(TemplateHeader origin) {
+ id = origin.id;
+ name = origin.name;
+ uuid = origin.uuid;
+ regularExpression = origin.regularExpression;
+ testText = origin.testText;
+ transactionDescription = origin.transactionDescription;
+ transactionDescriptionMatchGroup = origin.transactionDescriptionMatchGroup;
+ transactionComment = origin.transactionComment;
+ transactionCommentMatchGroup = origin.transactionCommentMatchGroup;
+ dateYear = origin.dateYear;
+ dateYearMatchGroup = origin.dateYearMatchGroup;
+ dateMonth = origin.dateMonth;
+ dateMonthMatchGroup = origin.dateMonthMatchGroup;
+ dateDay = origin.dateDay;
+ dateDayMatchGroup = origin.dateDayMatchGroup;
+ isFallback = origin.isFallback;
+ }
+ @NonNull
+ public String getUuid() {
+ return uuid;
+ }
+ public void setUuid(@NonNull String uuid) {
+ this.uuid = uuid;
+ }
+ public boolean isFallback() {
+ return isFallback;
+ }
+ public void setFallback(boolean fallback) {
+ isFallback = fallback;