Skip to content

Commit

Permalink
Merge branch 'main' into jonathan/codegen_map_java
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan-Casey <[email protected]>
  • Loading branch information
jonathan-casey authored Nov 3, 2023
2 parents 5cf9d21 + 26a0b79 commit d09af97
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
"author": "accordproject.org",
"license": "Apache-2.0",
"devDependencies": {
"@accordproject/concerto-cto": "3.14.2",
"@accordproject/concerto-cto": "3.14.2",
"@babel/preset-env": "7.16.11",
"babel-loader": "8.2.3",
Expand Down
23 changes: 13 additions & 10 deletions test/codegen/__snapshots__/codegen.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1071,11 +1071,11 @@ import com.fasterxml.jackson.annotation.*;
public class Company extends Concept {
private String name;
private Address headquarters;
private Map<String, String> companyProperties = new HashMap<>();
private Map<SSN, Employee> employeeDirectory = new HashMap<>();
private Map<SSN, TShirtSizeType> employeeTShirtSizes = new HashMap<>();
private Map<String, Concept> employeeProfiles = new HashMap<>();
private Map<String, SSN> employeeSocialSecurityNumbers = new HashMap<>();
private CompanyProperties companyProperties;
private EmployeeDirectory employeeDirectory;
private EmployeeTShirtSizes employeeTShirtSizes;
private EmployeeProfiles employeeProfiles;
private EmployeeSocialSecurityNumbers employeeSocialSecurityNumbers;
public String getName() {
return this.name;
}
Expand Down Expand Up @@ -1273,6 +1273,7 @@ public abstract class Person extends Participant {
private double height;
private java.util.Date dob;
private Map<KinName, KinTelephone> nextOfKin = new HashMap<>();

public String getEmail() {
return this.email;
}
Expand Down Expand Up @@ -6619,11 +6620,12 @@ import com.fasterxml.jackson.annotation.*;
public class Company extends Concept {
private String name;
private Address headquarters;
private Map<String, String> companyProperties = new HashMap<>();
private Map<SSN, Employee> employeeDirectory = new HashMap<>();
private Map<SSN, TShirtSizeType> employeeTShirtSizes = new HashMap<>();
private Map<String, Concept> employeeProfiles = new HashMap<>();
private Map<String, SSN> employeeSocialSecurityNumbers = new HashMap<>();
private CompanyProperties companyProperties;
private EmployeeDirectory employeeDirectory;
private EmployeeTShirtSizes employeeTShirtSizes;
private EmployeeProfiles employeeProfiles;
private EmployeeSocialSecurityNumbers employeeSocialSecurityNumbers;

public String getName() {
return this.name;
}
Expand Down Expand Up @@ -6821,6 +6823,7 @@ public abstract class Person extends Participant {
private double height;
private java.util.Date dob;
private Map<KinName, KinTelephone> nextOfKin = new HashMap<>();

public String getEmail() {
return this.email;
}
Expand Down

0 comments on commit d09af97

Please sign in to comment.