Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

Commit

Permalink
[RELEASE]'release-1.7' into 'master'
Browse files Browse the repository at this point in the history
  • Loading branch information
drferreira committed Jun 7, 2019
2 parents 9670d7c + 7ab5051 commit f1ec749
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion survey-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<groupId>org.ccem.otus</groupId>
<artifactId>survey-model</artifactId>
<packaging>jar</packaging>
<version>1.6</version>
<version>1.7</version>
<name>survey-model</name>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public class SurveyForm {
private String objectType;
private SurveyFormType surveyFormType;
private SurveyTemplate surveyTemplate;
private String name;
private String acronym;
private Integer version;
private Boolean isDiscarded;

Expand All @@ -47,6 +49,10 @@ public SurveyTemplate getSurveyTemplate() {
return surveyTemplate;
}

public void setSurveyTemplate(SurveyTemplate surveyTemplate) {
this.surveyTemplate = surveyTemplate;
}

public LocalDateTime getSendingDate() {
return sendingDate;
}
Expand All @@ -67,6 +73,22 @@ public String getSender() {
return sender;
}

public void setName(String name) {
this.name = name;
}

public void setAcronym(String acronym) {
this.acronym = acronym;
}

public String getAcronym() {
return acronym;
}

public String getName() {
return name;
}

public Integer getVersion() {
return version;
}
Expand Down Expand Up @@ -107,5 +129,4 @@ public static GsonBuilder getGsonBuilder() {
builder.serializeNulls();
return builder;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ public void should_serialize_survey_form(){
"\"surveyTemplate\":{\"extents\":\"StudioObject\",\"objectType\":\"Survey\",\"oid\":\"dXNlclVVSUQ6W3VuZGVmaW5lZF1zdXJ2ZXlVVUlEOls3MDZlMTE2MC02M2I5LTExZTYtOWJjNy0xNWVhN2RkZDA4NTZdcmVwb3NpdG9yeVVVSUQ6WyBOb3QgZG9uZSB5ZXQgXQ==\",\"identity\":{\"extents\":null,\"objectType\":null,\"name\":\"TERMO DE CONSENTIMENTO LIVRE E ESCLARECIDO\",\"acronym\":null,\"recommendedTo\":null,\"description\":null,\"keywords\":null},\"dataSources\":null,\"metainfo\":{\"extents\":null,\"objectType\":\"SurveyMetaInfo\",\"creationDatetime\":null,\"otusStudioVersion\":null}," +
"\"itemContainer\":[]," +
"\"navigationList\":[]}," +
"\"name\":null," +
"\"acronym\":null," +
"\"version\":null," +
"\"isDiscarded\":false" +
"}";
Expand Down

0 comments on commit f1ec749

Please sign in to comment.