|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.db.CConstraint
public class CConstraint
Processing additional tasks for constraints
| Constructor Summary | |
|---|---|
protected |
CConstraint()
Constructor. |
| Method Summary | |
|---|---|
static String |
forTrigger(int reExNo,
String msg,
String sql)
|
static String |
get(Connection conn,
String cname)
get constriant name from original name |
static String[] |
getConstrainNames(Connection conn,
String table)
get constriant names of the table |
static String |
getConstraintName(Connection conn,
String oriName)
get constriant information |
static int |
save(Connection conn,
String sql,
String oriName)
save constriant information for later to use CREATE TABLE "COMPIERE"." |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected CConstraint()
| Method Detail |
|---|
public static int save(Connection conn,
String sql,
String oriName)
conn - Connectionsql - constraint sqloriName - Original constraint name, usually longer than 18 chars
public static String getConstraintName(Connection conn,
String oriName)
conn - ConnectionoriName - Original constraint name, usually longer than 18 chars
public static String get(Connection conn,
String cname)
conn - Connectioncname - constraint name
public static String[] getConstrainNames(Connection conn,
String table)
conn - Connectiontable - table name
public static String forTrigger(int reExNo,
String msg,
String sql)
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||