| .. | .. |
|---|
| 20 | 20 | import com.fasterxml.jackson.annotation.JsonInclude; |
|---|
| 21 | 21 | import com.fasterxml.jackson.annotation.JsonInclude.Include; |
|---|
| 22 | 22 | import com.fasterxml.jackson.annotation.JsonProperty; |
|---|
| 23 | | -import com.google.common.base.Objects; |
|---|
| 24 | 23 | |
|---|
| 25 | 24 | /** |
|---|
| 26 | 25 | * Entity implementation class for Entity: application_metadata |
|---|
| .. | .. |
|---|
| 96 | 95 | |
|---|
| 97 | 96 | public void setMandatory(boolean mandatory) { |
|---|
| 98 | 97 | this.mandatory = mandatory; |
|---|
| 99 | | - } |
|---|
| 100 | | - |
|---|
| 101 | | - @Override |
|---|
| 102 | | - public boolean equals(Object obj) { |
|---|
| 103 | | - if (!(obj instanceof ApplicationMetadata)) |
|---|
| 104 | | - return false; |
|---|
| 105 | | - ApplicationMetadata other = (ApplicationMetadata) obj; |
|---|
| 106 | | - return Objects.equal(key, other.key) && Objects.equal(application, other.application); |
|---|
| 107 | | - } |
|---|
| 108 | | - |
|---|
| 109 | | - @Override |
|---|
| 110 | | - public int hashCode() { |
|---|
| 111 | | - |
|---|
| 112 | | - return (key == null ? 0 : key.hashCode()) + (application == null ? 0 : application.hashCode()); |
|---|
| 113 | 98 | } |
|---|
| 114 | 99 | |
|---|
| 115 | 100 | @Override |
|---|