public String getAsString ( Object obj , String propertyName ) { Object o = get ( obj , propertyName ) ; if ( o != null ) { return o . toString ( ) ; } else { return "" ; } }
Getter for an object property value as String