private static String getterName(String propertyName) {
        if ((propertyName == null) || (propertyName.length() == 0)) {
            return propertyName;
        }
        return "get" + Character.toUpperCase(propertyName.charAt(0))
                + propertyName.substring(1);
    }
private static String getterName ( String propertyName ) { if ( ( propertyName == null ) || ( propertyName . length ( ) == 0 ) ) { return propertyName ; } return "get" + Character . toUpperCase ( propertyName . charAt ( 0 ) ) + propertyName . substring ( 1 ) ; }
Returns a getter method name by property name. <p/> Ex. "type" ->
"getType".

@param propertyName name of the property.
@return name of the getter method.