two labels are considered equal when they have the same name and label text . concode_field_sep Date created concode_elem_sep String name concode_elem_sep Date modified concode_elem_sep Long id concode_elem_sep String label concode_field_sep void setName concode_elem_sep String getName concode_elem_sep String getLabel concode_elem_sep Date getModified concode_elem_sep int hashCode concode_elem_sep void setId concode_elem_sep void setLabel concode_elem_sep Date getCreated concode_elem_sep void setModified concode_elem_sep Long getId concode_elem_sep void setCreated
boolean function ( Object arg0 ) { if ( arg0 == null || arg0 . getClass ( ) != getClass ( ) ) { return false ; } Label loc0 = ( Label ) arg0 ; return new EqualsBuilder ( ) . append ( this . getName ( ) , loc0 . getName ( ) ) . append ( this . getLabel ( ) , loc0 . getLabel ( ) ) . isEquals ( ) ; }