@Test public void equals() { GenericServiceTaskType a = new GenericServiceTaskType(); GenericServiceTaskType b = new GenericServiceTaskType(); Assert.assertTrue(a.equals(b)); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof GenericServiceTaskType)) { return false; } GenericServiceTaskType that = (GenericServiceTaskType) o; if (!name.equals(that.name)) { return false; } return true; }
GenericServiceTaskType implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof GenericServiceTaskType)) { return false; } GenericServiceTaskType that = (GenericServiceTaskType) o; if (!name.equals(that.name)) { return false; } return true; } }
GenericServiceTaskType implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof GenericServiceTaskType)) { return false; } GenericServiceTaskType that = (GenericServiceTaskType) o; if (!name.equals(that.name)) { return false; } return true; }  }
GenericServiceTaskType implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof GenericServiceTaskType)) { return false; } GenericServiceTaskType that = (GenericServiceTaskType) o; if (!name.equals(that.name)) { return false; } return true; }  @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
GenericServiceTaskType implements PropertyType { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof GenericServiceTaskType)) { return false; } GenericServiceTaskType that = (GenericServiceTaskType) o; if (!name.equals(that.name)) { return false; } return true; }  @Override String getName(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final String name; }