From e7948a33d3175c1f8efdbbf7b289789d3bcea25d Mon Sep 17 00:00:00 2001 From: Dan Catalin Stoian Date: Fri, 6 Oct 2023 14:11:48 +0200 Subject: [PATCH] Fix for C1CountryIdentifier (COUNTRY_C1) not set in As4PayloadHeader #217 --- .../network/oxalis/as4/inbound/As4PayloadHeader.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/network/oxalis/as4/inbound/As4PayloadHeader.java b/src/main/java/network/oxalis/as4/inbound/As4PayloadHeader.java index a35d277..99c3edd 100644 --- a/src/main/java/network/oxalis/as4/inbound/As4PayloadHeader.java +++ b/src/main/java/network/oxalis/as4/inbound/As4PayloadHeader.java @@ -61,6 +61,11 @@ public Header creationTimestamp(Date creationTimestamp) { return header.creationTimestamp(creationTimestamp); } + @Override + public Header c1CountryIdentifier(C1CountryIdentifier c1CountryIdentifier) { + return header.c1CountryIdentifier(c1CountryIdentifier); + } + @Override public Header argument(ArgumentIdentifier identifier) { return header.argument(identifier); @@ -125,4 +130,9 @@ public InstanceType getInstanceType() { public Date getCreationTimestamp() { return header.getCreationTimestamp(); } + + @Override + public C1CountryIdentifier getC1CountryIdentifier() { + return header.getC1CountryIdentifier(); + } }