public static Header of(ParticipantIdentifier sender, ParticipantIdentifier receiver, ProcessIdentifier process, DocumentTypeIdentifier documentType) { return new Header(sender, receiver, process, documentType, null, null, null, null); }
public static Header of(ParticipantIdentifier sender, ParticipantIdentifier receiver, ProcessIdentifier process, DocumentTypeIdentifier documentType, InstanceIdentifier identifier, InstanceType instanceType, Date creationTimestamp) { return new Header(sender, receiver, process, documentType, identifier, instanceType, creationTimestamp, null); }
public static Header newInstance() { return new Header(); }
private Header copy(Consumer<Header> consumer) { Header header = new Header(sender, receiver, process, documentType, identifier, instanceType, creationTimestamp, new HashMap<>(arguments)); consumer.accept(header); return header; } }