|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jdo.spi.persistence.support.ejb.ejbc.JDOCodeGeneratorHelper
public class JDOCodeGeneratorHelper
| Constructor Summary | |
|---|---|
JDOCodeGeneratorHelper()
|
|
| Method Summary | |
|---|---|
static GeneratorException |
createGeneratorException(java.lang.String key,
EjbBundleDescriptor bundle)
Create GeneratorException for this message key. |
static GeneratorException |
createGeneratorException(java.lang.String key,
EjbBundleDescriptor bundle,
java.lang.Exception e)
Create GeneratorException for this message key. |
static GeneratorException |
createGeneratorException(java.lang.String key,
java.lang.String beanName,
EjbBundleDescriptor bundle)
Create GeneratorException for this message key and bean name. |
static GeneratorException |
createGeneratorException(java.lang.String key,
java.lang.String beanName,
EjbBundleDescriptor bundle,
java.lang.Exception e)
Create GeneratorException for this message key and bean name. |
static GeneratorException |
createGeneratorException(java.lang.String key,
java.lang.String beanName,
EjbBundleDescriptor bundle,
java.lang.Exception e,
java.lang.StringBuffer buf)
Create GeneratorException for this message key, bean name, and a StringBuffer with validation exceptions. |
static GeneratorException |
createGeneratorException(java.lang.String key,
java.lang.String beanName,
EjbBundleDescriptor bundle,
java.lang.String msg)
Create GeneratorException for this message key and bean name. |
static java.lang.String |
getModuleName(EjbBundleDescriptor bundle)
Calculate module name from a bundle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JDOCodeGeneratorHelper()
| Method Detail |
|---|
public static java.lang.String getModuleName(EjbBundleDescriptor bundle)
public static GeneratorException createGeneratorException(java.lang.String key,
EjbBundleDescriptor bundle)
key - the message key in the bundle.bundle - the ejb bundle.
public static GeneratorException createGeneratorException(java.lang.String key,
EjbBundleDescriptor bundle,
java.lang.Exception e)
key - the message key in the bundle.bundle - the ejb bundle.e - the Exception to use for the message.
public static GeneratorException createGeneratorException(java.lang.String key,
java.lang.String beanName,
EjbBundleDescriptor bundle)
key - the message key in the bundle.bundle - the ejb bundle.
public static GeneratorException createGeneratorException(java.lang.String key,
java.lang.String beanName,
EjbBundleDescriptor bundle,
java.lang.Exception e)
key - the message key in the bundle.beanName - the CMP bean name that caused the exception.bundle - the ejb bundle.e - the Exception to use for the message.
public static GeneratorException createGeneratorException(java.lang.String key,
java.lang.String beanName,
EjbBundleDescriptor bundle,
java.lang.Exception e,
java.lang.StringBuffer buf)
key - the message key in the bundle.beanName - the CMP bean name that caused the exception.bundle - the ejb bundle.e - the Exception to use for the message.buf - the StringBuffer with validation exceptions.
public static GeneratorException createGeneratorException(java.lang.String key,
java.lang.String beanName,
EjbBundleDescriptor bundle,
java.lang.String msg)
key - the message key in the bundle.beanName - the CMP bean name that caused the exception.bundle - the ejb bundle.msg - the message text to append.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||