|
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_Element
public class X_C_Element
Generated Model for C_Element
| Field Summary | |
|---|---|
static String |
ELEMENTTYPE_Account
Account = A |
static int |
ELEMENTTYPE_AD_Reference_ID
ElementType AD_Reference_ID=116 |
static String |
ELEMENTTYPE_UserDefined
User defined = U |
| 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 |
| Fields inherited from interface org.compiere.model.I_C_Element |
|---|
accessLevel, COLUMNNAME_AD_Tree_ID, COLUMNNAME_C_Element_ID, COLUMNNAME_Description, COLUMNNAME_ElementType, COLUMNNAME_IsBalancing, COLUMNNAME_IsNaturalAccount, COLUMNNAME_Name, COLUMNNAME_VFormat, Model, Table_ID, Table_Name |
| Constructor Summary | |
|---|---|
X_C_Element(Properties ctx,
int C_Element_ID,
String trxName)
Standard Constructor |
|
X_C_Element(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected int |
get_AccessLevel()
AccessLevel |
int |
getAD_Tree_ID()
Get Tree. |
I_AD_Tree |
getAD_Tree()
|
int |
getC_Element_ID()
Get Element. |
String |
getDescription()
Get Description. |
String |
getElementType()
Get Type. |
KeyNamePair |
getKeyNamePair()
Get Record ID/ColumnName |
String |
getName()
Get Name. |
String |
getVFormat()
Get Value Format. |
protected POInfo |
initPO(Properties ctx)
Load Meta Data |
boolean |
isBalancing()
Get Balancing. |
boolean |
isNaturalAccount()
Get Natural Account. |
void |
setAD_Tree_ID(int AD_Tree_ID)
Set Tree. |
void |
setC_Element_ID(int C_Element_ID)
Set Element. |
void |
setDescription(String Description)
Set Description. |
void |
setElementType(String ElementType)
Set Type. |
void |
setIsBalancing(boolean IsBalancing)
Set Balancing. |
void |
setIsNaturalAccount(boolean IsNaturalAccount)
Set Natural Account. |
void |
setName(String Name)
Set Name. |
void |
setVFormat(String VFormat)
Set Value Format. |
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 |
| Field Detail |
|---|
public static final int ELEMENTTYPE_AD_Reference_ID
public static final String ELEMENTTYPE_Account
public static final String ELEMENTTYPE_UserDefined
| Constructor Detail |
|---|
public X_C_Element(Properties ctx,
int C_Element_ID,
String trxName)
public X_C_Element(Properties ctx,
ResultSet rs,
String trxName)
| Method Detail |
|---|
protected int get_AccessLevel()
get_AccessLevel in class POprotected POInfo initPO(Properties ctx)
initPO in class POctx - context
public String toString()
PO
toString in class PO
public I_AD_Tree getAD_Tree()
throws Exception
getAD_Tree in interface I_C_ElementExceptionpublic void setAD_Tree_ID(int AD_Tree_ID)
setAD_Tree_ID in interface I_C_ElementAD_Tree_ID - Identifies a Treepublic int getAD_Tree_ID()
getAD_Tree_ID in interface I_C_Elementpublic void setC_Element_ID(int C_Element_ID)
setC_Element_ID in interface I_C_ElementC_Element_ID - Accounting Elementpublic int getC_Element_ID()
getC_Element_ID in interface I_C_Elementpublic void setDescription(String Description)
setDescription in interface I_C_ElementDescription - Optional short description of the recordpublic String getDescription()
getDescription in interface I_C_Elementpublic void setElementType(String ElementType)
setElementType in interface I_C_ElementElementType - Element Type (account or user defined)public String getElementType()
getElementType in interface I_C_Elementpublic void setIsBalancing(boolean IsBalancing)
setIsBalancing in interface I_C_ElementIsBalancing - All transactions within an element value must balance (e.g. cost centers)public boolean isBalancing()
isBalancing in interface I_C_Elementpublic void setIsNaturalAccount(boolean IsNaturalAccount)
setIsNaturalAccount in interface I_C_ElementIsNaturalAccount - The primary natural accountpublic boolean isNaturalAccount()
isNaturalAccount in interface I_C_Elementpublic void setName(String Name)
setName in interface I_C_ElementName - Alphanumeric identifier of the entitypublic String getName()
getName in interface I_C_Elementpublic KeyNamePair getKeyNamePair()
public void setVFormat(String VFormat)
setVFormat in interface I_C_ElementVFormat - Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09"public String getVFormat()
getVFormat in interface I_C_Element
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||