/** * For binary fields, return the current state. * @param True is this field is true. */ public boolean getState() { boolean returnValue = true; if (m_objTarget instanceof String) { String fieldString = this.getString(); returnValue = m_objTarget.equals(fieldString); // True if == target value } else { Object fieldString = this.getData(); returnValue = m_objTarget.equals(fieldString); // True if == target value } if (m_bTrueIfMatch) return returnValue; else return !returnValue; } /**
/** * For binary fields, return the current state. * @param True is this field is true. */ public boolean getState() { boolean returnValue = true; if (m_objTarget instanceof String) { String fieldString = this.getString(); returnValue = m_objTarget.equals(fieldString); // True if == target value } else { Object fieldString = this.getData(); returnValue = m_objTarget.equals(fieldString); // True if == target value } if (m_bTrueIfMatch) return returnValue; else return !returnValue; } /**
/** * For binary fields, return the current state. * @param True is this field is true. */ public boolean getState() { boolean returnValue = true; if (m_objTarget instanceof String) { String fieldString = this.getString(); returnValue = m_objTarget.equals(fieldString); // True if == target value } else { Object fieldString = this.getData(); returnValue = m_objTarget.equals(fieldString); // True if == target value } if (m_bTrueIfMatch) return returnValue; else return !returnValue; } /**
else String thisString = this.getString(); if (m_objTarget.equals(thisString)) // If == target, clear iErrorCode = this.setString(Constants.BLANK, bDisplayOption, iMoveMode);
else String thisString = this.getString(); if (m_objTarget.equals(thisString)) // If == target, clear iErrorCode = this.setString(Constants.BLANK, bDisplayOption, iMoveMode);
else String thisString = this.getString(); if (m_objTarget.equals(thisString)) // If == target, clear iErrorCode = this.setString(Constants.BLANK, bDisplayOption, iMoveMode);