1 | package pl.zankowski.iextrading4j.api.refdata; | |
2 | ||
3 | import com.fasterxml.jackson.annotation.JsonCreator; | |
4 | import com.fasterxml.jackson.annotation.JsonProperty; | |
5 | import com.google.common.base.MoreObjects; | |
6 | import com.google.common.base.Objects; | |
7 | ||
8 | import java.math.BigDecimal; | |
9 | import java.time.LocalDate; | |
10 | import java.time.LocalDateTime; | |
11 | ||
12 | public class IEXDividends extends DailyList { | |
13 | ||
14 | private static final long serialVersionUID = -7804862750801760877L; | |
15 | ||
16 | private final EventType eventType; | |
17 | private final String symbolInINETSymbology; | |
18 | private final String symbolInCQSSymbology; | |
19 | private final String symbolInCMSSymbology; | |
20 | private final String securityName; | |
21 | private final String companyName; | |
22 | private final LocalDate declarationDate; | |
23 | private final String amountDescription; | |
24 | private final PaymentFrequency paymentFrequency; | |
25 | private final LocalDate exDate; | |
26 | private final LocalDate recordDate; | |
27 | private final LocalDate paymentDate; | |
28 | private final DividendTypeId dividendTypeId; | |
29 | private final BigDecimal stockAdjustmentFactor; | |
30 | private final BigDecimal stockAmount; | |
31 | private final BigDecimal cashAmount; | |
32 | private final BigDecimal postSplitShares; | |
33 | private final BigDecimal preSplitShares; | |
34 | private final QualifiedDividendType qualifiedDividend; | |
35 | private final BigDecimal exercisePriceAmount; | |
36 | private final LocalDate electionorExpirationDate; | |
37 | private final BigDecimal grossAmount; | |
38 | private final BigDecimal netAmount; | |
39 | private final String basisNotes; | |
40 | private final String notesForEachEntry; | |
41 | private final LocalDateTime recordUpdateTime; | |
42 | ||
43 | @JsonCreator | |
44 | public IEXDividends( | |
45 | @JsonProperty("RecordID") final String recordId, | |
46 | @JsonProperty("DailyListTimestamp") final LocalDateTime dailyListTimestamp, | |
47 | @JsonProperty("EventType") final EventType eventType, | |
48 | @JsonProperty("SymbolinINETSymbology") final String symbolInINETSymbology, | |
49 | @JsonProperty("SymbolinCQSSymbology") final String symbolInCQSSymbology, | |
50 | @JsonProperty("SymbolinCMSSymbology") final String symbolInCMSSymbology, | |
51 | @JsonProperty("SecurityName") final String securityName, | |
52 | @JsonProperty("CompanyName") final String companyName, | |
53 | @JsonProperty("DeclarationDate") final LocalDate declarationDate, | |
54 | @JsonProperty("AmountDescription") final String amountDescription, | |
55 | @JsonProperty("PaymentFrequency") final PaymentFrequency paymentFrequency, | |
56 | @JsonProperty("ExDate") final LocalDate exDate, | |
57 | @JsonProperty("RecordDate") final LocalDate recordDate, | |
58 | @JsonProperty("PaymentDate") final LocalDate paymentDate, | |
59 | @JsonProperty("DividendTypeID") final DividendTypeId dividendTypeId, | |
60 | @JsonProperty("StockAdjustmentFactor") final BigDecimal stockAdjustmentFactor, | |
61 | @JsonProperty("StockAmount") final BigDecimal stockAmount, | |
62 | @JsonProperty("CashAmount") final BigDecimal cashAmount, | |
63 | @JsonProperty("PostSplitShares") final BigDecimal postSplitShares, | |
64 | @JsonProperty("PreSplitShares") final BigDecimal preSplitShares, | |
65 | @JsonProperty("QualifiedDividend") final QualifiedDividendType qualifiedDividend, | |
66 | @JsonProperty("ExercisePriceAmount") final BigDecimal exercisePriceAmount, | |
67 | @JsonProperty("ElectionorExpirationDate") final LocalDate electionorExpirationDate, | |
68 | @JsonProperty("GrossAmount") final BigDecimal grossAmount, | |
69 | @JsonProperty("NetAmount") final BigDecimal netAmount, | |
70 | @JsonProperty("BasisNotes") final String basisNotes, | |
71 | @JsonProperty("NotesforEachEntry") final String notesForEachEntry, | |
72 | @JsonProperty("RecordUpdateTime") final LocalDateTime recordUpdateTime) { | |
73 | super(recordId, dailyListTimestamp); | |
74 | this.eventType = eventType; | |
75 | this.symbolInINETSymbology = symbolInINETSymbology; | |
76 | this.symbolInCQSSymbology = symbolInCQSSymbology; | |
77 | this.symbolInCMSSymbology = symbolInCMSSymbology; | |
78 | this.securityName = securityName; | |
79 | this.companyName = companyName; | |
80 | this.declarationDate = declarationDate; | |
81 | this.amountDescription = amountDescription; | |
82 | this.paymentFrequency = paymentFrequency; | |
83 | this.exDate = exDate; | |
84 | this.recordDate = recordDate; | |
85 | this.paymentDate = paymentDate; | |
86 | this.dividendTypeId = dividendTypeId; | |
87 | this.stockAdjustmentFactor = stockAdjustmentFactor; | |
88 | this.stockAmount = stockAmount; | |
89 | this.cashAmount = cashAmount; | |
90 | this.postSplitShares = postSplitShares; | |
91 | this.preSplitShares = preSplitShares; | |
92 | this.qualifiedDividend = qualifiedDividend; | |
93 | this.exercisePriceAmount = exercisePriceAmount; | |
94 | this.electionorExpirationDate = electionorExpirationDate; | |
95 | this.grossAmount = grossAmount; | |
96 | this.netAmount = netAmount; | |
97 | this.basisNotes = basisNotes; | |
98 | this.notesForEachEntry = notesForEachEntry; | |
99 | this.recordUpdateTime = recordUpdateTime; | |
100 | } | |
101 | ||
102 | public EventType getEventType() { | |
103 |
1
1. getEventType : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getEventType → KILLED |
return eventType; |
104 | } | |
105 | ||
106 | public String getSymbolInINETSymbology() { | |
107 |
1
1. getSymbolInINETSymbology : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getSymbolInINETSymbology → KILLED |
return symbolInINETSymbology; |
108 | } | |
109 | ||
110 | public String getSymbolInCQSSymbology() { | |
111 |
1
1. getSymbolInCQSSymbology : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getSymbolInCQSSymbology → KILLED |
return symbolInCQSSymbology; |
112 | } | |
113 | ||
114 | public String getSymbolInCMSSymbology() { | |
115 |
1
1. getSymbolInCMSSymbology : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getSymbolInCMSSymbology → KILLED |
return symbolInCMSSymbology; |
116 | } | |
117 | ||
118 | public String getSecurityName() { | |
119 |
1
1. getSecurityName : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getSecurityName → KILLED |
return securityName; |
120 | } | |
121 | ||
122 | public String getCompanyName() { | |
123 |
1
1. getCompanyName : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getCompanyName → KILLED |
return companyName; |
124 | } | |
125 | ||
126 | public LocalDate getDeclarationDate() { | |
127 |
1
1. getDeclarationDate : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getDeclarationDate → KILLED |
return declarationDate; |
128 | } | |
129 | ||
130 | public String getAmountDescription() { | |
131 |
1
1. getAmountDescription : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getAmountDescription → KILLED |
return amountDescription; |
132 | } | |
133 | ||
134 | public PaymentFrequency getPaymentFrequency() { | |
135 |
1
1. getPaymentFrequency : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getPaymentFrequency → KILLED |
return paymentFrequency; |
136 | } | |
137 | ||
138 | public LocalDate getExDate() { | |
139 |
1
1. getExDate : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getExDate → KILLED |
return exDate; |
140 | } | |
141 | ||
142 | public LocalDate getRecordDate() { | |
143 |
1
1. getRecordDate : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getRecordDate → KILLED |
return recordDate; |
144 | } | |
145 | ||
146 | public LocalDate getPaymentDate() { | |
147 |
1
1. getPaymentDate : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getPaymentDate → KILLED |
return paymentDate; |
148 | } | |
149 | ||
150 | public DividendTypeId getDividendTypeId() { | |
151 |
1
1. getDividendTypeId : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getDividendTypeId → KILLED |
return dividendTypeId; |
152 | } | |
153 | ||
154 | public BigDecimal getStockAdjustmentFactor() { | |
155 |
1
1. getStockAdjustmentFactor : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getStockAdjustmentFactor → KILLED |
return stockAdjustmentFactor; |
156 | } | |
157 | ||
158 | public BigDecimal getStockAmount() { | |
159 |
1
1. getStockAmount : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getStockAmount → KILLED |
return stockAmount; |
160 | } | |
161 | ||
162 | public BigDecimal getCashAmount() { | |
163 |
1
1. getCashAmount : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getCashAmount → KILLED |
return cashAmount; |
164 | } | |
165 | ||
166 | public BigDecimal getPostSplitShares() { | |
167 |
1
1. getPostSplitShares : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getPostSplitShares → KILLED |
return postSplitShares; |
168 | } | |
169 | ||
170 | public BigDecimal getPreSplitShares() { | |
171 |
1
1. getPreSplitShares : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getPreSplitShares → KILLED |
return preSplitShares; |
172 | } | |
173 | ||
174 | public QualifiedDividendType getQualifiedDividend() { | |
175 |
1
1. getQualifiedDividend : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getQualifiedDividend → KILLED |
return qualifiedDividend; |
176 | } | |
177 | ||
178 | public BigDecimal getExercisePriceAmount() { | |
179 |
1
1. getExercisePriceAmount : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getExercisePriceAmount → KILLED |
return exercisePriceAmount; |
180 | } | |
181 | ||
182 | public LocalDate getElectionorExpirationDate() { | |
183 |
1
1. getElectionorExpirationDate : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getElectionorExpirationDate → KILLED |
return electionorExpirationDate; |
184 | } | |
185 | ||
186 | public BigDecimal getGrossAmount() { | |
187 |
1
1. getGrossAmount : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getGrossAmount → KILLED |
return grossAmount; |
188 | } | |
189 | ||
190 | public BigDecimal getNetAmount() { | |
191 |
1
1. getNetAmount : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getNetAmount → KILLED |
return netAmount; |
192 | } | |
193 | ||
194 | public String getBasisNotes() { | |
195 |
1
1. getBasisNotes : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getBasisNotes → KILLED |
return basisNotes; |
196 | } | |
197 | ||
198 | public String getNotesForEachEntry() { | |
199 |
1
1. getNotesForEachEntry : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getNotesForEachEntry → KILLED |
return notesForEachEntry; |
200 | } | |
201 | ||
202 | public LocalDateTime getRecordUpdateTime() { | |
203 |
1
1. getRecordUpdateTime : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXDividends::getRecordUpdateTime → KILLED |
return recordUpdateTime; |
204 | } | |
205 | ||
206 | @Override | |
207 | public boolean equals(final Object o) { | |
208 |
2
1. equals : negated conditional → KILLED 2. equals : replaced boolean return with false for pl/zankowski/iextrading4j/api/refdata/IEXDividends::equals → KILLED |
if (this == o) return true; |
209 |
3
1. equals : negated conditional → KILLED 2. equals : negated conditional → KILLED 3. equals : replaced boolean return with true for pl/zankowski/iextrading4j/api/refdata/IEXDividends::equals → KILLED |
if (o == null || getClass() != o.getClass()) return false; |
210 |
2
1. equals : negated conditional → KILLED 2. equals : replaced boolean return with true for pl/zankowski/iextrading4j/api/refdata/IEXDividends::equals → KILLED |
if (!super.equals(o)) return false; |
211 | final IEXDividends IEXDividends = (IEXDividends) o; | |
212 |
2
1. equals : negated conditional → KILLED 2. equals : replaced boolean return with true for pl/zankowski/iextrading4j/api/refdata/IEXDividends::equals → KILLED |
return eventType == IEXDividends.eventType && |
213 |
1
1. equals : negated conditional → KILLED |
Objects.equal(symbolInINETSymbology, IEXDividends.symbolInINETSymbology) && |
214 |
1
1. equals : negated conditional → KILLED |
Objects.equal(symbolInCQSSymbology, IEXDividends.symbolInCQSSymbology) && |
215 |
1
1. equals : negated conditional → KILLED |
Objects.equal(symbolInCMSSymbology, IEXDividends.symbolInCMSSymbology) && |
216 |
1
1. equals : negated conditional → KILLED |
Objects.equal(securityName, IEXDividends.securityName) && |
217 |
1
1. equals : negated conditional → KILLED |
Objects.equal(companyName, IEXDividends.companyName) && |
218 |
1
1. equals : negated conditional → KILLED |
Objects.equal(declarationDate, IEXDividends.declarationDate) && |
219 |
2
1. equals : negated conditional → KILLED 2. equals : negated conditional → KILLED |
Objects.equal(amountDescription, IEXDividends.amountDescription) && |
220 | paymentFrequency == IEXDividends.paymentFrequency && | |
221 |
1
1. equals : negated conditional → KILLED |
Objects.equal(exDate, IEXDividends.exDate) && |
222 |
1
1. equals : negated conditional → KILLED |
Objects.equal(recordDate, IEXDividends.recordDate) && |
223 |
2
1. equals : negated conditional → KILLED 2. equals : negated conditional → KILLED |
Objects.equal(paymentDate, IEXDividends.paymentDate) && |
224 | dividendTypeId == IEXDividends.dividendTypeId && | |
225 |
1
1. equals : negated conditional → KILLED |
Objects.equal(stockAdjustmentFactor, IEXDividends.stockAdjustmentFactor) && |
226 |
1
1. equals : negated conditional → KILLED |
Objects.equal(stockAmount, IEXDividends.stockAmount) && |
227 |
1
1. equals : negated conditional → KILLED |
Objects.equal(cashAmount, IEXDividends.cashAmount) && |
228 |
1
1. equals : negated conditional → KILLED |
Objects.equal(postSplitShares, IEXDividends.postSplitShares) && |
229 |
2
1. equals : negated conditional → KILLED 2. equals : negated conditional → KILLED |
Objects.equal(preSplitShares, IEXDividends.preSplitShares) && |
230 | qualifiedDividend == IEXDividends.qualifiedDividend && | |
231 |
1
1. equals : negated conditional → KILLED |
Objects.equal(exercisePriceAmount, IEXDividends.exercisePriceAmount) && |
232 |
1
1. equals : negated conditional → KILLED |
Objects.equal(electionorExpirationDate, IEXDividends.electionorExpirationDate) && |
233 |
1
1. equals : negated conditional → KILLED |
Objects.equal(grossAmount, IEXDividends.grossAmount) && |
234 |
1
1. equals : negated conditional → KILLED |
Objects.equal(netAmount, IEXDividends.netAmount) && |
235 |
1
1. equals : negated conditional → KILLED |
Objects.equal(basisNotes, IEXDividends.basisNotes) && |
236 |
1
1. equals : negated conditional → KILLED |
Objects.equal(notesForEachEntry, IEXDividends.notesForEachEntry) && |
237 |
1
1. equals : negated conditional → KILLED |
Objects.equal(recordUpdateTime, IEXDividends.recordUpdateTime); |
238 | } | |
239 | ||
240 | @Override | |
241 | public int hashCode() { | |
242 |
1
1. hashCode : replaced int return with 0 for pl/zankowski/iextrading4j/api/refdata/IEXDividends::hashCode → KILLED |
return Objects.hashCode(super.hashCode(), eventType, symbolInINETSymbology, symbolInCQSSymbology, |
243 | symbolInCMSSymbology, securityName, companyName, declarationDate, amountDescription, | |
244 | paymentFrequency, exDate, recordDate, paymentDate, dividendTypeId, stockAdjustmentFactor, | |
245 | stockAmount, cashAmount, postSplitShares, preSplitShares, qualifiedDividend, exercisePriceAmount, | |
246 | electionorExpirationDate, grossAmount, netAmount, basisNotes, notesForEachEntry, recordUpdateTime); | |
247 | } | |
248 | ||
249 | @Override | |
250 | public String toString() { | |
251 |
1
1. toString : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/IEXDividends::toString → KILLED |
return MoreObjects.toStringHelper(this) |
252 | .add("eventType", eventType) | |
253 | .add("symbolInINETSymbology", symbolInINETSymbology) | |
254 | .add("symbolInCQSSymbology", symbolInCQSSymbology) | |
255 | .add("symbolInCMSSymbology", symbolInCMSSymbology) | |
256 | .add("securityName", securityName) | |
257 | .add("companyName", companyName) | |
258 | .add("declarationDate", declarationDate) | |
259 | .add("amountDescription", amountDescription) | |
260 | .add("paymentFrequency", paymentFrequency) | |
261 | .add("exDate", exDate) | |
262 | .add("recordDate", recordDate) | |
263 | .add("paymentDate", paymentDate) | |
264 | .add("dividendTypeId", dividendTypeId) | |
265 | .add("stockAdjustmentFactor", stockAdjustmentFactor) | |
266 | .add("stockAmount", stockAmount) | |
267 | .add("cashAmount", cashAmount) | |
268 | .add("postSplitShares", postSplitShares) | |
269 | .add("preSplitShares", preSplitShares) | |
270 | .add("qualifiedDividend", qualifiedDividend) | |
271 | .add("exercisePriceAmount", exercisePriceAmount) | |
272 | .add("electionorExpirationDate", electionorExpirationDate) | |
273 | .add("grossAmount", grossAmount) | |
274 | .add("netAmount", netAmount) | |
275 | .add("basisNotes", basisNotes) | |
276 | .add("notesForEachEntry", notesForEachEntry) | |
277 | .add("recordUpdateTime", recordUpdateTime) | |
278 | .toString(); | |
279 | } | |
280 | } | |
Mutations | ||
103 |
1.1 |
|
107 |
1.1 |
|
111 |
1.1 |
|
115 |
1.1 |
|
119 |
1.1 |
|
123 |
1.1 |
|
127 |
1.1 |
|
131 |
1.1 |
|
135 |
1.1 |
|
139 |
1.1 |
|
143 |
1.1 |
|
147 |
1.1 |
|
151 |
1.1 |
|
155 |
1.1 |
|
159 |
1.1 |
|
163 |
1.1 |
|
167 |
1.1 |
|
171 |
1.1 |
|
175 |
1.1 |
|
179 |
1.1 |
|
183 |
1.1 |
|
187 |
1.1 |
|
191 |
1.1 |
|
195 |
1.1 |
|
199 |
1.1 |
|
203 |
1.1 |
|
208 |
1.1 2.2 |
|
209 |
1.1 2.2 3.3 |
|
210 |
1.1 2.2 |
|
212 |
1.1 2.2 |
|
213 |
1.1 |
|
214 |
1.1 |
|
215 |
1.1 |
|
216 |
1.1 |
|
217 |
1.1 |
|
218 |
1.1 |
|
219 |
1.1 2.2 |
|
221 |
1.1 |
|
222 |
1.1 |
|
223 |
1.1 2.2 |
|
225 |
1.1 |
|
226 |
1.1 |
|
227 |
1.1 |
|
228 |
1.1 |
|
229 |
1.1 2.2 |
|
231 |
1.1 |
|
232 |
1.1 |
|
233 |
1.1 |
|
234 |
1.1 |
|
235 |
1.1 |
|
236 |
1.1 |
|
237 |
1.1 |
|
242 |
1.1 |
|
251 |
1.1 |