Class HJMPEntityBean

java.lang.Object
de.hybris.platform.persistence.hjmpgen.HJMPEntityBean

public class HJMPEntityBean extends Object
  • Constructor Details

    • HJMPEntityBean

      public HJMPEntityBean(ItemDeployment newItemDeployment)
  • Method Details

    • getHomeClass

      protected Class getHomeClass()
    • getEJBClass

      protected Class getEJBClass()
    • getFullyQualifiedBaseName

      protected String getFullyQualifiedBaseName()
    • isGeneric

      protected boolean isGeneric()
    • getTypeCode

      protected int getTypeCode()
    • getSimpleBaseName

      protected String getSimpleBaseName()
    • getFullyQualifiedClassName

      protected String getFullyQualifiedClassName()
    • getFullyQualifiedRemoteClassName

      protected String getFullyQualifiedRemoteClassName()
    • getFullyQualifiedHomeClassName

      protected String getFullyQualifiedHomeClassName()
    • getFullyQualifiedSuperClassName

      protected String getFullyQualifiedSuperClassName()
    • getSimpleClassName

      protected String getSimpleClassName()
    • getEntityStateName

      protected String getEntityStateName()
    • getCacheUnitName

      protected String getCacheUnitName()
    • getPackageName

      protected String getPackageName()
    • getAllAttributes

      protected List getAllAttributes()
      Returns:
      a List of ItemDeployment.Attributes
    • getNonPKAttributes

      protected List getNonPKAttributes()
      Returns:
      a List of ItemDeployment.Attributes
    • getAttributeNumber

      protected int getAttributeNumber(String qualifier)
    • getAccess

      protected String getAccess(Class c)
    • getAccessDefinition

      protected String getAccessDefinition(Class c, int pos)
    • insertAccessDefinitionBlock

      protected void insertAccessDefinitionBlock(int insertPos, String indent, JavaFile fileContent)
    • getCreateMethods

      protected List getCreateMethods()
      Returns:
      a List of HJMPEntityBean.HJMPCreateMethods
    • getJDBCAccessorFor

      protected static String getJDBCAccessorFor(Class c)
    • getJDBCNullTypeFor

      protected static String getJDBCNullTypeFor(Class c)
    • isJDBCNullAbleType

      protected static boolean isJDBCNullAbleType(Class c)
    • getJDBCValueFor

      protected static String getJDBCValueFor(Class type, String varName)
    • getJDBCValueFor

      protected static String getJDBCValueFor(Class type, String varName, boolean forNullCheck)
    • getFileName

      protected String getFileName()
    • getRemoteFileName

      protected String getRemoteFileName()
    • getHomeFileName

      protected String getHomeFileName()
    • writeToFile

      public void writeToFile(File targetDirectory) throws IOException, ClassNotFoundException
      Throws:
      IOException
      ClassNotFoundException
    • getPKGetter

      public String getPKGetter()
    • getPKColumnName

      public String getPKColumnName()
    • getPKFieldName

      public String getPKFieldName()
    • isBeanAnItem

      public boolean isBeanAnItem()
    • tryToResolveClass

      protected Class tryToResolveClass(String attributeType)
    • getFileContent

      public List getFileContent() throws ClassNotFoundException
      Throws:
      ClassNotFoundException
    • getValueWriterCode

      protected final String getValueWriterCode(String statementName, int statementPos, Class type, String name)
    • getValueWriterCode

      protected final String getValueWriterCode(String statementName, String statementPosExpr, Class type, String name)