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

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