cuba.util
Class GeneratorCommons

java.lang.Object
  extended by cuba.util.GeneratorCommons

public class GeneratorCommons
extends java.lang.Object

GeneratorCommons

Author:
Jan Wegener

Nested Class Summary
static interface GeneratorCommons.Annotation
           
static interface GeneratorCommons.ComponentScopes
           
static interface GeneratorCommons.ComponentTypes
           
static interface GeneratorCommons.FileNames
           
static interface GeneratorCommons.Suffixes
           
static interface GeneratorCommons.TransactionAttributes
           
static interface GeneratorCommons.TransactionTypes
           
static interface GeneratorCommons.WebserviceStyle
           
 
Field Summary
static java.lang.String FILE_SEPARATOR
           
static java.lang.String SETTER_PREFIX
           
 
Constructor Summary
GeneratorCommons()
           
 
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
 

Field Detail

FILE_SEPARATOR

public static java.lang.String FILE_SEPARATOR

SETTER_PREFIX

public static final java.lang.String SETTER_PREFIX
See Also:
Constant Field Values
Constructor Detail

GeneratorCommons

public GeneratorCommons()
Method Detail

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)