Class BeanSourceFileProcessor

java.lang.Object
de.hybris.bootstrap.beangenerator.BeanSourceFileProcessor

public class BeanSourceFileProcessor extends Object
  • Field Details

    • LOG

      protected static final org.apache.log4j.Logger LOG
  • Constructor Details

    • BeanSourceFileProcessor

      public BeanSourceFileProcessor(String generateTargetDirName)
  • Method Details

    • generateBeanSourceFile

      public void generateBeanSourceFile(ClassNameAware bean, File velocityTemplateFile)
    • getFileFromClassName

      protected File getFileFromClassName(String className)
    • createVelocityContext

      protected org.apache.velocity.VelocityContext createVelocityContext(ClassNameAware beanPrototype)
    • decorateVelocityContext

      protected org.apache.velocity.VelocityContext decorateVelocityContext(org.apache.velocity.VelocityContext ctx, EnumPrototype bean)
    • decorateVelocityContext

      protected org.apache.velocity.VelocityContext decorateVelocityContext(org.apache.velocity.VelocityContext ctx, BeanPrototype bean)
    • createMemberVariables

      protected List<MemberVariable> createMemberVariables(BeanPrototype bean, Collection<PropertyPrototype> properties)
    • createEnumValues

      protected List<EnumValue> createEnumValues(EnumPrototype bean)
    • createImportList

      protected List<String> createImportList(BeanPrototype bean)