Class JavaBeanGenerator


  • public class JavaBeanGenerator
    extends BeanGenerator
    Generates and optionally compiles/loads classes corresponding to specified TimeBase class descriptors.
    • Constructor Detail

      • JavaBeanGenerator

        public JavaBeanGenerator()
    • Method Detail

      • getLongAlphanumerics

        public boolean getLongAlphanumerics()
      • setLongAlphanumerics

        public void setLongAlphanumerics​(boolean longAlphanumerics)
        Whether to map VARCHAR (ALPHANUMERIC) to long.
        Parameters:
        longAlphanumerics - If true, VARCHAR (ALPHANUMERIC) will be mapped to a long native data type.
      • getRegenExistingClasses

        public boolean getRegenExistingClasses()
      • setRegenExistingClasses

        public void setRegenExistingClasses​(boolean b)
      • getDefaultPackage

        public java.lang.String getDefaultPackage()
      • setDefaultPackage

        public void setDefaultPackage​(java.lang.String defaultPackage)
      • getClassNameFor

        protected java.lang.String getClassNameFor​(ClassDescriptor cd)
      • loadExternalClass

        protected java.lang.Class<?> loadExternalClass​(ClassDescriptor cd)
      • escapeJavaReservedWord

        public static java.lang.String escapeJavaReservedWord​(java.lang.String keyword)
      • process

        public final void process()
      • getName

        public static java.lang.String getName​(RecordClassDescriptor type)
        Returns:
        not null value for Market and Security messages
      • compile

        public java.lang.ClassLoader compile()
      • getTypeLoader

        public TypeLoader getTypeLoader()