cuba.util
Class GeneratorCommons
java.lang.Object
cuba.util.GeneratorCommons
public class GeneratorCommons
- extends java.lang.Object
GeneratorCommons
- Author:
- Jan Wegener
Method Summary |
static java.lang.String |
attrToSetter(java.lang.String attrName)
|
static java.lang.String |
baseName(java.lang.String fullName)
|
static java.lang.Class |
getType(java.lang.String name)
|
static java.lang.Class |
getType(java.lang.String name,
java.lang.Class baseType)
|
static boolean |
isDigit(char c)
|
static boolean |
isEnvEntryType(java.lang.String typeName)
|
static boolean |
isIdentifierChar(char c)
|
static boolean |
isSynchronized(java.lang.String className)
|
static java.lang.String |
packageName(java.lang.String fullName)
|
static void |
warning(java.lang.String message)
|
static java.lang.String |
wstAdapterTypeName(java.lang.String componentName,
java.lang.String suffix)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILE_SEPARATOR
public static java.lang.String FILE_SEPARATOR
SETTER_PREFIX
public static final java.lang.String SETTER_PREFIX
- See Also:
- Constant Field Values
GeneratorCommons
public GeneratorCommons()
getType
public static java.lang.Class getType(java.lang.String name,
java.lang.Class baseType)
throws GeneratorException
- Throws:
GeneratorException
getType
public static java.lang.Class getType(java.lang.String name)
throws GeneratorException
- Throws:
GeneratorException
isSynchronized
public static boolean isSynchronized(java.lang.String className)
throws GeneratorException
- Throws:
GeneratorException
isEnvEntryType
public static boolean isEnvEntryType(java.lang.String typeName)
baseName
public static java.lang.String baseName(java.lang.String fullName)
packageName
public static java.lang.String packageName(java.lang.String fullName)
isDigit
public static boolean isDigit(char c)
isIdentifierChar
public static boolean isIdentifierChar(char c)
wstAdapterTypeName
public static java.lang.String wstAdapterTypeName(java.lang.String componentName,
java.lang.String suffix)
warning
public static void warning(java.lang.String message)
attrToSetter
public static java.lang.String attrToSetter(java.lang.String attrName)