| 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 IEXSymbolDirectory extends DailyList { | |
| 13 | ||
| 14 | private static final long serialVersionUID = 4396764474875515269L; | |
| 15 | ||
| 16 | private final String symbolInINETSymbology; | |
| 17 | private final String symbolInCQSSymbology; | |
| 18 | private final String symbolInCMSSymbology; | |
| 19 | private final String securityName; | |
| 20 | private final String companyName; | |
| 21 | private final Flag testIssue; | |
| 22 | private final String issueDescription; | |
| 23 | private final IssueType issueType; | |
| 24 | private final IssueSubType issueSubType; | |
| 25 | private final String sicCode; | |
| 26 | private final String transferAgent; | |
| 27 | private final FinancialStatus financialStatus; | |
| 28 | private final BigDecimal roundLotSize; | |
| 29 | private final BigDecimal previousOfficialClosingPrice; | |
| 30 | private final BigDecimal adjustedPreviousOfficialClosingPrice; | |
| 31 | private final Flag whenIssuedFlag; | |
| 32 | private final Flag whenDistributedFlag; | |
| 33 | private final Flag ipoFlag; | |
| 34 | private final LocalDate firstDateListed; | |
| 35 | private final LuldTier luldTierIndicator; | |
| 36 | private final String countryOfIncorporation; | |
| 37 | private final Flag leveragedETPFlag; | |
| 38 | private final BigDecimal leveragedETPRatio; | |
| 39 | private final Flag inverseETPFlag; | |
| 40 | private final LocalDateTime recordUpdateTime; | |
| 41 | ||
| 42 | @JsonCreator | |
| 43 | public IEXSymbolDirectory( | |
| 44 | @JsonProperty("RecordID") final String recordId, | |
| 45 | @JsonProperty("DailyListTimestamp") final LocalDateTime dailyListTimestamp, | |
| 46 | @JsonProperty("SymbolinINETSymbology") final String symbolInINETSymbology, | |
| 47 | @JsonProperty("SymbolinCQSSymbology") final String symbolInCQSSymbology, | |
| 48 | @JsonProperty("SymbolinCMSSymbology") final String symbolInCMSSymbology, | |
| 49 | @JsonProperty("SecurityName") final String securityName, | |
| 50 | @JsonProperty("CompanyName") final String companyName, | |
| 51 | @JsonProperty("TestIssue") final Flag testIssue, | |
| 52 | @JsonProperty("IssueDescription") final String issueDescription, | |
| 53 | @JsonProperty("IssueType") final IssueType issueType, | |
| 54 | @JsonProperty("IssueSubType") final IssueSubType issueSubType, | |
| 55 | @JsonProperty("SICCode") final String sicCode, | |
| 56 | @JsonProperty("TransferAgent") final String transferAgent, | |
| 57 | @JsonProperty("FinancialStatus") final FinancialStatus financialStatus, | |
| 58 | @JsonProperty("RoundLotSize") final BigDecimal roundLotSize, | |
| 59 | @JsonProperty("PreviousOfficialClosingPrice") final BigDecimal previousOfficialClosingPrice, | |
| 60 | @JsonProperty("AdjustedPreviousOfficialClosingPrice") final BigDecimal adjustedPreviousOfficialClosingPrice, | |
| 61 | @JsonProperty("WhenIssuedFlag") final Flag whenIssuedFlag, | |
| 62 | @JsonProperty("WhenDistributedFlag") final Flag whenDistributedFlag, | |
| 63 | @JsonProperty("IPOFlag") final Flag ipoFlag, | |
| 64 | @JsonProperty("FirstDateListed") final LocalDate firstDateListed, | |
| 65 | @JsonProperty("LULDTierIndicator") final LuldTier luldTierIndicator, | |
| 66 | @JsonProperty("CountryofIncorporation") final String countryOfIncorporation, | |
| 67 | @JsonProperty("LeveragedETPFlag") final Flag leveragedETPFlag, | |
| 68 | @JsonProperty("LeveragedETPRatio") final BigDecimal leveragedETPRatio, | |
| 69 | @JsonProperty("InverseETPFlag") final Flag inverseETPFlag, | |
| 70 | @JsonProperty("RecordUpdateTime") final LocalDateTime recordUpdateTime) { | |
| 71 | super(recordId, dailyListTimestamp); | |
| 72 | this.symbolInINETSymbology = symbolInINETSymbology; | |
| 73 | this.symbolInCQSSymbology = symbolInCQSSymbology; | |
| 74 | this.symbolInCMSSymbology = symbolInCMSSymbology; | |
| 75 | this.securityName = securityName; | |
| 76 | this.companyName = companyName; | |
| 77 | this.testIssue = testIssue; | |
| 78 | this.issueDescription = issueDescription; | |
| 79 | this.issueType = issueType; | |
| 80 | this.issueSubType = issueSubType; | |
| 81 | this.sicCode = sicCode; | |
| 82 | this.transferAgent = transferAgent; | |
| 83 | this.financialStatus = financialStatus; | |
| 84 | this.roundLotSize = roundLotSize; | |
| 85 | this.previousOfficialClosingPrice = previousOfficialClosingPrice; | |
| 86 | this.adjustedPreviousOfficialClosingPrice = adjustedPreviousOfficialClosingPrice; | |
| 87 | this.whenIssuedFlag = whenIssuedFlag; | |
| 88 | this.whenDistributedFlag = whenDistributedFlag; | |
| 89 | this.ipoFlag = ipoFlag; | |
| 90 | this.firstDateListed = firstDateListed; | |
| 91 | this.luldTierIndicator = luldTierIndicator; | |
| 92 | this.countryOfIncorporation = countryOfIncorporation; | |
| 93 | this.leveragedETPFlag = leveragedETPFlag; | |
| 94 | this.leveragedETPRatio = leveragedETPRatio; | |
| 95 | this.inverseETPFlag = inverseETPFlag; | |
| 96 | this.recordUpdateTime = recordUpdateTime; | |
| 97 | } | |
| 98 | ||
| 99 | public String getSymbolInINETSymbology() { | |
| 100 |
1
1. getSymbolInINETSymbology : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getSymbolInINETSymbology → KILLED |
return symbolInINETSymbology; |
| 101 | } | |
| 102 | ||
| 103 | public String getSymbolInCQSSymbology() { | |
| 104 |
1
1. getSymbolInCQSSymbology : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getSymbolInCQSSymbology → KILLED |
return symbolInCQSSymbology; |
| 105 | } | |
| 106 | ||
| 107 | public String getSymbolInCMSSymbology() { | |
| 108 |
1
1. getSymbolInCMSSymbology : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getSymbolInCMSSymbology → KILLED |
return symbolInCMSSymbology; |
| 109 | } | |
| 110 | ||
| 111 | public String getSecurityName() { | |
| 112 |
1
1. getSecurityName : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getSecurityName → KILLED |
return securityName; |
| 113 | } | |
| 114 | ||
| 115 | public String getCompanyName() { | |
| 116 |
1
1. getCompanyName : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getCompanyName → KILLED |
return companyName; |
| 117 | } | |
| 118 | ||
| 119 | public Flag getTestIssue() { | |
| 120 |
1
1. getTestIssue : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getTestIssue → KILLED |
return testIssue; |
| 121 | } | |
| 122 | ||
| 123 | public String getIssueDescription() { | |
| 124 |
1
1. getIssueDescription : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getIssueDescription → KILLED |
return issueDescription; |
| 125 | } | |
| 126 | ||
| 127 | public IssueType getIssueType() { | |
| 128 |
1
1. getIssueType : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getIssueType → KILLED |
return issueType; |
| 129 | } | |
| 130 | ||
| 131 | public IssueSubType getIssueSubType() { | |
| 132 |
1
1. getIssueSubType : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getIssueSubType → KILLED |
return issueSubType; |
| 133 | } | |
| 134 | ||
| 135 | public String getSicCode() { | |
| 136 |
1
1. getSicCode : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getSicCode → KILLED |
return sicCode; |
| 137 | } | |
| 138 | ||
| 139 | public String getTransferAgent() { | |
| 140 |
1
1. getTransferAgent : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getTransferAgent → KILLED |
return transferAgent; |
| 141 | } | |
| 142 | ||
| 143 | public FinancialStatus getFinancialStatus() { | |
| 144 |
1
1. getFinancialStatus : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getFinancialStatus → KILLED |
return financialStatus; |
| 145 | } | |
| 146 | ||
| 147 | public BigDecimal getRoundLotSize() { | |
| 148 |
1
1. getRoundLotSize : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getRoundLotSize → KILLED |
return roundLotSize; |
| 149 | } | |
| 150 | ||
| 151 | public BigDecimal getPreviousOfficialClosingPrice() { | |
| 152 |
1
1. getPreviousOfficialClosingPrice : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getPreviousOfficialClosingPrice → KILLED |
return previousOfficialClosingPrice; |
| 153 | } | |
| 154 | ||
| 155 | public BigDecimal getAdjustedPreviousOfficialClosingPrice() { | |
| 156 |
1
1. getAdjustedPreviousOfficialClosingPrice : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getAdjustedPreviousOfficialClosingPrice → KILLED |
return adjustedPreviousOfficialClosingPrice; |
| 157 | } | |
| 158 | ||
| 159 | public Flag getWhenIssuedFlag() { | |
| 160 |
1
1. getWhenIssuedFlag : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getWhenIssuedFlag → KILLED |
return whenIssuedFlag; |
| 161 | } | |
| 162 | ||
| 163 | public Flag getWhenDistributedFlag() { | |
| 164 |
1
1. getWhenDistributedFlag : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getWhenDistributedFlag → KILLED |
return whenDistributedFlag; |
| 165 | } | |
| 166 | ||
| 167 | public Flag getIpoFlag() { | |
| 168 |
1
1. getIpoFlag : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getIpoFlag → KILLED |
return ipoFlag; |
| 169 | } | |
| 170 | ||
| 171 | public LocalDate getFirstDateListed() { | |
| 172 |
1
1. getFirstDateListed : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getFirstDateListed → KILLED |
return firstDateListed; |
| 173 | } | |
| 174 | ||
| 175 | public LuldTier getLuldTierIndicator() { | |
| 176 |
1
1. getLuldTierIndicator : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getLuldTierIndicator → KILLED |
return luldTierIndicator; |
| 177 | } | |
| 178 | ||
| 179 | public String getCountryOfIncorporation() { | |
| 180 |
1
1. getCountryOfIncorporation : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getCountryOfIncorporation → KILLED |
return countryOfIncorporation; |
| 181 | } | |
| 182 | ||
| 183 | public Flag getLeveragedETPFlag() { | |
| 184 |
1
1. getLeveragedETPFlag : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getLeveragedETPFlag → KILLED |
return leveragedETPFlag; |
| 185 | } | |
| 186 | ||
| 187 | public BigDecimal getLeveragedETPRatio() { | |
| 188 |
1
1. getLeveragedETPRatio : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getLeveragedETPRatio → KILLED |
return leveragedETPRatio; |
| 189 | } | |
| 190 | ||
| 191 | public Flag getInverseETPFlag() { | |
| 192 |
1
1. getInverseETPFlag : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getInverseETPFlag → KILLED |
return inverseETPFlag; |
| 193 | } | |
| 194 | ||
| 195 | public LocalDateTime getRecordUpdateTime() { | |
| 196 |
1
1. getRecordUpdateTime : replaced return value with null for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::getRecordUpdateTime → KILLED |
return recordUpdateTime; |
| 197 | } | |
| 198 | ||
| 199 | @Override | |
| 200 | public boolean equals(final Object o) { | |
| 201 |
2
1. equals : negated conditional → KILLED 2. equals : replaced boolean return with false for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::equals → KILLED |
if (this == o) return true; |
| 202 |
3
1. equals : negated conditional → KILLED 2. equals : negated conditional → KILLED 3. equals : replaced boolean return with true for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::equals → KILLED |
if (o == null || getClass() != o.getClass()) return false; |
| 203 |
2
1. equals : negated conditional → KILLED 2. equals : replaced boolean return with true for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::equals → KILLED |
if (!super.equals(o)) return false; |
| 204 | final IEXSymbolDirectory that = (IEXSymbolDirectory) o; | |
| 205 |
2
1. equals : negated conditional → KILLED 2. equals : replaced boolean return with true for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::equals → KILLED |
return Objects.equal(symbolInINETSymbology, that.symbolInINETSymbology) && |
| 206 |
1
1. equals : negated conditional → KILLED |
Objects.equal(symbolInCQSSymbology, that.symbolInCQSSymbology) && |
| 207 |
1
1. equals : negated conditional → KILLED |
Objects.equal(symbolInCMSSymbology, that.symbolInCMSSymbology) && |
| 208 |
1
1. equals : negated conditional → KILLED |
Objects.equal(securityName, that.securityName) && |
| 209 |
2
1. equals : negated conditional → KILLED 2. equals : negated conditional → KILLED |
Objects.equal(companyName, that.companyName) && |
| 210 | testIssue == that.testIssue && | |
| 211 |
3
1. equals : negated conditional → KILLED 2. equals : negated conditional → KILLED 3. equals : negated conditional → KILLED |
Objects.equal(issueDescription, that.issueDescription) && |
| 212 | issueType == that.issueType && | |
| 213 | issueSubType == that.issueSubType && | |
| 214 |
1
1. equals : negated conditional → KILLED |
Objects.equal(sicCode, that.sicCode) && |
| 215 |
2
1. equals : negated conditional → KILLED 2. equals : negated conditional → KILLED |
Objects.equal(transferAgent, that.transferAgent) && |
| 216 | financialStatus == that.financialStatus && | |
| 217 |
1
1. equals : negated conditional → KILLED |
Objects.equal(roundLotSize, that.roundLotSize) && |
| 218 |
1
1. equals : negated conditional → KILLED |
Objects.equal(previousOfficialClosingPrice, that.previousOfficialClosingPrice) && |
| 219 |
4
1. equals : negated conditional → KILLED 2. equals : negated conditional → KILLED 3. equals : negated conditional → KILLED 4. equals : negated conditional → KILLED |
Objects.equal(adjustedPreviousOfficialClosingPrice, that.adjustedPreviousOfficialClosingPrice) && |
| 220 | whenIssuedFlag == that.whenIssuedFlag && | |
| 221 | whenDistributedFlag == that.whenDistributedFlag && | |
| 222 | ipoFlag == that.ipoFlag && | |
| 223 |
2
1. equals : negated conditional → KILLED 2. equals : negated conditional → KILLED |
Objects.equal(firstDateListed, that.firstDateListed) && |
| 224 | luldTierIndicator == that.luldTierIndicator && | |
| 225 |
2
1. equals : negated conditional → KILLED 2. equals : negated conditional → KILLED |
Objects.equal(countryOfIncorporation, that.countryOfIncorporation) && |
| 226 | leveragedETPFlag == that.leveragedETPFlag && | |
| 227 |
2
1. equals : negated conditional → KILLED 2. equals : negated conditional → KILLED |
Objects.equal(leveragedETPRatio, that.leveragedETPRatio) && |
| 228 | inverseETPFlag == that.inverseETPFlag && | |
| 229 |
1
1. equals : negated conditional → KILLED |
Objects.equal(recordUpdateTime, that.recordUpdateTime); |
| 230 | } | |
| 231 | ||
| 232 | @Override | |
| 233 | public int hashCode() { | |
| 234 |
1
1. hashCode : replaced int return with 0 for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::hashCode → KILLED |
return Objects.hashCode(super.hashCode(), symbolInINETSymbology, symbolInCQSSymbology, symbolInCMSSymbology, |
| 235 | securityName, companyName, testIssue, issueDescription, issueType, issueSubType, sicCode, transferAgent, | |
| 236 | financialStatus, roundLotSize, previousOfficialClosingPrice, adjustedPreviousOfficialClosingPrice, | |
| 237 | whenIssuedFlag, whenDistributedFlag, ipoFlag, firstDateListed, luldTierIndicator, countryOfIncorporation, | |
| 238 | leveragedETPFlag, leveragedETPRatio, inverseETPFlag, recordUpdateTime); | |
| 239 | } | |
| 240 | ||
| 241 | @Override | |
| 242 | public String toString() { | |
| 243 |
1
1. toString : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/IEXSymbolDirectory::toString → KILLED |
return MoreObjects.toStringHelper(this) |
| 244 | .add("symbolInINETSymbology", symbolInINETSymbology) | |
| 245 | .add("symbolInCQSSymbology", symbolInCQSSymbology) | |
| 246 | .add("symbolInCMSSymbology", symbolInCMSSymbology) | |
| 247 | .add("securityName", securityName) | |
| 248 | .add("companyName", companyName) | |
| 249 | .add("testIssue", testIssue) | |
| 250 | .add("issueDescription", issueDescription) | |
| 251 | .add("issueType", issueType) | |
| 252 | .add("issueSubType", issueSubType) | |
| 253 | .add("sicCode", sicCode) | |
| 254 | .add("transferAgent", transferAgent) | |
| 255 | .add("financialStatus", financialStatus) | |
| 256 | .add("roundLotSize", roundLotSize) | |
| 257 | .add("previousOfficialClosingPrice", previousOfficialClosingPrice) | |
| 258 | .add("adjustedPreviousOfficialClosingPrice", adjustedPreviousOfficialClosingPrice) | |
| 259 | .add("whenIssuedFlag", whenIssuedFlag) | |
| 260 | .add("whenDistributedFlag", whenDistributedFlag) | |
| 261 | .add("ipoFlag", ipoFlag) | |
| 262 | .add("firstDateListed", firstDateListed) | |
| 263 | .add("luldTierIndicator", luldTierIndicator) | |
| 264 | .add("countryOfIncorporation", countryOfIncorporation) | |
| 265 | .add("leveragedETPFlag", leveragedETPFlag) | |
| 266 | .add("leveragedETPRatio", leveragedETPRatio) | |
| 267 | .add("inverseETPFlag", inverseETPFlag) | |
| 268 | .add("recordUpdateTime", recordUpdateTime) | |
| 269 | .toString(); | |
| 270 | } | |
| 271 | } | |
Mutations | ||
| 100 |
1.1 |
|
| 104 |
1.1 |
|
| 108 |
1.1 |
|
| 112 |
1.1 |
|
| 116 |
1.1 |
|
| 120 |
1.1 |
|
| 124 |
1.1 |
|
| 128 |
1.1 |
|
| 132 |
1.1 |
|
| 136 |
1.1 |
|
| 140 |
1.1 |
|
| 144 |
1.1 |
|
| 148 |
1.1 |
|
| 152 |
1.1 |
|
| 156 |
1.1 |
|
| 160 |
1.1 |
|
| 164 |
1.1 |
|
| 168 |
1.1 |
|
| 172 |
1.1 |
|
| 176 |
1.1 |
|
| 180 |
1.1 |
|
| 184 |
1.1 |
|
| 188 |
1.1 |
|
| 192 |
1.1 |
|
| 196 |
1.1 |
|
| 201 |
1.1 2.2 |
|
| 202 |
1.1 2.2 3.3 |
|
| 203 |
1.1 2.2 |
|
| 205 |
1.1 2.2 |
|
| 206 |
1.1 |
|
| 207 |
1.1 |
|
| 208 |
1.1 |
|
| 209 |
1.1 2.2 |
|
| 211 |
1.1 2.2 3.3 |
|
| 214 |
1.1 |
|
| 215 |
1.1 2.2 |
|
| 217 |
1.1 |
|
| 218 |
1.1 |
|
| 219 |
1.1 2.2 3.3 4.4 |
|
| 223 |
1.1 2.2 |
|
| 225 |
1.1 2.2 |
|
| 227 |
1.1 2.2 |
|
| 229 |
1.1 |
|
| 234 |
1.1 |
|
| 243 |
1.1 |