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

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