Fix bug becuase Operation doesn't have copyright.
This commit is contained in:
parent
f696804509
commit
14348bb6f1
|
@ -533,11 +533,11 @@ public abstract class CanonicalResource extends DomainResource {
|
|||
}
|
||||
|
||||
// Manual code (from Configuration.txt)t:
|
||||
@Override
|
||||
@Override
|
||||
public String toString() {
|
||||
return fhirType()+"["+getUrl()+"]";
|
||||
}
|
||||
|
||||
|
||||
public String present() {
|
||||
if (hasTitle())
|
||||
return getTitle();
|
||||
|
@ -545,10 +545,14 @@ public abstract class CanonicalResource extends DomainResource {
|
|||
return getName();
|
||||
return toString();
|
||||
}
|
||||
|
||||
public String getVUrl() {
|
||||
|
||||
public String getVUrl() {
|
||||
return getUrl() + (hasVersion() ? "|"+getVersion() : "");
|
||||
}
|
||||
}
|
||||
|
||||
public boolean supportsCopyright() {
|
||||
return true;
|
||||
}
|
||||
// end addition
|
||||
|
||||
}
|
||||
|
|
|
@ -4779,5 +4779,11 @@ public class OperationDefinition extends CanonicalResource {
|
|||
public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION);
|
||||
|
||||
|
||||
|
||||
//Manual code (from Configuration.txt)t:
|
||||
public boolean supportsCopyright() {
|
||||
return false;
|
||||
}
|
||||
// end
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue