public boolean equals ( java.lang.Object obj ) { if ( obj instanceof TYPE_1 ) { return ( id ) == ( ( ( TYPE_1 ) ( obj ) ) . id ) ; } else { return super . equals ( obj ) ; } } 

public boolean equals ( java.lang.Object obj ) { if ( obj instanceof TYPE_1 ) { return id . equals ( ( ( TYPE_1 ) ( obj ) ) . id ) ; } else { return super . equals ( obj ) ; } } 
