Fix bug generating copyright

This commit is contained in:
Grahame Grieve 2020-09-14 18:08:44 +10:00
parent 78b61c4555
commit 8855fe1bc6
4 changed files with 29 additions and 15 deletions

View File

@ -1,16 +1,21 @@
@Override @Override
public String toString() { public String toString() {
return fhirType()+"["+getUrl()+"]"; return fhirType()+"["+getUrl()+"]";
} }
public String present() { public String present() {
if (hasTitle()) if (hasTitle())
return getTitle(); return getTitle();
if (hasName()) if (hasName())
return getName(); return getName();
return toString(); return toString();
} }
public String getVUrl() { public String getVUrl() {
return getUrl() + (hasVersion() ? "|"+getVersion() : ""); return getUrl() + (hasVersion() ? "|"+getVersion() : "");
} }
public boolean supportsCopyright() {
return true;
}

View File

@ -0,0 +1,3 @@
public boolean supportsCopyright() {
return false;
}

View File

@ -0,0 +1,3 @@
public boolean supportsCopyright() {
return false;
}

View File

@ -2922,6 +2922,9 @@ public class NamingSystem extends CanonicalResource {
*/ */
public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION);
public boolean supportsCopyright() {
return false;
}
} }