public boolean isBreak ( ) { if ( this . getMainRecord ( ) != null ) if ( ( this . getMainRecord ( ) . getEditMode ( ) != DBConstants . EDIT_CURRENT ) && ( this . getMainRecord ( ) . getEditMode ( ) != DBConstants . EDIT_IN_PROGRESS ) ) { // End of file if ( ( m_iDisplayFieldDesc & HtmlConstants . FOOTING_SCREEN ) == HtmlConstants . FOOTING_SCREEN ) return true ; // EOF = always break on footing if ( ( m_iDisplayFieldDesc & HtmlConstants . HEADING_SCREEN ) == HtmlConstants . HEADING_SCREEN ) return false ; // EOF = always break on heading } Object objValue = this . getBreakValue ( ) ; if ( m_objLastValue != INITIAL_VALUE ) if ( ( objValue == m_objLastValue ) || ( ( objValue != null ) && ( objValue . equals ( m_objLastValue ) ) ) ) return false ; // Not a break boolean bChange = true ; if ( m_objLastValue == INITIAL_VALUE ) { // End of file if ( ( m_iDisplayFieldDesc & HtmlConstants . FOOTING_SCREEN ) == HtmlConstants . FOOTING_SCREEN ) bChange = false ; // Never on first time } m_objLastValue = objValue ; return bChange ; // Is a break }
Is this a control break?