Package org.hibernate.jpamodelgen.util
Class StringUtil
- java.lang.Object
-
- org.hibernate.jpamodelgen.util.StringUtil
-
public final class StringUtil extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringclassNameFromFqcn(java.lang.String fqcn)static java.lang.Stringdecapitalize(java.lang.String string)static java.lang.StringdetermineFullyQualifiedClassName(java.lang.String defaultPackage, java.lang.String name)static java.lang.StringgetPropertyName(java.lang.String name)static java.lang.StringgetUpperUnderscoreCaseFromLowerCamelCase(java.lang.String lowerCamelCaseString)static booleanisFullyQualified(java.lang.String name)static booleanisProperty(java.lang.String methodName, java.lang.String returnTypeAsString)static java.lang.StringpackageNameFromFqcn(java.lang.String fqcn)
-
-
-
Method Detail
-
determineFullyQualifiedClassName
public static java.lang.String determineFullyQualifiedClassName(java.lang.String defaultPackage, java.lang.String name)
-
isFullyQualified
public static boolean isFullyQualified(java.lang.String name)
-
packageNameFromFqcn
public static java.lang.String packageNameFromFqcn(java.lang.String fqcn)
-
classNameFromFqcn
public static java.lang.String classNameFromFqcn(java.lang.String fqcn)
-
isProperty
public static boolean isProperty(java.lang.String methodName, java.lang.String returnTypeAsString)
-
getPropertyName
public static java.lang.String getPropertyName(java.lang.String name)
-
decapitalize
public static java.lang.String decapitalize(java.lang.String string)
-
getUpperUnderscoreCaseFromLowerCamelCase
public static java.lang.String getUpperUnderscoreCaseFromLowerCamelCase(java.lang.String lowerCamelCaseString)
-
-