Merge branch 'master' into ja_20191025_refactor_testcases

This commit is contained in:
Grahame Grieve 2019-10-28 12:11:14 +13:00 committed by GitHub
commit 1a89103ec5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 28 additions and 1210 deletions

View File

@ -39,6 +39,6 @@ public abstract class BaseBinary extends Resource implements IBaseBinary {
return this; return this;
} }
abstract Base64BinaryType getContentElement(); public abstract Base64BinaryType getContentElement();
} }

View File

@ -22,6 +22,7 @@ package org.hl7.fhir.dstu2.model;
import ca.uhn.fhir.model.api.annotation.DatatypeDef; import ca.uhn.fhir.model.api.annotation.DatatypeDef;
import org.hl7.fhir.instance.model.api.IBaseEnumFactory;
import org.hl7.fhir.instance.model.api.IBaseEnumeration; import org.hl7.fhir.instance.model.api.IBaseEnumeration;
/* /*
@ -114,4 +115,9 @@ public class Enumeration<T extends Enum<?>> extends PrimitiveType<T> implements
public String fhirType() { public String fhirType() {
return "code"; return "code";
} }
@Override
public IBaseEnumFactory<T> getEnumFactory() {
return myEnumFactory;
}
} }

View File

@ -41,6 +41,6 @@ public abstract class BaseBinary extends Resource implements IBaseBinary {
return this; return this;
} }
abstract Base64BinaryType getContentElement(); public abstract Base64BinaryType getContentElement();
} }

View File

@ -41,6 +41,6 @@ public abstract class BaseBinary extends Resource implements IBaseBinary {
return this; return this;
} }
abstract Base64BinaryType getContentElement(); public abstract Base64BinaryType getContentElement();
} }

View File

@ -41,6 +41,6 @@ public abstract class BaseBinary extends Resource implements IBaseBinary {
return this; return this;
} }
abstract Base64BinaryType getContentElement(); public abstract Base64BinaryType getContentElement();
} }

View File

@ -400,7 +400,7 @@ public class Binary extends BaseBinary implements IBaseBinary {
} }
@Override @Override
Base64BinaryType getContentElement() { public Base64BinaryType getContentElement() {
return getDataElement(); return getDataElement();
} }

View File

@ -41,6 +41,6 @@ public abstract class BaseBinary extends Resource implements IBaseBinary {
return this; return this;
} }
abstract Base64BinaryType getContentElement(); public abstract Base64BinaryType getContentElement();
} }

View File

@ -392,7 +392,7 @@ public class Binary extends BaseBinary implements IBaseBinary {
} }
@Override @Override
Base64BinaryType getContentElement() { public Base64BinaryType getContentElement() {
return getDataElement(); return getDataElement();
} }

View File

@ -456,6 +456,20 @@ public class XhtmlNode implements IBaseXhtml {
throw new UnsupportedOperationException(); throw new UnsupportedOperationException();
} }
/**
* NOT SUPPORTED - Throws {@link UnsupportedOperationException}
*/
public Object getUserData(String theName) {
throw new UnsupportedOperationException();
}
/**
* NOT SUPPORTED - Throws {@link UnsupportedOperationException}
*/
public void setUserData(String theName, Object theValue) {
throw new UnsupportedOperationException();
}
public Location getLocation() { public Location getLocation() {
return location; return location;

View File

@ -16,7 +16,7 @@
<version>4.0.26-SNAPSHOT</version> <version>4.0.26-SNAPSHOT</version>
<properties> <properties>
<hapi_fhir_version>4.0.0</hapi_fhir_version> <hapi_fhir_version>4.1.0-SNAPSHOT</hapi_fhir_version>
<validator_test_case_version>1.0-SNAPSHOT</validator_test_case_version> <validator_test_case_version>1.0-SNAPSHOT</validator_test_case_version>
</properties> </properties>