Change tests to xml + fix breaking test

This commit is contained in:
dotasek 2022-04-11 14:10:53 -04:00
parent 8a48e657f3
commit 2181cb14d5
12 changed files with 307 additions and 377 deletions

View File

@ -25,17 +25,17 @@ public class AuditEvent40_50Test {
@Test
@DisplayName("Test r5 -> r4 AuditEvent conversion.")
public void testR5_R4() throws IOException {
InputStream r5_input = this.getClass().getResourceAsStream("/auditevent_50_with_base64binary.json");
InputStream r5_input = this.getClass().getResourceAsStream("/auditevent_50_with_base64binary.xml");
org.hl7.fhir.r5.model.AuditEvent r5_actual = (org.hl7.fhir.r5.model.AuditEvent) new org.hl7.fhir.r5.formats.JsonParser().parse(r5_input);
org.hl7.fhir.r5.model.AuditEvent r5_actual = (org.hl7.fhir.r5.model.AuditEvent) new org.hl7.fhir.r5.formats.XmlParser().parse(r5_input);
org.hl7.fhir.r4.model.Resource r4_conv = VersionConvertorFactory_40_50.convertResource(r5_actual);
org.hl7.fhir.r4.formats.JsonParser r4_parser = new org.hl7.fhir.r4.formats.JsonParser();
org.hl7.fhir.r4.formats.XmlParser r4_parser = new org.hl7.fhir.r4.formats.XmlParser();
ByteArrayOutputStream stream = new ByteArrayOutputStream();
r4_parser.compose(stream, r4_conv);
org.hl7.fhir.r4.model.Resource r4_streamed = (org.hl7.fhir.r4.model.AuditEvent) new org.hl7.fhir.r4.formats.JsonParser().parse(new ByteArrayInputStream(stream.toByteArray()));
org.hl7.fhir.r4.model.Resource r4_streamed = (org.hl7.fhir.r4.model.AuditEvent) new org.hl7.fhir.r4.formats.XmlParser().parse(new ByteArrayInputStream(stream.toByteArray()));
assertArrayEquals(((org.hl7.fhir.r4.model.AuditEvent)r4_conv).getEntity().get(0).getQuery(), THE_BASE_64_BINARY_BYTE_ARRAY);
assertArrayEquals(((org.hl7.fhir.r4.model.AuditEvent)r4_streamed).getEntity().get(0).getQuery(), THE_BASE_64_BINARY_BYTE_ARRAY);
@ -44,19 +44,19 @@ public class AuditEvent40_50Test {
@Test
@DisplayName("Test r5 -> r4 AuditEvent conversion.")
public void testR4_R5() throws IOException {
InputStream r4_input = this.getClass().getResourceAsStream("/auditevent_40_with_base64binary.json");
InputStream r4_input = this.getClass().getResourceAsStream("/auditevent_40_with_base64binary.xml");
org.hl7.fhir.r4.model.AuditEvent r4_actual = (org.hl7.fhir.r4.model.AuditEvent) new org.hl7.fhir.r4.formats.JsonParser().parse(r4_input);
org.hl7.fhir.r4.model.AuditEvent r4_actual = (org.hl7.fhir.r4.model.AuditEvent) new org.hl7.fhir.r4.formats.XmlParser().parse(r4_input);
org.hl7.fhir.r5.model.Resource r5_conv = VersionConvertorFactory_40_50.convertResource(r4_actual);
org.hl7.fhir.r5.formats.JsonParser r5_parser = new org.hl7.fhir.r5.formats.JsonParser();
org.hl7.fhir.r5.formats.XmlParser r5_parser = new org.hl7.fhir.r5.formats.XmlParser();
ByteArrayOutputStream stream
= new ByteArrayOutputStream();
r5_parser.compose(stream, r5_conv);
org.hl7.fhir.r5.model.Resource r5_streamed = (org.hl7.fhir.r5.model.AuditEvent) new org.hl7.fhir.r5.formats.JsonParser().parse(new ByteArrayInputStream(stream.toByteArray()));
org.hl7.fhir.r5.model.Resource r5_streamed = (org.hl7.fhir.r5.model.AuditEvent) new org.hl7.fhir.r5.formats.XmlParser().parse(new ByteArrayInputStream(stream.toByteArray()));
assertArrayEquals(((org.hl7.fhir.r5.model.AuditEvent)r5_conv).getEntity().get(0).getQuery(), THE_BASE_64_BINARY_BYTE_ARRAY);
assertArrayEquals(((org.hl7.fhir.r5.model.AuditEvent)r5_streamed).getEntity().get(0).getQuery(), THE_BASE_64_BINARY_BYTE_ARRAY);
@ -66,20 +66,20 @@ public class AuditEvent40_50Test {
@Test
@DisplayName("Test r5 -> r4 AuditEvent conversion with invalid Base64Binary.")
public void testR4_R5BadBase64Binary() throws IOException {
InputStream r4_input = this.getClass().getResourceAsStream("/auditevent_40_with_invalid_base64binary.json");
InputStream r4_input = this.getClass().getResourceAsStream("/auditevent_40_with_invalid_base64binary.xml");
org.hl7.fhir.r4.model.AuditEvent r4_actual = (org.hl7.fhir.r4.model.AuditEvent) new org.hl7.fhir.r4.formats.JsonParser().parse(r4_input);
org.hl7.fhir.r4.model.AuditEvent r4_actual = (org.hl7.fhir.r4.model.AuditEvent) new org.hl7.fhir.r4.formats.XmlParser().parse(r4_input);
org.hl7.fhir.r5.model.Resource r5_conv = VersionConvertorFactory_40_50.convertResource(r4_actual);
org.hl7.fhir.r5.formats.JsonParser r5_parser = new org.hl7.fhir.r5.formats.JsonParser();
org.hl7.fhir.r5.formats.XmlParser r5_parser = new org.hl7.fhir.r5.formats.XmlParser();
ByteArrayOutputStream stream
= new ByteArrayOutputStream();
r5_parser.compose(stream, r5_conv);
org.hl7.fhir.r5.model.Resource r5_streamed = (org.hl7.fhir.r5.model.AuditEvent) new org.hl7.fhir.r5.formats.JsonParser().parse(new ByteArrayInputStream(stream.toByteArray()));
org.hl7.fhir.r5.model.Resource r5_streamed = (org.hl7.fhir.r5.model.AuditEvent) new org.hl7.fhir.r5.formats.XmlParser().parse(new ByteArrayInputStream(stream.toByteArray()));
System.out.println(((org.hl7.fhir.r5.model.AuditEvent)r5_conv).getEntity().get(0).getQueryElement().getValueAsString());

View File

@ -1,122 +0,0 @@
{
"resourceType": "AuditEvent",
"id": "example",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Application Start for under service login &quot;Grahame&quot; (id: Grahame's Test HL7Connect)</div>"
},
"type": {
"system": "http://dicom.nema.org/resources/ontology/DCM",
"code": "110100",
"display": "Application Activity"
},
"subtype": [
{
"system": "http://dicom.nema.org/resources/ontology/DCM",
"code": "110120",
"display": "Application Start"
}
],
"action": "E",
"recorded": "2012-10-25T22:04:27+11:00",
"outcome": "0",
"agent": [
{
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/extra-security-role-type",
"code": "humanuser",
"display": "human user"
}
]
},
"role": [
{
"text": "Service User (Logon)"
}
],
"who": {
"identifier": {
"value": "Grahame"
}
},
"requestor": false,
"network": {
"address": "127.0.0.1",
"type": "2"
}
},
{
"type": {
"coding": [
{
"system": "http://dicom.nema.org/resources/ontology/DCM",
"code": "110153",
"display": "Source Role ID"
}
]
},
"who": {
"identifier": {
"system": "urn:oid:2.16.840.1.113883.4.2",
"value": "2.16.840.1.113883.4.2"
}
},
"altId": "6580",
"requestor": false,
"network": {
"address": "Workstation1.ehr.familyclinic.com",
"type": "1"
}
}
],
"source": {
"site": "Development",
"observer": {
"display": "Grahame's Laptop"
},
"type": [
{
"system": "http://dicom.nema.org/resources/ontology/DCM",
"code": "110122",
"display": "Login"
}
]
},
"entity": [
{
"what": {
"identifier": {
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "SNO"
}
],
"text": "Dell Serial Number"
},
"value": "ABCDEF"
}
},
"type": {
"system": "http://terminology.hl7.org/CodeSystem/audit-entity-type",
"code": "4",
"display": "Other"
},
"role": {
"system": "http://terminology.hl7.org/CodeSystem/object-role",
"code": "4",
"display": "Domain Resource"
},
"lifecycle": {
"system": "http://terminology.hl7.org/CodeSystem/dicom-audit-lifecycle",
"code": "6",
"display": "Access / Use"
},
"name": "Grahame's Laptop",
"query" : "dGhpcyBpcyB2YWxpZCBiYXNlNjQ="
}
]
}

View File

@ -0,0 +1,95 @@
<?xml version="1.0" encoding="UTF-8"?>
<AuditEvent xmlns="http://hl7.org/fhir">
<id value="example"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">Application Start for under service login &quot;Grahame&quot; (id: Grahame's Test HL7Connect)</div>
</text>
<type>
<system value="http://dicom.nema.org/resources/ontology/DCM"/>
<code value="110100"/>
<display value="Application Activity"/>
</type>
<subtype>
<system value="http://dicom.nema.org/resources/ontology/DCM"/>
<code value="110120"/>
<display value="Application Start"/>
</subtype>
<action value="E"/>
<recorded value="2012-10-25T22:04:27+11:00"/>
<outcome value="0"/>
<agent>
<type> <coding> <system value="http://terminology.hl7.org/CodeSystem/extra-security-role-type"/> <code value="humanuser"/> <display value="human user"/> </coding> </type>
<role>
<text value="Service User (Logon)"/>
</role>
<who>
<identifier>
<value value="Grahame"/>
</identifier>
</who>
<requestor value="false"/>
<network>
<address value="127.0.0.1"/>
<type value="2"/>
</network>
</agent>
<agent> <!-- Source active participant, the software making the . AlternativeUserId - Process ID
-->
<type> <coding> <system value="http://dicom.nema.org/resources/ontology/DCM"/> <code value="110153"/> <display value="Source Role ID"/> </coding> </type>
<who>
<identifier>
<system value="urn:oid:2.16.840.1.113883.4.2"/>
<value value="2.16.840.1.113883.4.2"/>
</identifier>
</who>
<altId value="6580"/>
<requestor value="false"/>
<network> <address value="Workstation1.ehr.familyclinic.com"/> <type value="1"/> </network>
</agent>
<source>
<site value="Development"/>
<observer>
<display value="Grahame's Laptop"/>
</observer>
<type>
<system value="http://dicom.nema.org/resources/ontology/DCM"/>
<code value="110122"/>
<display value="Login"/>
</type>
</source>
<entity>
<what> <identifier>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
<code value="SNO"/>
</coding>
<text value="Dell Serial Number"/>
</type>
<value value="ABCDEF"/>
</identifier>
</what>
<type>
<system value="http://terminology.hl7.org/CodeSystem/audit-entity-type"/>
<code value="4"/>
<display value="Other"/>
</type>
<role>
<system value="http://terminology.hl7.org/CodeSystem/object-role"/>
<code value="4"/>
<display value="Domain Resource"/>
</role>
<lifecycle>
<system value="http://terminology.hl7.org/CodeSystem/dicom-audit-lifecycle"/>
<code value="6"/>
<display value="Access / Use"/>
</lifecycle>
<name value="Grahame's Laptop"/>
<query value="dGhpcyBpcyB2YWxpZCBiYXNlNjQ="/>
</entity>
</AuditEvent>

View File

@ -1,122 +0,0 @@
{
"resourceType": "AuditEvent",
"id": "example",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Application Start for under service login &quot;Grahame&quot; (id: Grahame's Test HL7Connect)</div>"
},
"type": {
"system": "http://dicom.nema.org/resources/ontology/DCM",
"code": "110100",
"display": "Application Activity"
},
"subtype": [
{
"system": "http://dicom.nema.org/resources/ontology/DCM",
"code": "110120",
"display": "Application Start"
}
],
"action": "E",
"recorded": "2012-10-25T22:04:27+11:00",
"outcome": "0",
"agent": [
{
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/extra-security-role-type",
"code": "humanuser",
"display": "human user"
}
]
},
"role": [
{
"text": "Service User (Logon)"
}
],
"who": {
"identifier": {
"value": "Grahame"
}
},
"requestor": false,
"network": {
"address": "127.0.0.1",
"type": "2"
}
},
{
"type": {
"coding": [
{
"system": "http://dicom.nema.org/resources/ontology/DCM",
"code": "110153",
"display": "Source Role ID"
}
]
},
"who": {
"identifier": {
"system": "urn:oid:2.16.840.1.113883.4.2",
"value": "2.16.840.1.113883.4.2"
}
},
"altId": "6580",
"requestor": false,
"network": {
"address": "Workstation1.ehr.familyclinic.com",
"type": "1"
}
}
],
"source": {
"site": "Development",
"observer": {
"display": "Grahame's Laptop"
},
"type": [
{
"system": "http://dicom.nema.org/resources/ontology/DCM",
"code": "110122",
"display": "Login"
}
]
},
"entity": [
{
"what": {
"identifier": {
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "SNO"
}
],
"text": "Dell Serial Number"
},
"value": "ABCDEF"
}
},
"type": {
"system": "http://terminology.hl7.org/CodeSystem/audit-entity-type",
"code": "4",
"display": "Other"
},
"role": {
"system": "http://terminology.hl7.org/CodeSystem/object-role",
"code": "4",
"display": "Domain Resource"
},
"lifecycle": {
"system": "http://terminology.hl7.org/CodeSystem/dicom-audit-lifecycle",
"code": "6",
"display": "Access / Use"
},
"name": "Grahame's Laptop",
"query" : "Picard was the best starship captain"
}
]
}

View File

@ -0,0 +1,95 @@
<?xml version="1.0" encoding="UTF-8"?>
<AuditEvent xmlns="http://hl7.org/fhir">
<id value="example"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">Application Start for under service login &quot;Grahame&quot; (id: Grahame's Test HL7Connect)</div>
</text>
<type>
<system value="http://dicom.nema.org/resources/ontology/DCM"/>
<code value="110100"/>
<display value="Application Activity"/>
</type>
<subtype>
<system value="http://dicom.nema.org/resources/ontology/DCM"/>
<code value="110120"/>
<display value="Application Start"/>
</subtype>
<action value="E"/>
<recorded value="2012-10-25T22:04:27+11:00"/>
<outcome value="0"/>
<agent>
<type> <coding> <system value="http://terminology.hl7.org/CodeSystem/extra-security-role-type"/> <code value="humanuser"/> <display value="human user"/> </coding> </type>
<role>
<text value="Service User (Logon)"/>
</role>
<who>
<identifier>
<value value="Grahame"/>
</identifier>
</who>
<requestor value="false"/>
<network>
<address value="127.0.0.1"/>
<type value="2"/>
</network>
</agent>
<agent> <!-- Source active participant, the software making the . AlternativeUserId - Process ID
-->
<type> <coding> <system value="http://dicom.nema.org/resources/ontology/DCM"/> <code value="110153"/> <display value="Source Role ID"/> </coding> </type>
<who>
<identifier>
<system value="urn:oid:2.16.840.1.113883.4.2"/>
<value value="2.16.840.1.113883.4.2"/>
</identifier>
</who>
<altId value="6580"/>
<requestor value="false"/>
<network> <address value="Workstation1.ehr.familyclinic.com"/> <type value="1"/> </network>
</agent>
<source>
<site value="Development"/>
<observer>
<display value="Grahame's Laptop"/>
</observer>
<type>
<system value="http://dicom.nema.org/resources/ontology/DCM"/>
<code value="110122"/>
<display value="Login"/>
</type>
</source>
<entity>
<what> <identifier>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
<code value="SNO"/>
</coding>
<text value="Dell Serial Number"/>
</type>
<value value="ABCDEF"/>
</identifier>
</what>
<type>
<system value="http://terminology.hl7.org/CodeSystem/audit-entity-type"/>
<code value="4"/>
<display value="Other"/>
</type>
<role>
<system value="http://terminology.hl7.org/CodeSystem/object-role"/>
<code value="4"/>
<display value="Domain Resource"/>
</role>
<lifecycle>
<system value="http://terminology.hl7.org/CodeSystem/dicom-audit-lifecycle"/>
<code value="6"/>
<display value="Access / Use"/>
</lifecycle>
<name value="Grahame's Laptop"/>
<query value="dGhpcyBpcyB2YWxpZCBiYXNlNjQ="/>
</entity>
</AuditEvent>

View File

@ -1,117 +0,0 @@
{
"resourceType": "AuditEvent",
"id": "example",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Application Start for under service login &quot;Grahame&quot; (id: Grahame's Test HL7Connect)</div>"
},
"category": [
{
"coding": [
{
"system": "http://dicom.nema.org/resources/ontology/DCM",
"code": "110100",
"display": "Application Activity"
}
]
}
],
"code": {
"coding": [
{
"system": "http://dicom.nema.org/resources/ontology/DCM",
"code": "110120",
"display": "Application Start"
}
]
},
"action": "E",
"recorded": "2012-10-25T22:04:27+11:00",
"outcome": {
"code": {
"system": "http://terminology.hl7.org/CodeSystem/audit-event-outcome",
"code": "0",
"display": "Success"
}
},
"agent": [
{
"role": [
{
"text": "Service User (Logon)"
}
],
"who": {
"identifier": {
"value": "Grahame"
}
},
"requestor": false
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID",
"valueIdentifier": {
"type": {
"text": "process ID"
},
"value": "6580"
}
}
],
"who": {
"identifier": {
"system": "urn:oid:2.16.840.1.113883.4.2",
"value": "2.16.840.1.113883.4.2"
}
},
"requestor": false,
"networkString": "Workstation1.ehr.familyclinic.com"
}
],
"source": {
"observer": {
"display": "Grahame's Laptop"
},
"type": [
{
"coding": [
{
"system": "http://dicom.nema.org/resources/ontology/DCM",
"code": "110122",
"display": "Login"
}
]
}
]
},
"entity": [
{
"what": {
"identifier": {
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "SNO"
}
],
"text": "Dell Serial Number"
},
"value": "ABCDEF"
}
},
"role": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/object-role",
"code": "4",
"display": "Domain Resource"
}
]
},
"query" : "dGhpcyBpcyB2YWxpZCBiYXNlNjQ="
}
]
}

View File

@ -0,0 +1,100 @@
<?xml version="1.0" encoding="UTF-8"?>
<AuditEvent xmlns="http://hl7.org/fhir">
<id value="example"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">Application Start for under service login &quot;Grahame&quot; (id: Grahame's Test HL7Connect)</div>
</text>
<category>
<coding>
<system value="http://dicom.nema.org/resources/ontology/DCM"/>
<code value="110100"/>
<display value="Application Activity"/>
</coding>
</category>
<code>
<coding>
<system value="http://dicom.nema.org/resources/ontology/DCM"/>
<code value="110120"/>
<display value="Application Start"/>
</coding>
</code>
<action value="E"/>
<recorded value="2012-10-25T22:04:27+11:00"/>
<outcome>
<code>
<system value="http://terminology.hl7.org/CodeSystem/audit-event-outcome"/>
<code value="0"/>
<display value="Success"/>
</code>
</outcome>
<agent>
<role>
<text value="Service User (Logon)"/>
</role>
<who>
<identifier>
<value value="Grahame"/>
</identifier>
</who>
<requestor value="false"/>
</agent>
<agent>
<!-- Source active participant, the software making the . AlternativeUserId - Process ID
-->
<extension url="http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID">
<valueIdentifier>
<type>
<text value="process ID"/>
</type>
<value value="6580"/>
</valueIdentifier>
</extension>
<who>
<identifier>
<system value="urn:oid:2.16.840.1.113883.4.2"/>
<value value="2.16.840.1.113883.4.2"/>
</identifier>
</who>
<requestor value="false"/>
<networkString value="Workstation1.ehr.familyclinic.com"/>
</agent>
<source>
<observer>
<display value="Grahame's Laptop"/>
</observer>
<type>
<coding>
<system value="http://dicom.nema.org/resources/ontology/DCM"/>
<code value="110122"/>
<display value="Login"/>
</coding>
</type>
</source>
<entity>
<what>
<identifier>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
<code value="SNO"/>
</coding>
<text value="Dell Serial Number"/>
</type>
<value value="ABCDEF"/>
</identifier>
</what>
<role>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/object-role"/>
<code value="4"/>
<display value="Domain Resource"/>
</coding>
</role>
<query value="dGhpcyBpcyB2YWxpZCBiYXNlNjQ="/>
</entity>
</AuditEvent>

View File

@ -130,7 +130,7 @@ public class Base64BinaryType extends PrimitiveType<byte[]> implements IPrimitiv
@Override
public Base64BinaryType setValue(byte[] theValue) throws IllegalArgumentException {
myValue = theValue;
return this;
return (Base64BinaryType) super.setValue(theValue);
}
@Override

View File

@ -130,7 +130,7 @@ public class Base64BinaryType extends PrimitiveType<byte[]> implements IPrimitiv
@Override
public Base64BinaryType setValue(byte[] theValue) throws IllegalArgumentException {
myValue = theValue;
return this;
return (Base64BinaryType) super.setValue(theValue);
}
@Override

View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><VisionPrescription xmlns="http://hl7.org/fhir"><id value="33124"/><text><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Sample Contract Lens prescription</div></text><identifier><system value="http://www.happysight.com/prescription"/><value value="15014"/></identifier><status value="active"/><created value="2014-06-15"/><patient><reference value="Patient/example"/></patient><encounter><reference value="Encounter/f001"/></encounter><dateWritten value="2014-06-15"/><prescriber><reference value="Practitioner/example"/></prescriber><lensSpecification><product><coding><system value="http://terminology.hl7.org/CodeSystem/ex-visionprescriptionproduct"/><code value="contact"/></coding></product><eye value="right"/><cylinder value="-2.25"/><axis value="160"/><add value="1.75"/><power value="-2.75"/><backCurve value="8.7"/><diameter value="14.0"/><duration><value value="1"/><unit value="mo"/><system value="http://unitsofmeasure.org"/><code value="mo"/></duration><color value="green"/><brand value="OphthaGuard"/><note><text value="Shade treatment for extreme light sensitivity"/></note></lensSpecification><lensSpecification><product><coding><system value="http://terminology.hl7.org/CodeSystem/ex-visionprescriptionproduct"/><code value="contact"/></coding></product><eye value="left"/><cylinder value="-3.50"/><axis value="160"/><add value="1.75"/><power value="-2.75"/><backCurve value="8.7"/><diameter value="14.0"/><duration><value value="1"/><unit value="month"/><system value="http://unitsofmeasure.org"/><code value="mo"/></duration><color value="green"/><brand value="OphthaGuard"/><note><text value="Shade treatment for extreme light sensitivity"/></note></lensSpecification></VisionPrescription>

View File

@ -129,7 +129,7 @@ public class Base64BinaryType extends PrimitiveType<byte[]> implements IPrimitiv
@Override
public Base64BinaryType setValue(byte[] theValue) throws IllegalArgumentException {
myValue = theValue;
return this;
return (Base64BinaryType) super.setValue(theValue);
}
@Override

View File

@ -129,7 +129,7 @@ public class Base64BinaryType extends PrimitiveType<byte[]> implements IPrimitiv
@Override
public Base64BinaryType setValue(byte[] theValue) throws IllegalArgumentException {
myValue = theValue;
return this;
return (Base64BinaryType) super.setValue(theValue);
}
@Override