Compiere 3.1

org.compiere.tools
Class SubTableUtil

java.lang.Object
  extended by org.compiere.tools.SubTableUtil

public class SubTableUtil
extends Object

Generate Delta or History Tables

Author:
Jorg Janke

Constructor Summary
SubTableUtil(Ctx ctx, String tableName)
          Generate History Infrastructure
SubTableUtil(Ctx ctx, String tableName, boolean userDef)
          Generate Sub Table Infrastructure
 
Method Summary
static void checkStandardColumns(MTable table, String EntityType)
          Check Existence of Std columns and create them in AD and DB
static void main(String[] args)
          Test
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubTableUtil

public SubTableUtil(Ctx ctx,
                    String tableName,
                    boolean userDef)
Generate Sub Table Infrastructure

Parameters:
ctx - ctx
tableName - table Name
userDef - if true create UserDef otherwise SysDef

SubTableUtil

public SubTableUtil(Ctx ctx,
                    String tableName)
Generate History Infrastructure

Parameters:
ctx - ctx
tableName - table Name
Method Detail

checkStandardColumns

public static void checkStandardColumns(MTable table,
                                        String EntityType)
Check Existence of Std columns and create them in AD and DB

Parameters:
table - table
EntityType - entity type if null defaults to table entity type

main

public static void main(String[] args)
Test

Parameters:
args - ignored

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.