minor corrections

This commit is contained in:
jstaerk
2024-11-19 15:55:26 +01:00
parent cd74292200
commit e9f9655b76
4 changed files with 28 additions and 5 deletions

View File

@@ -33,8 +33,9 @@ If you set up a Maven project, you can reference the mustang artifact like this:
```xml ```xml
<dependency> <dependency>
<groupId>org.mustangproject</groupId> <groupId>org.mustangproject</groupId>
<artifactId>library</artifactId> <artifactId>validator</artifactId>
<version>2.14.0</version> <version>2.15.0</version>
<classifier>shaded</classifier>
</dependency> </dependency>
``` ```

View File

@@ -16,6 +16,13 @@ public class DirectDebit implements IZUGFeRDTradeSettlementDebit {
*/ */
protected final String mandate; protected final String mandate;
/**
* bean constructor
*/
public DirectDebit() {
}
/*** /***
* constructor for normal use :-) * constructor for normal use :-)
* @param IBAN the IBAN as string * @param IBAN the IBAN as string

View File

@@ -8,6 +8,14 @@ public class FileAttachment {
protected String description; protected String description;
protected byte[] data; protected byte[] data;
/***
* bean contructor
*/
public FileAttachment() {
}
public FileAttachment(String filename, String mimetype, String relation, byte[] data) { public FileAttachment(String filename, String mimetype, String relation, byte[] data) {
this.filename = filename; this.filename = filename;
this.mimetype = mimetype; this.mimetype = mimetype;

View File

@@ -4,8 +4,8 @@ package org.mustangproject;
* A grouping of business terms to indicate accounting-relevant free texts including a qualification of these. * A grouping of business terms to indicate accounting-relevant free texts including a qualification of these.
*/ */
public class IncludedNote { public class IncludedNote {
private final String content; private String content;
private final SubjectCode subjectCode; private SubjectCode subjectCode;
private static final String INCLUDE_START = "<ram:IncludedNote>"; private static final String INCLUDE_START = "<ram:IncludedNote>";
private static final String INCLUDE_END = "</ram:IncludedNote>"; private static final String INCLUDE_END = "</ram:IncludedNote>";
@@ -19,6 +19,13 @@ public class IncludedNote {
this.subjectCode = subjectCode; this.subjectCode = subjectCode;
} }
/**
* bean constructor
*/
public IncludedNote() {
}
public static IncludedNote generalNote(String content) { public static IncludedNote generalNote(String content) {
return new IncludedNote(content, SubjectCode.AAI); return new IncludedNote(content, SubjectCode.AAI);
} }