Leonardo Vannucci
2018-09-17 13c46f877d0540f22b16f80facd7e60de74490fa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
package it.digione.dg1cloud.ws.client.isd;
 
import java.util.List;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
 
@Component
@ConfigurationProperties("isharedoc.ws")
public class IsdProperties {
 
   private Endpoint endpoint;
   private Urp urp;
   private String username;
   private String password;
   private String notificationFrom;
   
   public Endpoint getEndpoint() {
       return endpoint;
   }
   public void setEndpoint(Endpoint endpoint) {
       this.endpoint = endpoint;
   }
   public Urp getUrp() {
       return urp;
   }
   public void setUrp(Urp urp) {
       this.urp = urp;
   }
   public String getUsername() {
       return username;
   }
   public void setUsername(String username) {
       this.username = username;
   }
   public String getPassword() {
       return password;
   }
   public void setPassword(String password) {
       this.password = password;
   }
   public String getNotificationFrom() {
       return notificationFrom;
   }
   public void setNotificationFrom(String notificationFrom) {
       this.notificationFrom = notificationFrom;
   }
   @Override
   public String toString() {
       return "IsdProperties{" + 
               "username='" + username + "'," +
               "endpoint=" + endpoint + "," +
               "notificationFrom=" + notificationFrom + "," +
               "urp=" + urp +
               "}";
   }
   
   public static class Endpoint {
       
       private String instance;
       public String getInstance() {
           return instance;
       }
       public void setInstance(String instance) {
           this.instance = instance;
       }
       
       @Override
       public String toString() {
           return "Endpoint{" + 
                   "instance='" + instance + "'" +
                   "}";
       }
   }
   
   public static class Urp {
       
       private String puid;
       private String mbox;
       private String storyboad;
       private String metaviewname;
       private String direction;
       private String transition;
       private List<Contact> contacts;
       
       public String getPuid() {
           return puid;
       }
       public void setPuid(String puid) {
           this.puid = puid;
       }
       public String getMbox() {
           return mbox;
       }
       public void setMbox(String mbox) {
           this.mbox = mbox;
       }
       public String getStoryboad() {
           return storyboad;
       }
       public void setStoryboad(String storyboad) {
           this.storyboad = storyboad;
       }
       public String getMetaviewname() {
           return metaviewname;
       }
       public void setMetaviewname(String metaviewname) {
           this.metaviewname = metaviewname;
       }
       public String getDirection() {
           return direction;
       }
       public void setDirection(String direction) {
           this.direction = direction;
       }
       public String getTransition() {
           return transition;
       }
       public void setTransition(String transition) {
           this.transition = transition;
       }
       public List<Contact> getContacts() {
           return contacts;
       }
       public void setContacts(List<Contact> contacts) {
           this.contacts = contacts;
       }
       @Override
       public String toString() {
           return "Urp{" + 
                   "puid='" + puid + "'," +
                   "mbox='" + mbox + "'," +
                   "storyboad='" + storyboad + "'," +
                   "metaviewname='" + metaviewname + "'," +
                   "direction='" + direction + "'," +
                   "transition='" + transition + "'," +
                   "contacts=" + contacts +
                   "}";
       }
       
       public static class Contact {
           private String type;
           private String referenceType;
           private String code;
           
           public String getType() {
               return type;
           }
           public void setType(String type) {
               this.type = type;
           }
           public String getReferenceType() {
               return referenceType;
           }
           public void setReferenceType(String referenceType) {
               this.referenceType = referenceType;
           }
           public String getCode() {
               return code;
           }
           public void setCode(String code) {
               this.code = code;
           }
           @Override
           public String toString() {
               return "Contacts{" + 
                       "type='" + type + "'," +
                       "referenceType='" + referenceType + "'," +
                       "code='" + code + "'" +
                       "}";
           }
       }
   }
}