Fix https://github.com/jamesagnew/hapi-fhir/issues/1549 - Account for
latest HAPI FHIR API interfaces
This commit is contained in:
parent
e99246e577
commit
34cf0628d1
|
@ -39,6 +39,6 @@ public abstract class BaseBinary extends Resource implements IBaseBinary {
|
|||
return this;
|
||||
}
|
||||
|
||||
abstract Base64BinaryType getContentElement();
|
||||
public abstract Base64BinaryType getContentElement();
|
||||
|
||||
}
|
||||
|
|
|
@ -22,6 +22,7 @@ package org.hl7.fhir.dstu2.model;
|
|||
|
||||
|
||||
import ca.uhn.fhir.model.api.annotation.DatatypeDef;
|
||||
import org.hl7.fhir.instance.model.api.IBaseEnumFactory;
|
||||
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() {
|
||||
return "code";
|
||||
}
|
||||
|
||||
@Override
|
||||
public IBaseEnumFactory<T> getEnumFactory() {
|
||||
return myEnumFactory;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,6 +41,6 @@ public abstract class BaseBinary extends Resource implements IBaseBinary {
|
|||
return this;
|
||||
}
|
||||
|
||||
abstract Base64BinaryType getContentElement();
|
||||
public abstract Base64BinaryType getContentElement();
|
||||
|
||||
}
|
||||
|
|
|
@ -41,6 +41,6 @@ public abstract class BaseBinary extends Resource implements IBaseBinary {
|
|||
return this;
|
||||
}
|
||||
|
||||
abstract Base64BinaryType getContentElement();
|
||||
public abstract Base64BinaryType getContentElement();
|
||||
|
||||
}
|
||||
|
|
|
@ -41,6 +41,6 @@ public abstract class BaseBinary extends Resource implements IBaseBinary {
|
|||
return this;
|
||||
}
|
||||
|
||||
abstract Base64BinaryType getContentElement();
|
||||
public abstract Base64BinaryType getContentElement();
|
||||
|
||||
}
|
||||
|
|
|
@ -400,7 +400,7 @@ public class Binary extends BaseBinary implements IBaseBinary {
|
|||
}
|
||||
|
||||
@Override
|
||||
Base64BinaryType getContentElement() {
|
||||
public Base64BinaryType getContentElement() {
|
||||
return getDataElement();
|
||||
}
|
||||
|
||||
|
|
|
@ -41,6 +41,6 @@ public abstract class BaseBinary extends Resource implements IBaseBinary {
|
|||
return this;
|
||||
}
|
||||
|
||||
abstract Base64BinaryType getContentElement();
|
||||
public abstract Base64BinaryType getContentElement();
|
||||
|
||||
}
|
||||
|
|
|
@ -392,7 +392,7 @@ public class Binary extends BaseBinary implements IBaseBinary {
|
|||
}
|
||||
|
||||
@Override
|
||||
Base64BinaryType getContentElement() {
|
||||
public Base64BinaryType getContentElement() {
|
||||
return getDataElement();
|
||||
}
|
||||
|
||||
|
|
|
@ -456,6 +456,20 @@ public class XhtmlNode implements IBaseXhtml {
|
|||
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() {
|
||||
return location;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue