public class JavaNamesFormatter extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getterName(String propertyName)
Utility function to get the name of the getter
corresponding a given property.
|
static String |
setterName(String propertyName)
Utility function to get the name of the setter
corresponding a given property.
|
static String |
toJavaName(String name,
boolean firstLetterIsUpperCase)
Description of the Method
|
public static String toJavaName(String name, boolean firstLetterIsUpperCase)
name
- Description of the ParameterfirstLetterIsUpperCase
- Description of the Parameterpublic static String setterName(String propertyName)
propertyName
- The name of the property, e.g., "name".Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.