File tree Expand file tree Collapse file tree 9 files changed +1
-236
lines changed
tone-analyzer/src/main/java/com/ibm/watson/developer_cloud/tone_analyzer/v3 Expand file tree Collapse file tree 9 files changed +1
-236
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,7 @@ public ToneAnalyzer(String versionDate) {
54
54
setEndPoint (URL );
55
55
}
56
56
57
- Validator .isTrue ((versionDate != null ) && !versionDate .isEmpty (),
58
- "'version cannot be null." );
57
+ Validator .isTrue ((versionDate != null ) && !versionDate .isEmpty (), "version cannot be null." );
59
58
60
59
this .versionDate = versionDate ;
61
60
}
Original file line number Diff line number Diff line change @@ -65,31 +65,4 @@ public List<ToneCategory> getToneCategories() {
65
65
public String getWarning () {
66
66
return warning ;
67
67
}
68
-
69
- /**
70
- * Sets the tones.
71
- *
72
- * @param tones the new tones
73
- */
74
- public void setTones (final List <ToneScore > tones ) {
75
- this .tones = tones ;
76
- }
77
-
78
- /**
79
- * Sets the toneCategories.
80
- *
81
- * @param toneCategories the new toneCategories
82
- */
83
- public void setToneCategories (final List <ToneCategory > toneCategories ) {
84
- this .toneCategories = toneCategories ;
85
- }
86
-
87
- /**
88
- * Sets the warning.
89
- *
90
- * @param warning the new warning
91
- */
92
- public void setWarning (final String warning ) {
93
- this .warning = warning ;
94
- }
95
68
}
Original file line number Diff line number Diff line change @@ -105,58 +105,4 @@ public Long getInputFrom() {
105
105
public Long getInputTo () {
106
106
return inputTo ;
107
107
}
108
-
109
- /**
110
- * Sets the sentenceId.
111
- *
112
- * @param sentenceId the new sentenceId
113
- */
114
- public void setSentenceId (final long sentenceId ) {
115
- this .sentenceId = sentenceId ;
116
- }
117
-
118
- /**
119
- * Sets the text.
120
- *
121
- * @param text the new text
122
- */
123
- public void setText (final String text ) {
124
- this .text = text ;
125
- }
126
-
127
- /**
128
- * Sets the tones.
129
- *
130
- * @param tones the new tones
131
- */
132
- public void setTones (final List <ToneScore > tones ) {
133
- this .tones = tones ;
134
- }
135
-
136
- /**
137
- * Sets the toneCategories.
138
- *
139
- * @param toneCategories the new toneCategories
140
- */
141
- public void setToneCategories (final List <ToneCategory > toneCategories ) {
142
- this .toneCategories = toneCategories ;
143
- }
144
-
145
- /**
146
- * Sets the inputFrom.
147
- *
148
- * @param inputFrom the new inputFrom
149
- */
150
- public void setInputFrom (final long inputFrom ) {
151
- this .inputFrom = inputFrom ;
152
- }
153
-
154
- /**
155
- * Sets the inputTo.
156
- *
157
- * @param inputTo the new inputTo
158
- */
159
- public void setInputTo (final long inputTo ) {
160
- this .inputTo = inputTo ;
161
- }
162
108
}
Original file line number Diff line number Diff line change @@ -50,22 +50,4 @@ public DocumentAnalysis getDocumentTone() {
50
50
public List <SentenceAnalysis > getSentencesTone () {
51
51
return sentencesTone ;
52
52
}
53
-
54
- /**
55
- * Sets the documentTone.
56
- *
57
- * @param documentTone the new documentTone
58
- */
59
- public void setDocumentTone (final DocumentAnalysis documentTone ) {
60
- this .documentTone = documentTone ;
61
- }
62
-
63
- /**
64
- * Sets the sentencesTone.
65
- *
66
- * @param sentencesTone the new sentencesTone
67
- */
68
- public void setSentencesTone (final List <SentenceAnalysis > sentencesTone ) {
69
- this .sentencesTone = sentencesTone ;
70
- }
71
53
}
Original file line number Diff line number Diff line change @@ -61,31 +61,4 @@ public String getCategoryId() {
61
61
public String getCategoryName () {
62
62
return categoryName ;
63
63
}
64
-
65
- /**
66
- * Sets the tones.
67
- *
68
- * @param tones the new tones
69
- */
70
- public void setTones (final List <ToneScore > tones ) {
71
- this .tones = tones ;
72
- }
73
-
74
- /**
75
- * Sets the categoryId.
76
- *
77
- * @param categoryId the new categoryId
78
- */
79
- public void setCategoryId (final String categoryId ) {
80
- this .categoryId = categoryId ;
81
- }
82
-
83
- /**
84
- * Sets the categoryName.
85
- *
86
- * @param categoryName the new categoryName
87
- */
88
- public void setCategoryName (final String categoryName ) {
89
- this .categoryName = categoryName ;
90
- }
91
64
}
Original file line number Diff line number Diff line change @@ -61,31 +61,4 @@ public String getToneId() {
61
61
public String getToneName () {
62
62
return toneName ;
63
63
}
64
-
65
- /**
66
- * Sets the score.
67
- *
68
- * @param score the new score
69
- */
70
- public void setScore (final Double score ) {
71
- this .score = score ;
72
- }
73
-
74
- /**
75
- * Sets the toneId.
76
- *
77
- * @param toneId the new toneId
78
- */
79
- public void setToneId (final String toneId ) {
80
- this .toneId = toneId ;
81
- }
82
-
83
- /**
84
- * Sets the toneName.
85
- *
86
- * @param toneName the new toneName
87
- */
88
- public void setToneName (final String toneName ) {
89
- this .toneName = toneName ;
90
- }
91
64
}
Original file line number Diff line number Diff line change @@ -68,31 +68,4 @@ public String getToneId() {
68
68
public String getToneName () {
69
69
return toneName ;
70
70
}
71
-
72
- /**
73
- * Sets the score.
74
- *
75
- * @param score the new score
76
- */
77
- public void setScore (final Double score ) {
78
- this .score = score ;
79
- }
80
-
81
- /**
82
- * Sets the toneId.
83
- *
84
- * @param toneId the new toneId
85
- */
86
- public void setToneId (final String toneId ) {
87
- this .toneId = toneId ;
88
- }
89
-
90
- /**
91
- * Sets the toneName.
92
- *
93
- * @param toneName the new toneName
94
- */
95
- public void setToneName (final String toneName ) {
96
- this .toneName = toneName ;
97
- }
98
71
}
Original file line number Diff line number Diff line change @@ -48,22 +48,4 @@ public List<UtteranceAnalysis> getUtterancesTone() {
48
48
public String getWarning () {
49
49
return warning ;
50
50
}
51
-
52
- /**
53
- * Sets the utterancesTone.
54
- *
55
- * @param utterancesTone the new utterancesTone
56
- */
57
- public void setUtterancesTone (final List <UtteranceAnalysis > utterancesTone ) {
58
- this .utterancesTone = utterancesTone ;
59
- }
60
-
61
- /**
62
- * Sets the warning.
63
- *
64
- * @param warning the new warning
65
- */
66
- public void setWarning (final String warning ) {
67
- this .warning = warning ;
68
- }
69
51
}
Original file line number Diff line number Diff line change @@ -76,40 +76,4 @@ public List<ToneChatScore> getTones() {
76
76
public String getError () {
77
77
return error ;
78
78
}
79
-
80
- /**
81
- * Sets the utteranceId.
82
- *
83
- * @param utteranceId the new utteranceId
84
- */
85
- public void setUtteranceId (final long utteranceId ) {
86
- this .utteranceId = utteranceId ;
87
- }
88
-
89
- /**
90
- * Sets the utteranceText.
91
- *
92
- * @param utteranceText the new utteranceText
93
- */
94
- public void setUtteranceText (final String utteranceText ) {
95
- this .utteranceText = utteranceText ;
96
- }
97
-
98
- /**
99
- * Sets the tones.
100
- *
101
- * @param tones the new tones
102
- */
103
- public void setTones (final List <ToneChatScore > tones ) {
104
- this .tones = tones ;
105
- }
106
-
107
- /**
108
- * Sets the error.
109
- *
110
- * @param error the new error
111
- */
112
- public void setError (final String error ) {
113
- this .error = error ;
114
- }
115
79
}
You can’t perform that action at this time.
0 commit comments