@Test public void testEquals() { new EqualsTester() .addEqualityGroup(new NodeCompletionMetadata("a"), new NodeCompletionMetadata("a")) .addEqualityGroup(new NodeCompletionMetadata(null)) .testEquals(); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof NodeCompletionMetadata)) { return false; } NodeCompletionMetadata that = (NodeCompletionMetadata) o; return Objects.equals(_humanName, that._humanName); }
NodeCompletionMetadata implements Serializable { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof NodeCompletionMetadata)) { return false; } NodeCompletionMetadata that = (NodeCompletionMetadata) o; return Objects.equals(_humanName, that._humanName); } }
NodeCompletionMetadata implements Serializable { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof NodeCompletionMetadata)) { return false; } NodeCompletionMetadata that = (NodeCompletionMetadata) o; return Objects.equals(_humanName, that._humanName); } NodeCompletionMetadata(@Nullable String humanName); }
NodeCompletionMetadata implements Serializable { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof NodeCompletionMetadata)) { return false; } NodeCompletionMetadata that = (NodeCompletionMetadata) o; return Objects.equals(_humanName, that._humanName); } NodeCompletionMetadata(@Nullable String humanName); @Override boolean equals(Object o); @Override int hashCode(); @JsonProperty(PROP_HUMAN_NAME) @Nullable String getHumanName(); }
NodeCompletionMetadata implements Serializable { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof NodeCompletionMetadata)) { return false; } NodeCompletionMetadata that = (NodeCompletionMetadata) o; return Objects.equals(_humanName, that._humanName); } NodeCompletionMetadata(@Nullable String humanName); @Override boolean equals(Object o); @Override int hashCode(); @JsonProperty(PROP_HUMAN_NAME) @Nullable String getHumanName();  }