public boolean getBooleanProperty ( String propertyName ) { boolean booleanValue = false ; // Pull the key from the property map Object objectValue = this . properties . get ( propertyName ) ; if ( objectValue != null ) { if ( objectValue instanceof Boolean ) { booleanValue = ( ( Boolean ) objectValue ) . booleanValue ( ) ; } else if ( objectValue instanceof String ) { booleanValue = Boolean . parseBoolean ( ( String ) objectValue ) ; } } return booleanValue ; }
Query the boolean property value of the input name .