debugging improvements
This commit is contained in:
parent
3f6207bf4f
commit
dd48811c86
|
@ -86,6 +86,11 @@ public class CanonicalResourceManager<T extends CanonicalResource> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract CanonicalResource loadResource() throws FHIRException;
|
public abstract CanonicalResource loadResource() throws FHIRException;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return type+"/"+id+": "+url+"|"+version;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class CanonicalListSorter implements Comparator<CanonicalResource> {
|
public class CanonicalListSorter implements Comparator<CanonicalResource> {
|
||||||
|
@ -142,6 +147,12 @@ public class CanonicalResourceManager<T extends CanonicalResource> {
|
||||||
public boolean hasVersion() {
|
public boolean hasVersion() {
|
||||||
return resource != null ? resource.hasVersion() : proxy.getVersion() != null;
|
return resource != null ? resource.hasVersion() : proxy.getVersion() != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return resource != null ? resource.fhirType()+"/"+resource.getId()+": "+resource.getUrl()+"|"+resource.getVersion() : proxy.toString();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class MetadataResourceVersionComparator<T1 extends CachedCanonicalResource<T>> implements Comparator<T1> {
|
public class MetadataResourceVersionComparator<T1 extends CachedCanonicalResource<T>> implements Comparator<T1> {
|
||||||
|
|
Loading…
Reference in New Issue