boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; VisagisteDecorator that = (VisagisteDecorator)o; if (!myVisagiste.getClass().equals(that.myVisagiste.getClass())) return false; return true; }