int function ( ) { return new HashCodeBuilder ( 15 , 37 ) . append ( identifier ) . append ( name ) . append ( databaseName ) . toHashCode ( ) ; }
this hashcode method must not change - do not add the database id to this hashcode method - otherwise the protein loader code will break . only considers the natural key of the xref object as it should ! concode_field_sep String identifier concode_elem_sep String databaseName concode_elem_sep String name concode_elem_sep Long id concode_field_sep void setName concode_elem_sep String getName concode_elem_sep String getIdentifier concode_elem_sep void setIdentifier concode_elem_sep void setDatabaseName concode_elem_sep boolean equals concode_elem_sep void setId concode_elem_sep String getDatabaseName concode_elem_sep Long getId concode_elem_sep String toString