[Schema-Dump] changed the model to allow to change the description annotation w.r.t. the specific semantics of the field - part 5

This commit is contained in:
Miriam Baglioni 2021-11-18 11:55:43 +01:00
parent 61400f22c2
commit 823b4cc210
1 changed files with 11 additions and 0 deletions

View File

@ -28,4 +28,15 @@ class OrganizationPid implements Serializable {
public void setValue(String value) { public void setValue(String value) {
this.value = value; this.value = value;
} }
public static OrganizationPid newInstance(String scheme, String value) {
OrganizationPid cf = new OrganizationPid();
cf.setScheme(scheme);
cf.setValue(value);
return cf;
}
} }