public boolean getState ( ) { if ( this . getData ( ) == null ) return m_bTrueIfNull ; int fieldValue = ( int ) this . getValue ( ) ; boolean returnValue = false ; if ( ( fieldValue & ( 1 << m_iBitNumber ) ) != 0 ) returnValue = true ; if ( m_bTrueIfMatch ) return returnValue ; else return ! returnValue ; }
For binary fields return the current state . Gets the state of the target bit .