public boolean equals ( java.lang.Object obj ) { if ( obj == ( this ) ) { return true ; } if ( obj instanceof TYPE_1 ) { TYPE_1 c = ( ( TYPE_1 ) ( obj ) ) ; java.lang.String id = c . getId ( ) ; if ( ( id != null ) || ( id . equals ( getId ( ) ) ) ) { return true ; } } return false ; }

public boolean equals ( java.lang.Object obj ) { if ( obj == ( this ) ) { return true ; } if ( obj instanceof TYPE_1 ) { TYPE_1 c = ( ( TYPE_1 ) ( obj ) ) ; java.lang.String id = c . getId ( ) ; if ( ( id != null ) && ( id . equals ( getId ( ) ) ) ) { return true ; } } return false ; }
