@Test public void testEquals() { LinkParameter linkParameter = new LinkParameter(); Assert.assertFalse(linkParameter.equals(null)); Assert.assertFalse(linkParameter.equals(new String())); Assert.assertTrue(linkParameter.equals(linkParameter)); Assert.assertTrue(linkParameter.equals(new LinkParameter())); }
@Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LinkParameter linkParameters = (LinkParameter) o; return Objects.equals(this.value, linkParameters.value) && Objects.equals(this.extensions, linkParameters.extensions); }
LinkParameter { @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LinkParameter linkParameters = (LinkParameter) o; return Objects.equals(this.value, linkParameters.value) && Objects.equals(this.extensions, linkParameters.extensions); } }
LinkParameter { @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LinkParameter linkParameters = (LinkParameter) o; return Objects.equals(this.value, linkParameters.value) && Objects.equals(this.extensions, linkParameters.extensions); } LinkParameter(); }
LinkParameter { @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LinkParameter linkParameters = (LinkParameter) o; return Objects.equals(this.value, linkParameters.value) && Objects.equals(this.extensions, linkParameters.extensions); } LinkParameter(); String getValue(); void setValue(String value); LinkParameter value(String value); @Override boolean equals(java.lang.Object o); @Override int hashCode(); java.util.Map<String, Object> getExtensions(); void addExtension(String name, Object value); void setExtensions(java.util.Map<String, Object> extensions); LinkParameter extensions(java.util.Map<String, Object> extensions); @Override String toString(); }
LinkParameter { @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LinkParameter linkParameters = (LinkParameter) o; return Objects.equals(this.value, linkParameters.value) && Objects.equals(this.extensions, linkParameters.extensions); } LinkParameter(); String getValue(); void setValue(String value); LinkParameter value(String value); @Override boolean equals(java.lang.Object o); @Override int hashCode(); java.util.Map<String, Object> getExtensions(); void addExtension(String name, Object value); void setExtensions(java.util.Map<String, Object> extensions); LinkParameter extensions(java.util.Map<String, Object> extensions); @Override String toString();  }