|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.PO
org.compiere.model.X_AD_Column
org.compiere.model.MColumn
public class MColumn
Persistent Column Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_AD_Column |
|---|
AD_REFERENCE_ID_AD_Reference_ID, AD_REFERENCE_VALUE_ID_AD_Reference_ID, ENTITYTYPE_AD_Reference_ID, ISENCRYPTED_AD_Reference_ID, ISENCRYPTED_Encrypted, ISENCRYPTED_NotEncrypted |
| Fields inherited from class org.compiere.model.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
MColumn(MTable parent)
Parent Constructor |
|
MColumn(Properties ctx,
int AD_Column_ID,
String trxName)
Standard Constructor |
|
MColumn(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
static MColumn |
get(Properties ctx,
int AD_Column_ID)
Get MColumn from Cache |
static int |
getColumn_ID(String TableName,
String columnName)
get Column ID |
static String |
getColumnName(Properties ctx,
int AD_Column_ID)
Get Column Name |
String |
getConstraint(String tableName)
Get Table Constraint |
String |
getSQLAdd(MTable table)
Get SQL Add command |
String |
getSQLDataType()
Get SQL Data Type |
String |
getSQLDDL()
Get SQL DDL |
String |
getSQLModify(MTable table,
boolean setNullOption)
Get SQL Modify command |
static int |
getTable_ID(Properties ctx,
int AD_Column_ID,
String trxName)
Get Table Id for a column |
boolean |
isEncrypted()
Is the Column Encrypted? |
boolean |
isStandardColumn()
Is Standard Column |
boolean |
isVirtualColumn()
Is Virtual Column |
void |
setIsEncrypted(boolean IsEncrypted)
Set Encrypted |
String |
toString()
String Representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Constructor Detail |
|---|
public MColumn(Properties ctx,
int AD_Column_ID,
String trxName)
ctx - contextAD_Column_ID - trxName - transaction
public MColumn(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transactionpublic MColumn(MTable parent)
parent - table| Method Detail |
|---|
public static MColumn get(Properties ctx,
int AD_Column_ID)
ctx - contextAD_Column_ID - id
public static String getColumnName(Properties ctx,
int AD_Column_ID)
ctx - contextAD_Column_ID - id
public boolean isStandardColumn()
public boolean isVirtualColumn()
public boolean isEncrypted()
public void setIsEncrypted(boolean IsEncrypted)
IsEncrypted - encryptedprotected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - newsuccess - success
public String getSQLAdd(MTable table)
table - table
public String getSQLDDL()
public String getSQLModify(MTable table,
boolean setNullOption)
table - tablesetNullOption - generate null / not null statement
public String getSQLDataType()
public String getConstraint(String tableName)
tableName - table name
public String toString()
toString in class X_AD_Column
public static int getColumn_ID(String TableName,
String columnName)
String - windowNameString - columnName
public static int getTable_ID(Properties ctx,
int AD_Column_ID,
String trxName)
ctx - contextAD_Column_ID - idtrxName - transaction
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||