This commit is contained in:
Grahame Grieve 2023-10-12 20:12:43 +11:00
parent 1207e32e20
commit 4917dd7815
3 changed files with 4 additions and 3 deletions

View File

@ -158,7 +158,7 @@ public class PECodeGenerator {
w(b, " return theThing;");
w(b, " }");
w(b);
jdoc(b, "Save this profile class into an existing resource (overwriting enything that exists in the profile) ", 2, true);
jdoc(b, "Save this profile class into an existing resource (overwriting anything that exists in the profile) ", 2, true);
w(b, " public void save(IWorkerContext context, "+base+" dest, boolean nulls) {");
w(b, " workerContext = context;");
w(b, " PEBuilder builder = new PEBuilder(context, PEElementPropertiesPolicy.EXTENSION, true);");

View File

@ -158,7 +158,7 @@ public class PECodeGenerator {
w(b, " return theThing;");
w(b, " }");
w(b);
jdoc(b, "Save this profile class into an existing resource (overwriting enything that exists in the profile) ", 2, true);
jdoc(b, "Save this profile class into an existing resource (overwriting anything that exists in the profile) ", 2, true);
w(b, " public void save(IWorkerContext context, "+base+" dest, boolean nulls) {");
w(b, " workerContext = context;");
w(b, " PEBuilder builder = new PEBuilder(context, PEElementPropertiesPolicy.EXTENSION, true);");

View File

@ -39,6 +39,7 @@ public class TestProfile extends PEGeneratedBase {
private String id; //
private List<Extension> extensions = new ArrayList<>(); // Extension
private String simple; // A simple extension
// @ProfileAnnotation(max = 1, min=1, path="Observation.extension('url')", doco = "blah", type="")
private TestComplexExtension complex; // A complex extension
private Identifier identifier; // Business Identifier for observation
private String status;// @NotNull // registered | preliminary | final | amended +
@ -139,7 +140,7 @@ public class TestProfile extends PEGeneratedBase {
}
/**
* Save this profile class into an existing resource (overwriting enything that
* Save this profile class into an existing resource (overwriting anything that
* exists in the profile)
*
*/