code: private InheritanceModel onStrategyType(InheritanceModel model, InheritanceType strategyType, String descriminator,
              String descriminatorValue, String tableName, String schemaName)
      {
          switch (strategyType)
          {
          case SINGLE_TABLE:
  
              // if single table
  
              if (superClazzType.getJavaType().isAnnotationPresent(DiscriminatorColumn.class))
              {
                  descriminator = superClazzType.getJavaType().getAnnotation(DiscriminatorColumn.class).name();
                  descriminatorValue = getJavaType().getAnnotation(DiscriminatorValue.class).value();
              }
  
              model = new InheritanceModel(InheritanceType.SINGLE_TABLE, descriminator, descriminatorValue, tableName,
                      schemaName);
  
              break;
  
          case JOINED:
  
              // if join table
              // TODOO: PRIMARY KEY JOIN COLUMN
              model = new InheritanceModel(InheritanceType.JOINED, tableName, schemaName);
  
              break;
  
          case TABLE_PER_CLASS:
  
              // don't override, use original ones.
              model = new InheritanceModel(InheritanceType.TABLE_PER_CLASS, null, null);
  
              break;
  
          default:
              // do nothing.
              break;
          }
          return model;
      }
docs: On strategy type.
  
  @param model
  the model
  @param strategyType
  the strategy type
  @param descriminator
  the descriminator
  @param descriminatorValue
  the descriminator value
  @param tableName
  the table name
  @param schemaName
  the schema name
  @return the inheritance model