Leonardo Vannucci
2018-09-17 13c46f877d0540f22b16f80facd7e60de74490fa
dg1cloud-core/src/main/java/it/digione/dg1cloud/ws/client/isd/IsdProperties.java
....@@ -1,5 +1,7 @@
11 package it.digione.dg1cloud.ws.client.isd;
22
3
+import java.util.List;
4
+
35 import org.springframework.boot.context.properties.ConfigurationProperties;
46 import org.springframework.stereotype.Component;
57
....@@ -11,6 +13,7 @@
1113 private Urp urp;
1214 private String username;
1315 private String password;
16
+ private String notificationFrom;
1417
1518 public Endpoint getEndpoint() {
1619 return endpoint;
....@@ -36,11 +39,18 @@
3639 public void setPassword(String password) {
3740 this.password = password;
3841 }
42
+ public String getNotificationFrom() {
43
+ return notificationFrom;
44
+ }
45
+ public void setNotificationFrom(String notificationFrom) {
46
+ this.notificationFrom = notificationFrom;
47
+ }
3948 @Override
4049 public String toString() {
4150 return "IsdProperties{" +
4251 "username='" + username + "'," +
4352 "endpoint=" + endpoint + "," +
53
+ "notificationFrom=" + notificationFrom + "," +
4454 "urp=" + urp +
4555 "}";
4656 }
....@@ -70,6 +80,9 @@
7080 private String storyboad;
7181 private String metaviewname;
7282 private String direction;
83
+ private String transition;
84
+ private List<Contact> contacts;
85
+
7386 public String getPuid() {
7487 return puid;
7588 }
....@@ -100,6 +113,18 @@
100113 public void setDirection(String direction) {
101114 this.direction = direction;
102115 }
116
+ public String getTransition() {
117
+ return transition;
118
+ }
119
+ public void setTransition(String transition) {
120
+ this.transition = transition;
121
+ }
122
+ public List<Contact> getContacts() {
123
+ return contacts;
124
+ }
125
+ public void setContacts(List<Contact> contacts) {
126
+ this.contacts = contacts;
127
+ }
103128 @Override
104129 public String toString() {
105130 return "Urp{" +
....@@ -107,8 +132,43 @@
107132 "mbox='" + mbox + "'," +
108133 "storyboad='" + storyboad + "'," +
109134 "metaviewname='" + metaviewname + "'," +
110
- "direction='" + direction + "'" +
135
+ "direction='" + direction + "'," +
136
+ "transition='" + transition + "'," +
137
+ "contacts=" + contacts +
111138 "}";
112139 }
140
+
141
+ public static class Contact {
142
+ private String type;
143
+ private String referenceType;
144
+ private String code;
145
+
146
+ public String getType() {
147
+ return type;
148
+ }
149
+ public void setType(String type) {
150
+ this.type = type;
151
+ }
152
+ public String getReferenceType() {
153
+ return referenceType;
154
+ }
155
+ public void setReferenceType(String referenceType) {
156
+ this.referenceType = referenceType;
157
+ }
158
+ public String getCode() {
159
+ return code;
160
+ }
161
+ public void setCode(String code) {
162
+ this.code = code;
163
+ }
164
+ @Override
165
+ public String toString() {
166
+ return "Contacts{" +
167
+ "type='" + type + "'," +
168
+ "referenceType='" + referenceType + "'," +
169
+ "code='" + code + "'" +
170
+ "}";
171
+ }
172
+ }
113173 }
114174 }