com.sun.jdo.spi.persistence.support.ejb.ejbc
Class CMPTemplateFormatter

java.lang.Object
  extended by com.sun.jdo.spi.persistence.utility.JavaTypeHelper
      extended by com.sun.jdo.spi.persistence.utility.generator.JavaClassWriterHelper
          extended by com.sun.jdo.spi.persistence.support.ejb.ejbc.CMPTemplateFormatter

public class CMPTemplateFormatter
extends JavaClassWriterHelper


Field Summary
static String afterCompletion_
           
static String[] afterCompletionBody
           
static MessageFormat aggqueryexecformatter
           
static MessageFormat aggqueryexecparamconvformatter
           
static String assertInstanceOfRemoteInterfaceImpl_
           
static String assertInstanceOfRemoteInterfaceImplTemplate
           
static String assertInTransaction_
           
static String assertOidNotNull_
           
static String assertOidNotNullTemplate
           
static String assertPersistenceManagerIsNull_
           
static String[] assertPersistenceManagerIsNullBody
           
static String assertPersistenceManagerIsNullCall_
           
static String assertPersistenceManagerIsNullTemplate
           
static MessageFormat assertpkfieldformatter
           
static String assertPKFieldNotNull_
           
static String assertPKNotNull_
           
static String assertPKNotNullTemplate
           
static String castKey_
           
static String castOid_
           
static String catchClause_
           
static String catchClauseTemplate
           
static String cmpImplComments_
           
static String cmpImplCommentsTemplate
           
static String commonPrivateMethods_
           
static String[] commonPrivateMethodsArray
           
static String commonPublicMethods_
           
static String[] commonPublicMethodsArray
           
static String context_
           
static String convertEJBLocalObjectToPC_
           
static String convertEJBObjectToPC_
           
static String convertObjectIdToPrimaryKey_
           
static String convertPCToEJBObject_
           
static String convertPrimaryKeyToObjectId_
           
static String create_
           
static String CreateException_
           
static String DuplicateKeyException_
           
static String ejb_
           
static String ejb__flush_
           
static String ejb__refresh_
           
static String ejb__remove_
           
static String ejbAggregateQueryExecutionBody_
           
static String ejbAggregateQueryExecutionParamConvBody_
           
static String ejbContext_
           
static String ejbCreate_
           
static String ejbCreateUnknownPK_
           
static String ejbException_
           
static String ejbFindByPrimaryKey_
           
static String[] ejbFindByPrimaryKeyBody
           
static String ejbFinderSelectorBody_
           
static String ejbHome_
           
static String ejbLoad_
           
static String ejbMultiFinderBody_
           
static String ejbMultiFinderBodyEnumeration_
           
static String ejbObject_
           
static String ejbPostCreate_
           
static String ejbQueryExecutionBody_
           
static String ejbQueryExecutionParamConvBody_
           
static String ejbQueryExecutionParamConvBodyArgument_
           
static String ejbRemove_
           
static String ejbSelect_
           
static String ejbSingleFinderBody_
           
static String EntityContext_
           
static String find_
           
static String findByPrimaryKey_
           
static String finderException_
           
static MessageFormat finderselectorformatter
           
static String finderSelectorStaticFinalVariables_
           
static MessageFormat finderselectorstaticfinalvformatter
           
static String finderSelectorStaticVariables_
           
static MessageFormat finderselectorstaticvformatter
           
static String getContainer_
           
static String[] getContainerBody
           
static String getHelperInstance_
           
static String getHelperInstanceTemplate
           
static String getInstance_
           
static String getObjectId_
           
static String getOid_
           
static String getOid1_
           
static String getOid1Clone_
           
static String getOid1primitive_
           
static String getOid1String_
           
static String getOidClone_
           
static String getOidString_
           
static String getPCClass_
           
static String getPK_
           
static String getPK1_
           
static String getPK1Clone_
           
static String getPK1primitive_
           
static String getPKClone_
           
static MessageFormat giformatter
           
static MessageFormat goidformatter
           
static MessageFormat hcomformatter
           
static String helperComments_
           
static String helperImports_
           
static String[] helperImportsArray
           
static String helperMethods_
           
static Properties helpers
           
static String helperVariables_
           
static MessageFormat hvformatter
           
static String imports_
           
static String[] importsArray
           
static String interfaces_
           
static String[] interfacesArray
           
static MessageFormat intxformatter
           
static String jdoArrayCopy_
           
static MessageFormat jdoarraycopyformatter
           
static String jdoCleanAllRefs_
           
static String jdoClosePersistenceManager_
           
static String[] jdoClosePersistenceManagerBody
           
static String jdoGetJdoInstanceClass_
           
static String jdoGetJdoInstanceClassTemplate
           
static String jdoGetPersistenceManager_
           
static String jdoGetPersistenceManager0_
           
static String[] jdoGetPersistenceManager0Body
           
static String[] jdoGetPersistenceManagerBody
           
static String jdoLookupPersistenceManagerFactory_
           
static MessageFormat jdolookuppmfformatter
           
static String jdoPersistenceManager_
           
static String jdoPersistenceManagerClass_
           
static String jdoReleasePersistenceManager_
           
static String jdoReleasePersistenceManager0_
           
static String[] jdoReleasePersistenceManager0Body
           
static String[] jdoReleasePersistenceManagerBody
           
static String key_
           
static String keys_
           
static MessageFormat multifinderenumerationformatter
           
static MessageFormat multifinderformatter
           
static String newOid_
           
static String newPK_
           
static MessageFormat noidformatter
           
static MessageFormat npkformatter
           
static String oid_
           
static MessageFormat oid1cloneformatter
           
static MessageFormat oid1formatter
           
static MessageFormat oid1pformatter
           
static MessageFormat oid1stringformatter
           
static MessageFormat oidcformatter
           
static MessageFormat oidcloneformatter
           
static MessageFormat oidformatter
           
static String oids_
           
static MessageFormat oidstringformatter
           
static String otherPublicMethods_
           
static String[] otherPublicMethodsArray
           
static String otherVariables_
           
static String otherVariablesTemplate
           
static String pc_
           
static MessageFormat pcclassgetterformatter
           
static MessageFormat pk1cloneformatter
           
static MessageFormat pk1formatter
           
static MessageFormat pk1pformatter
           
static MessageFormat pkcformatter
           
static MessageFormat pkcloneformatter
           
static MessageFormat pkformatter
           
static String privateStaticFinalVariables_
           
static MessageFormat privatestaticfinalvformatter
           
static String privateStaticVariables_
           
static String privateStaticVariablesTemplate
           
static String privateTransientVariables_
           
static MessageFormat privatetransientvformatter
           
static String publicStaticFinalVariables_
           
static MessageFormat publicstaticfinalvformatter
           
static MessageFormat queryexecformatter
           
static MessageFormat queryexecparamconvargumentformatter
           
static MessageFormat queryexecparamconvformatter
           
static String remove_
           
static String RemoveException_
           
static String returnKey_
           
static String returnOid_
           
static String setEntityContext_
           
static String[] setEntityContextBody
           
static String setNull_
           
static String signature_
           
static String signatureDelimiter_
           
static String signatureTemplate
           
static MessageFormat singlefinderformatter
           
static String staticTransientPackageVariables_
           
 
Fields inherited from class com.sun.jdo.spi.persistence.utility.generator.JavaClassWriterHelper
boolean_, brackets_, byte_, byteArray_, Class_, Collection_, Date_, delim_, dot_, endLine_, escapedEmptyString_, false_, fileName_, get_, Helper_, home_, int_, javaExtension_, new_, none_, null_, Object_, Oid_, param_, param0_, paramConcatenator_, paramInitializer_, paramList_, paramSeparator_, parenleft_, parenright_, parenthesis_, PersistenceCapable_, returnNull_, set_, Set_, space_, SqlDate_, SqlTime_, SqlTimestamp_, String_, super_, true_, void_
 
Method Summary
 
Methods inherited from class com.sun.jdo.spi.persistence.utility.generator.JavaClassWriterHelper
addFields, addGenericMethod, addGenericMethod, addGenericMethod, addGenericMethod, addGenericMethod, addPrivateField, getBodyAsStrings, getExceptionNames, getParametersList, getParametersListWithSeparator, getParameterTypesList, getPrimitiveType, getTypeRepr, getUnwrapMethodName, getWrapperExpr, getWrapperType
 
Methods inherited from class com.sun.jdo.spi.persistence.utility.JavaTypeHelper
getPackageName, getPrimitiveClass, getPrimitiveName, getShortClassName, getWrapperClass, getWrapperName, valueOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ejb_

public static final String ejb_
See Also:
Constant Field Values

ejbObject_

public static final String ejbObject_
See Also:
Constant Field Values

ejbHome_

public static final String ejbHome_
See Also:
Constant Field Values

ejbContext_

public static final String ejbContext_
See Also:
Constant Field Values

context_

public static final String context_
See Also:
Constant Field Values

key_

public static final String key_
See Also:
Constant Field Values

keys_

public static final String keys_
See Also:
Constant Field Values

oid_

public static final String oid_
See Also:
Constant Field Values

oids_

public static final String oids_
See Also:
Constant Field Values

pc_

public static final String pc_
See Also:
Constant Field Values

cmpImplComments_

public static final String cmpImplComments_
See Also:
Constant Field Values

imports_

public static final String imports_
See Also:
Constant Field Values

interfaces_

public static final String interfaces_
See Also:
Constant Field Values

helperImports_

public static final String helperImports_
See Also:
Constant Field Values

staticTransientPackageVariables_

public static final String staticTransientPackageVariables_
See Also:
Constant Field Values

privateStaticVariables_

public static final String privateStaticVariables_
See Also:
Constant Field Values

privateTransientVariables_

public static final String privateTransientVariables_
See Also:
Constant Field Values

privateStaticFinalVariables_

public static final String privateStaticFinalVariables_
See Also:
Constant Field Values

publicStaticFinalVariables_

public static final String publicStaticFinalVariables_
See Also:
Constant Field Values

finderSelectorStaticVariables_

public static final String finderSelectorStaticVariables_
See Also:
Constant Field Values

finderSelectorStaticFinalVariables_

public static final String finderSelectorStaticFinalVariables_
See Also:
Constant Field Values

otherVariables_

public static final String otherVariables_
See Also:
Constant Field Values

setNull_

public static final String setNull_
See Also:
Constant Field Values

commonPrivateMethods_

public static final String commonPrivateMethods_
See Also:
Constant Field Values

commonPublicMethods_

public static final String commonPublicMethods_
See Also:
Constant Field Values

otherPublicMethods_

public static final String otherPublicMethods_
See Also:
Constant Field Values

jdoLookupPersistenceManagerFactory_

public static final String jdoLookupPersistenceManagerFactory_
See Also:
Constant Field Values

helperMethods_

public static final String helperMethods_
See Also:
Constant Field Values

getInstance_

public static final String getInstance_
See Also:
Constant Field Values

findByPrimaryKey_

public static final String findByPrimaryKey_
See Also:
Constant Field Values

ejbFindByPrimaryKey_

public static final String ejbFindByPrimaryKey_
See Also:
Constant Field Values

ejbFinderSelectorBody_

public static final String ejbFinderSelectorBody_
See Also:
Constant Field Values

ejbQueryExecutionParamConvBody_

public static final String ejbQueryExecutionParamConvBody_
See Also:
Constant Field Values

ejbQueryExecutionParamConvBodyArgument_

public static final String ejbQueryExecutionParamConvBodyArgument_
See Also:
Constant Field Values

ejbQueryExecutionBody_

public static final String ejbQueryExecutionBody_
See Also:
Constant Field Values

ejbAggregateQueryExecutionBody_

public static final String ejbAggregateQueryExecutionBody_
See Also:
Constant Field Values

ejbAggregateQueryExecutionParamConvBody_

public static final String ejbAggregateQueryExecutionParamConvBody_
See Also:
Constant Field Values

ejbMultiFinderBody_

public static final String ejbMultiFinderBody_
See Also:
Constant Field Values

ejbMultiFinderBodyEnumeration_

public static final String ejbMultiFinderBodyEnumeration_
See Also:
Constant Field Values

ejbSingleFinderBody_

public static final String ejbSingleFinderBody_
See Also:
Constant Field Values

jdoGetJdoInstanceClass_

public static final String jdoGetJdoInstanceClass_
See Also:
Constant Field Values

find_

public static final String find_
See Also:
Constant Field Values

catchClause_

public static final String catchClause_
See Also:
Constant Field Values

ejbSelect_

public static final String ejbSelect_
See Also:
Constant Field Values

create_

public static final String create_
See Also:
Constant Field Values

remove_

public static final String remove_
See Also:
Constant Field Values

ejbCreate_

public static final String ejbCreate_
See Also:
Constant Field Values

ejbCreateUnknownPK_

public static final String ejbCreateUnknownPK_
See Also:
Constant Field Values

ejbPostCreate_

public static final String ejbPostCreate_
See Also:
Constant Field Values

ejbRemove_

public static final String ejbRemove_
See Also:
Constant Field Values

ejbLoad_

public static final String ejbLoad_
See Also:
Constant Field Values

CreateException_

public static final String CreateException_
See Also:
Constant Field Values

DuplicateKeyException_

public static final String DuplicateKeyException_
See Also:
Constant Field Values

RemoveException_

public static final String RemoveException_
See Also:
Constant Field Values

ejbException_

public static final String ejbException_
See Also:
Constant Field Values

finderException_

public static final String finderException_
See Also:
Constant Field Values

assertInTransaction_

public static final String assertInTransaction_
See Also:
Constant Field Values

assertPersistenceManagerIsNull_

public static final String assertPersistenceManagerIsNull_
See Also:
Constant Field Values

assertPersistenceManagerIsNullCall_

public static final String assertPersistenceManagerIsNullCall_
See Also:
Constant Field Values

setEntityContext_

public static final String setEntityContext_
See Also:
Constant Field Values

EntityContext_

public static final String EntityContext_
See Also:
Constant Field Values

castKey_

public static final String castKey_
See Also:
Constant Field Values

castOid_

public static final String castOid_
See Also:
Constant Field Values

getPK_

public static final String getPK_
See Also:
Constant Field Values

getPKClone_

public static final String getPKClone_
See Also:
Constant Field Values

newPK_

public static final String newPK_
See Also:
Constant Field Values

newOid_

public static final String newOid_
See Also:
Constant Field Values

getPK1_

public static final String getPK1_
See Also:
Constant Field Values

getPK1Clone_

public static final String getPK1Clone_
See Also:
Constant Field Values

getPK1primitive_

public static final String getPK1primitive_
See Also:
Constant Field Values

getOid_

public static final String getOid_
See Also:
Constant Field Values

getOidString_

public static final String getOidString_
See Also:
Constant Field Values

getOidClone_

public static final String getOidClone_
See Also:
Constant Field Values

getOid1_

public static final String getOid1_
See Also:
Constant Field Values

getOid1primitive_

public static final String getOid1primitive_
See Also:
Constant Field Values

getOid1String_

public static final String getOid1String_
See Also:
Constant Field Values

getOid1Clone_

public static final String getOid1Clone_
See Also:
Constant Field Values

getObjectId_

public static final String getObjectId_
See Also:
Constant Field Values

convertObjectIdToPrimaryKey_

public static final String convertObjectIdToPrimaryKey_
See Also:
Constant Field Values

convertPrimaryKeyToObjectId_

public static final String convertPrimaryKeyToObjectId_
See Also:
Constant Field Values

convertPCToEJBObject_

public static final String convertPCToEJBObject_
See Also:
Constant Field Values

convertEJBObjectToPC_

public static final String convertEJBObjectToPC_
See Also:
Constant Field Values

convertEJBLocalObjectToPC_

public static final String convertEJBLocalObjectToPC_
See Also:
Constant Field Values

jdoPersistenceManager_

public static final String jdoPersistenceManager_
See Also:
Constant Field Values

jdoPersistenceManagerClass_

public static final String jdoPersistenceManagerClass_
See Also:
Constant Field Values

jdoGetPersistenceManager_

public static final String jdoGetPersistenceManager_
See Also:
Constant Field Values

jdoGetPersistenceManager0_

public static final String jdoGetPersistenceManager0_
See Also:
Constant Field Values

jdoClosePersistenceManager_

public static final String jdoClosePersistenceManager_
See Also:
Constant Field Values

jdoReleasePersistenceManager_

public static final String jdoReleasePersistenceManager_
See Also:
Constant Field Values

jdoReleasePersistenceManager0_

public static final String jdoReleasePersistenceManager0_
See Also:
Constant Field Values

jdoArrayCopy_

public static final String jdoArrayCopy_
See Also:
Constant Field Values

jdoCleanAllRefs_

public static final String jdoCleanAllRefs_
See Also:
Constant Field Values

returnKey_

public static final String returnKey_
See Also:
Constant Field Values

returnOid_

public static final String returnOid_
See Also:
Constant Field Values

helperComments_

public static final String helperComments_
See Also:
Constant Field Values

helperVariables_

public static final String helperVariables_
See Also:
Constant Field Values

getHelperInstance_

public static final String getHelperInstance_
See Also:
Constant Field Values

getPCClass_

public static final String getPCClass_
See Also:
Constant Field Values

getContainer_

public static final String getContainer_
See Also:
Constant Field Values

assertInstanceOfRemoteInterfaceImpl_

public static final String assertInstanceOfRemoteInterfaceImpl_
See Also:
Constant Field Values

assertPKNotNull_

public static final String assertPKNotNull_
See Also:
Constant Field Values

assertPKFieldNotNull_

public static final String assertPKFieldNotNull_
See Also:
Constant Field Values

assertOidNotNull_

public static final String assertOidNotNull_
See Also:
Constant Field Values

afterCompletion_

public static final String afterCompletion_
See Also:
Constant Field Values

ejb__flush_

public static final String ejb__flush_
See Also:
Constant Field Values

ejb__refresh_

public static final String ejb__refresh_
See Also:
Constant Field Values

ejb__remove_

public static final String ejb__remove_
See Also:
Constant Field Values

signature_

public static final String signature_
See Also:
Constant Field Values

signatureDelimiter_

public static final String signatureDelimiter_
See Also:
Constant Field Values

helpers

public static Properties helpers

hcomformatter

public static MessageFormat hcomformatter

privatetransientvformatter

public static MessageFormat privatetransientvformatter

privatestaticfinalvformatter

public static MessageFormat privatestaticfinalvformatter

publicstaticfinalvformatter

public static MessageFormat publicstaticfinalvformatter

finderselectorstaticvformatter

public static MessageFormat finderselectorstaticvformatter

finderselectorstaticfinalvformatter

public static MessageFormat finderselectorstaticfinalvformatter

hvformatter

public static MessageFormat hvformatter

giformatter

public static MessageFormat giformatter

goidformatter

public static MessageFormat goidformatter

intxformatter

public static MessageFormat intxformatter

jdolookuppmfformatter

public static MessageFormat jdolookuppmfformatter

jdoarraycopyformatter

public static MessageFormat jdoarraycopyformatter

finderselectorformatter

public static MessageFormat finderselectorformatter

queryexecformatter

public static MessageFormat queryexecformatter

aggqueryexecformatter

public static MessageFormat aggqueryexecformatter

queryexecparamconvformatter

public static MessageFormat queryexecparamconvformatter

queryexecparamconvargumentformatter

public static MessageFormat queryexecparamconvargumentformatter

aggqueryexecparamconvformatter

public static MessageFormat aggqueryexecparamconvformatter

multifinderformatter

public static MessageFormat multifinderformatter

multifinderenumerationformatter

public static MessageFormat multifinderenumerationformatter

singlefinderformatter

public static MessageFormat singlefinderformatter

pkcformatter

public static MessageFormat pkcformatter

oidcformatter

public static MessageFormat oidcformatter

npkformatter

public static MessageFormat npkformatter

noidformatter

public static MessageFormat noidformatter

pkformatter

public static MessageFormat pkformatter

oidformatter

public static MessageFormat oidformatter

oidstringformatter

public static MessageFormat oidstringformatter

pkcloneformatter

public static MessageFormat pkcloneformatter

oidcloneformatter

public static MessageFormat oidcloneformatter

pk1formatter

public static MessageFormat pk1formatter

oid1formatter

public static MessageFormat oid1formatter

pk1pformatter

public static MessageFormat pk1pformatter

oid1pformatter

public static MessageFormat oid1pformatter

oid1stringformatter

public static MessageFormat oid1stringformatter

pk1cloneformatter

public static MessageFormat pk1cloneformatter

oid1cloneformatter

public static MessageFormat oid1cloneformatter

assertpkfieldformatter

public static MessageFormat assertpkfieldformatter

pcclassgetterformatter

public static MessageFormat pcclassgetterformatter

cmpImplCommentsTemplate

public static String cmpImplCommentsTemplate

privateStaticVariablesTemplate

public static String privateStaticVariablesTemplate

otherVariablesTemplate

public static String otherVariablesTemplate

jdoGetJdoInstanceClassTemplate

public static String jdoGetJdoInstanceClassTemplate

assertPersistenceManagerIsNullTemplate

public static String assertPersistenceManagerIsNullTemplate

assertInstanceOfRemoteInterfaceImplTemplate

public static String assertInstanceOfRemoteInterfaceImplTemplate

getHelperInstanceTemplate

public static String getHelperInstanceTemplate

catchClauseTemplate

public static String catchClauseTemplate

signatureTemplate

public static String signatureTemplate

assertPKNotNullTemplate

public static String assertPKNotNullTemplate

assertOidNotNullTemplate

public static String assertOidNotNullTemplate

importsArray

public static String[] importsArray

interfacesArray

public static String[] interfacesArray

helperImportsArray

public static String[] helperImportsArray

commonPublicMethodsArray

public static String[] commonPublicMethodsArray

otherPublicMethodsArray

public static String[] otherPublicMethodsArray

commonPrivateMethodsArray

public static String[] commonPrivateMethodsArray

ejbFindByPrimaryKeyBody

public static String[] ejbFindByPrimaryKeyBody

afterCompletionBody

public static String[] afterCompletionBody

jdoGetPersistenceManagerBody

public static String[] jdoGetPersistenceManagerBody

jdoGetPersistenceManager0Body

public static String[] jdoGetPersistenceManager0Body

assertPersistenceManagerIsNullBody

public static String[] assertPersistenceManagerIsNullBody

jdoClosePersistenceManagerBody

public static String[] jdoClosePersistenceManagerBody

jdoReleasePersistenceManagerBody

public static String[] jdoReleasePersistenceManagerBody

jdoReleasePersistenceManager0Body

public static String[] jdoReleasePersistenceManager0Body

setEntityContextBody

public static String[] setEntityContextBody

getContainerBody

public static String[] getContainerBody


Copyright © 2012 GlassFish Community. All Rights Reserved.