update models
This commit is contained in:
parent
18510f380c
commit
32d174b6b6
|
@ -0,0 +1,37 @@
|
|||
package org.opencdmp.commonmodels.models.descriptiotemplate;
|
||||
|
||||
import java.time.Instant;
|
||||
|
||||
public class DefaultValueEntity {
|
||||
|
||||
private String textValue;
|
||||
|
||||
private Instant dateValue;
|
||||
|
||||
private Boolean booleanValue;
|
||||
|
||||
public String getTextValue() {
|
||||
return this.textValue;
|
||||
}
|
||||
|
||||
public void setTextValue(String textValue) {
|
||||
this.textValue = textValue;
|
||||
}
|
||||
|
||||
public Instant getDateValue() {
|
||||
return this.dateValue;
|
||||
}
|
||||
|
||||
public void setDateValue(Instant dateValue) {
|
||||
this.dateValue = dateValue;
|
||||
}
|
||||
|
||||
public Boolean getBooleanValue() {
|
||||
return this.booleanValue;
|
||||
}
|
||||
|
||||
public void setBooleanValue(Boolean booleanValue) {
|
||||
this.booleanValue = booleanValue;
|
||||
}
|
||||
}
|
||||
|
|
@ -11,11 +11,9 @@ public class FieldModel {
|
|||
|
||||
private Integer ordinal;
|
||||
|
||||
private String numbering;
|
||||
|
||||
private List<String> schematics;
|
||||
|
||||
private String defaultValue;
|
||||
private DefaultValueEntity defaultValue;
|
||||
|
||||
private List<FieldValidationType> validations;
|
||||
|
||||
|
@ -39,14 +37,6 @@ public class FieldModel {
|
|||
this.ordinal = ordinal;
|
||||
}
|
||||
|
||||
public String getNumbering() {
|
||||
return numbering;
|
||||
}
|
||||
|
||||
public void setNumbering(String numbering) {
|
||||
this.numbering = numbering;
|
||||
}
|
||||
|
||||
public List<String> getSchematics() {
|
||||
return schematics;
|
||||
}
|
||||
|
@ -55,11 +45,11 @@ public class FieldModel {
|
|||
this.schematics = schematics;
|
||||
}
|
||||
|
||||
public String getDefaultValue() {
|
||||
public DefaultValueEntity getDefaultValue() {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
public void setDefaultValue(String defaultValue) {
|
||||
public void setDefaultValue(DefaultValueEntity defaultValue) {
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
|
||||
|
|
|
@ -11,8 +11,6 @@ public class FieldSetModel {
|
|||
|
||||
private Integer ordinal;
|
||||
|
||||
private String numbering;
|
||||
|
||||
private String title;
|
||||
|
||||
private String description;
|
||||
|
@ -43,14 +41,6 @@ public class FieldSetModel {
|
|||
this.ordinal = ordinal;
|
||||
}
|
||||
|
||||
public String getNumbering() {
|
||||
return numbering;
|
||||
}
|
||||
|
||||
public void setNumbering(String numbering) {
|
||||
this.numbering = numbering;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
|
|
@ -11,10 +11,6 @@ public class SectionModel {
|
|||
|
||||
private Integer ordinal;
|
||||
|
||||
private Boolean defaultVisibility;
|
||||
|
||||
private String numbering;
|
||||
|
||||
private String title;
|
||||
|
||||
private String description;
|
||||
|
@ -41,22 +37,6 @@ public class SectionModel {
|
|||
this.ordinal = ordinal;
|
||||
}
|
||||
|
||||
public Boolean getDefaultVisibility() {
|
||||
return defaultVisibility;
|
||||
}
|
||||
|
||||
public void setDefaultVisibility(Boolean defaultVisibility) {
|
||||
this.defaultVisibility = defaultVisibility;
|
||||
}
|
||||
|
||||
public String getNumbering() {
|
||||
return numbering;
|
||||
}
|
||||
|
||||
public void setNumbering(String numbering) {
|
||||
this.numbering = numbering;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue