|
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_C_AcctSchema_Element
org.compiere.model.MAcctSchemaElement
public final class MAcctSchemaElement
Account Schema Element Object
| Field Summary |
|---|
| 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 | |
|---|---|
MAcctSchemaElement(MAcctSchema as)
Parent Constructor |
|
MAcctSchemaElement(Properties ctx,
int C_AcctSchema_Element_ID,
String trxName)
Standard Constructor |
|
MAcctSchemaElement(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
afterDelete(boolean success)
After Delete |
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
protected boolean |
beforeDelete()
Executed before Delete operation. |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
static MAcctSchemaElement[] |
getAcctSchemaElements(MAcctSchema as)
Factory: Return ArrayList of Account Schema Elements |
String |
getColumnName()
Get Acct Fact ColumnName |
static String |
getColumnName(String elementType)
Get Column Name of ELEMENTTYPE |
int |
getDefaultValue()
Get Default element value |
String |
getDisplayColumnName()
Get Display ColumnName |
static String |
getValueQuery(String elementType)
Get Value Query for ELEMENTTYPE Type |
boolean |
isElementType(String elementType)
Is Element Type |
void |
setTypeAccount(int SeqNo,
String Name,
int C_Element_ID,
int C_ElementValue_ID)
Set Type Account |
void |
setTypeBPartner(int SeqNo,
String Name,
int C_BPartner_ID)
Set Type BPartner |
void |
setTypeOrg(int SeqNo,
String Name,
int Org_ID)
Set Organization Type |
void |
setTypeProduct(int SeqNo,
String Name,
int M_Product_ID)
Set Type Product |
void |
setTypeProject(int SeqNo,
String Name,
int C_Project_ID)
Set Type Project |
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 MAcctSchemaElement(Properties ctx,
int C_AcctSchema_Element_ID,
String trxName)
ctx - contextC_AcctSchema_Element_ID - idtrxName - transaction
public MAcctSchemaElement(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transactionpublic MAcctSchemaElement(MAcctSchema as)
as - accounting schema| Method Detail |
|---|
public static MAcctSchemaElement[] getAcctSchemaElements(MAcctSchema as)
as - Accounting Schema
public static String getColumnName(String elementType)
elementType - ELEMENTTYPE
public static String getValueQuery(String elementType)
elementType - ELEMENTTYPE type
public void setTypeOrg(int SeqNo,
String Name,
int Org_ID)
SeqNo - sequenceName - nameOrg_ID - id
public void setTypeAccount(int SeqNo,
String Name,
int C_Element_ID,
int C_ElementValue_ID)
SeqNo - squenceName - nameC_Element_ID - elementC_ElementValue_ID - element value
public void setTypeBPartner(int SeqNo,
String Name,
int C_BPartner_ID)
SeqNo - sequenceName - nameC_BPartner_ID - id
public void setTypeProduct(int SeqNo,
String Name,
int M_Product_ID)
SeqNo - sequenceName - nameM_Product_ID - id
public void setTypeProject(int SeqNo,
String Name,
int C_Project_ID)
SeqNo - sequenceName - nameC_Project_ID - idpublic boolean isElementType(String elementType)
elementType - type
public int getDefaultValue()
public String getColumnName()
public String getDisplayColumnName()
public String toString()
toString in class X_C_AcctSchema_Elementprotected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - newsuccess - success
protected boolean beforeDelete()
PO
beforeDelete in class POprotected boolean afterDelete(boolean success)
afterDelete in class POsuccess - success
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||