View Javadoc

    1   /*
    2    * joey-gen and its relative products are published under the terms
    3    * of the Apache Software License.
    4    *
    5    * Created on 2004/08/14 20:56:31
    6    */
    7   package org.asyrinx.joey.gen.command.rdb2java.standard;
    8
    9   import org.asyrinx.joey.gen.model.Element;
    10  import org.asyrinx.joey.gen.model.java.Entity;
    11  import org.asyrinx.joey.gen.model.java.JavaEnumeration;
    12  import org.asyrinx.joey.gen.model.rdb.RdbEnumeration;
    13  import org.asyrinx.joey.gen.model.rdb.Table;
    14
    15  /***
    16   * @author akima
    17   */
    18  public interface PackagingStrategy {
    19      String toPackageName(Table table);
    20
    21      String toPackageName(RdbEnumeration enumeration);
    22
    23      String getPackageName(Element element);
    24
    25      /***
    26       * @param entity
    27       */
    28      void preparePackageNames(Entity entity);
    29
    30      /***
    31       * @param enum
    32       */
    33      void preparePackageName(JavaEnumeration enum);
    34  }