public boolean equals(Object other) { if (this == other) return true; if (!(other instanceof PropertyType)) { return false; } PropertyType prop = (PropertyType) other; if (!Utilities.equals(name, prop.getName())) { return false; } if (!Utilities.equals(binding, prop.getBinding())) { return false; } if (isAbstract != prop.isAbstract()) { return false; } if (!equals(getRestrictions(), prop.getRestrictions())) { return false; } if (!Utilities.equals(superType, prop.getSuper())) { return false; } if (!Utilities.equals(description, prop.getDescription())) { return false; } return true; }
description = type.getDescription(); isAbstract = type.isAbstract(); restrictions = null;
if (!Utilities.equals(description,prop.getDescription())) { return false;
description = type.getDescription(); isAbstract = type.isAbstract(); restrictions = null;