1 | package pl.zankowski.iextrading4j.api.refdata.v1; | |
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.io.Serializable; | |
9 | ||
10 | public class UsExchange implements Serializable { | |
11 | ||
12 | private static final long serialVersionUID = 1599060793574929356L; | |
13 | ||
14 | private final String name; | |
15 | private final String longName; | |
16 | private final String mic; | |
17 | private final String tapeId; | |
18 | private final String oatsId; | |
19 | private final String refId; | |
20 | private final String type; | |
21 | ||
22 | @JsonCreator | |
23 | public UsExchange( | |
24 | @JsonProperty("name") final String name, | |
25 | @JsonProperty("longName") final String longName, | |
26 | @JsonProperty("mic") final String mic, | |
27 | @JsonProperty("tapeId") final String tapeId, | |
28 | @JsonProperty("oatsId") final String oatsId, | |
29 | @JsonProperty("refId") final String refId, | |
30 | @JsonProperty("type") final String type) { | |
31 | this.name = name; | |
32 | this.longName = longName; | |
33 | this.mic = mic; | |
34 | this.tapeId = tapeId; | |
35 | this.oatsId = oatsId; | |
36 | this.refId = refId; | |
37 | this.type = type; | |
38 | } | |
39 | ||
40 | public String getName() { | |
41 |
1
1. getName : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/v1/UsExchange::getName → KILLED |
return name; |
42 | } | |
43 | ||
44 | public String getLongName() { | |
45 |
1
1. getLongName : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/v1/UsExchange::getLongName → KILLED |
return longName; |
46 | } | |
47 | ||
48 | public String getMic() { | |
49 |
1
1. getMic : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/v1/UsExchange::getMic → KILLED |
return mic; |
50 | } | |
51 | ||
52 | public String getTapeId() { | |
53 |
1
1. getTapeId : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/v1/UsExchange::getTapeId → KILLED |
return tapeId; |
54 | } | |
55 | ||
56 | public String getOatsId() { | |
57 |
1
1. getOatsId : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/v1/UsExchange::getOatsId → KILLED |
return oatsId; |
58 | } | |
59 | ||
60 | public String getRefId() { | |
61 |
1
1. getRefId : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/v1/UsExchange::getRefId → KILLED |
return refId; |
62 | } | |
63 | ||
64 | public String getType() { | |
65 |
1
1. getType : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/v1/UsExchange::getType → KILLED |
return type; |
66 | } | |
67 | ||
68 | @Override | |
69 | public boolean equals(final Object o) { | |
70 |
1
1. equals : negated conditional → KILLED |
if (this == o) { |
71 |
1
1. equals : replaced boolean return with false for pl/zankowski/iextrading4j/api/refdata/v1/UsExchange::equals → KILLED |
return true; |
72 | } | |
73 |
2
1. equals : negated conditional → KILLED 2. equals : negated conditional → KILLED |
if (o == null || getClass() != o.getClass()) { |
74 |
1
1. equals : replaced boolean return with true for pl/zankowski/iextrading4j/api/refdata/v1/UsExchange::equals → KILLED |
return false; |
75 | } | |
76 | final UsExchange that = (UsExchange) o; | |
77 |
2
1. equals : negated conditional → KILLED 2. equals : replaced boolean return with true for pl/zankowski/iextrading4j/api/refdata/v1/UsExchange::equals → KILLED |
return Objects.equal(name, that.name) && |
78 |
1
1. equals : negated conditional → KILLED |
Objects.equal(longName, that.longName) && |
79 |
1
1. equals : negated conditional → KILLED |
Objects.equal(mic, that.mic) && |
80 |
1
1. equals : negated conditional → KILLED |
Objects.equal(tapeId, that.tapeId) && |
81 |
1
1. equals : negated conditional → KILLED |
Objects.equal(oatsId, that.oatsId) && |
82 |
1
1. equals : negated conditional → KILLED |
Objects.equal(refId, that.refId) && |
83 |
1
1. equals : negated conditional → KILLED |
Objects.equal(type, that.type); |
84 | } | |
85 | ||
86 | @Override | |
87 | public int hashCode() { | |
88 |
1
1. hashCode : replaced int return with 0 for pl/zankowski/iextrading4j/api/refdata/v1/UsExchange::hashCode → KILLED |
return Objects.hashCode(name, longName, mic, tapeId, oatsId, refId, type); |
89 | } | |
90 | ||
91 | @Override | |
92 | public String toString() { | |
93 |
1
1. toString : replaced return value with "" for pl/zankowski/iextrading4j/api/refdata/v1/UsExchange::toString → KILLED |
return MoreObjects.toStringHelper(this) |
94 | .add("name", name) | |
95 | .add("longName", longName) | |
96 | .add("mic", mic) | |
97 | .add("tapeId", tapeId) | |
98 | .add("oatsId", oatsId) | |
99 | .add("refId", refId) | |
100 | .add("type", type) | |
101 | .toString(); | |
102 | } | |
103 | ||
104 | } | |
Mutations | ||
41 |
1.1 |
|
45 |
1.1 |
|
49 |
1.1 |
|
53 |
1.1 |
|
57 |
1.1 |
|
61 |
1.1 |
|
65 |
1.1 |
|
70 |
1.1 |
|
71 |
1.1 |
|
73 |
1.1 2.2 |
|
74 |
1.1 |
|
77 |
1.1 2.2 |
|
78 |
1.1 |
|
79 |
1.1 |
|
80 |
1.1 |
|
81 |
1.1 |
|
82 |
1.1 |
|
83 |
1.1 |
|
88 |
1.1 |
|
93 |
1.1 |