Package org.compiere.model
Class X_C_AcctSchema_Element
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_C_AcctSchema_Element
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_C_AcctSchema_Element
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MAcctSchemaElement
public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element, I_Persistent
Generated Model for C_AcctSchema_Element- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ELEMENTTYPE_Account
Account = ACstatic String
ELEMENTTYPE_Activity
Activity = AYstatic int
ELEMENTTYPE_AD_Reference_ID
ElementType AD_Reference_ID=181static String
ELEMENTTYPE_BPartner
BPartner = BPstatic String
ELEMENTTYPE_Campaign
Campaign = MCstatic String
ELEMENTTYPE_LocationFrom
Location From = LFstatic String
ELEMENTTYPE_LocationTo
Location To = LTstatic String
ELEMENTTYPE_Organization
Organization = OOstatic String
ELEMENTTYPE_OrgTrx
Org Trx = OTstatic String
ELEMENTTYPE_Product
Product = PRstatic String
ELEMENTTYPE_Project
Project = PJstatic String
ELEMENTTYPE_SalesRegion
Sales Region = SRstatic String
ELEMENTTYPE_SubAccount
Sub Account = SAstatic String
ELEMENTTYPE_UserColumn1
User Column 1 = X1static String
ELEMENTTYPE_UserColumn2
User Column 2 = X2static String
ELEMENTTYPE_UserElementList1
User Element List 1 = U1static String
ELEMENTTYPE_UserElementList2
User Element List 2 = U2-
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, LOCAL_TRX_PREFIX, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.compiere.model.I_C_AcctSchema_Element
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Column_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_AcctSchema_Element_ID, COLUMNNAME_C_AcctSchema_Element_UU, COLUMNNAME_C_AcctSchema_ID, COLUMNNAME_C_Activity_ID, COLUMNNAME_C_BPartner_ID, COLUMNNAME_C_Campaign_ID, COLUMNNAME_C_Element_ID, COLUMNNAME_C_ElementValue_ID, COLUMNNAME_C_Location_ID, COLUMNNAME_C_Project_ID, COLUMNNAME_C_SalesRegion_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_ElementType, COLUMNNAME_IsActive, COLUMNNAME_IsBalanced, COLUMNNAME_IsMandatory, COLUMNNAME_M_Product_ID, COLUMNNAME_Name, COLUMNNAME_Org_ID, COLUMNNAME_SeqNo, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_C_AcctSchema_Element(Properties ctx, int C_AcctSchema_Element_ID, String trxName)
Standard ConstructorX_C_AcctSchema_Element(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
get_AccessLevel()
AccessLevelI_AD_Column
getAD_Column()
int
getAD_Column_ID()
Get Column.I_C_AcctSchema
getC_AcctSchema()
int
getC_AcctSchema_Element_ID()
Get Acct.Schema Element.String
getC_AcctSchema_Element_UU()
Get C_AcctSchema_Element_UU.int
getC_AcctSchema_ID()
Get Accounting Schema.I_C_Activity
getC_Activity()
int
getC_Activity_ID()
Get Activity.I_C_BPartner
getC_BPartner()
int
getC_BPartner_ID()
Get Business Partner.I_C_Campaign
getC_Campaign()
int
getC_Campaign_ID()
Get Campaign.I_C_Element
getC_Element()
int
getC_Element_ID()
Get Element.I_C_ElementValue
getC_ElementValue()
int
getC_ElementValue_ID()
Get Account Element.I_C_Location
getC_Location()
int
getC_Location_ID()
Get Address.I_C_Project
getC_Project()
int
getC_Project_ID()
Get Project.I_C_SalesRegion
getC_SalesRegion()
int
getC_SalesRegion_ID()
Get Sales Region.String
getElementType()
Get Type.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameI_M_Product
getM_Product()
int
getM_Product_ID()
Get Product.String
getName()
Get Name.int
getOrg_ID()
Get Organization.int
getSeqNo()
Get Sequence.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isBalanced()
Get Balanced.boolean
isMandatory()
Get Mandatory.void
setAD_Column_ID(int AD_Column_ID)
Set Column.void
setC_AcctSchema_Element_ID(int C_AcctSchema_Element_ID)
Set Acct.Schema Element.void
setC_AcctSchema_Element_UU(String C_AcctSchema_Element_UU)
Set C_AcctSchema_Element_UU.void
setC_AcctSchema_ID(int C_AcctSchema_ID)
Set Accounting Schema.void
setC_Activity_ID(int C_Activity_ID)
Set Activity.void
setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner.void
setC_Campaign_ID(int C_Campaign_ID)
Set Campaign.void
setC_Element_ID(int C_Element_ID)
Set Element.void
setC_ElementValue_ID(int C_ElementValue_ID)
Set Account Element.void
setC_Location_ID(int C_Location_ID)
Set Address.void
setC_Project_ID(int C_Project_ID)
Set Project.void
setC_SalesRegion_ID(int C_SalesRegion_ID)
Set Sales Region.void
setElementType(String ElementType)
Set Type.void
setIsBalanced(boolean IsBalanced)
Set Balanced.void
setIsMandatory(boolean IsMandatory)
Set Mandatory.void
setM_Product_ID(int M_Product_ID)
Set Product.void
setName(String Name)
Set Name.void
setOrg_ID(int Org_ID)
Set Organization.void
setSeqNo(int SeqNo)
Set Sequence.String
toString()
String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock, update_Tree, validForeignKeys
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.compiere.model.I_C_AcctSchema_Element
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Methods inherited from interface org.compiere.model.I_Persistent
save
-
-
-
-
Field Detail
-
ELEMENTTYPE_AD_Reference_ID
public static final int ELEMENTTYPE_AD_Reference_ID
ElementType AD_Reference_ID=181- See Also:
- Constant Field Values
-
ELEMENTTYPE_Account
public static final String ELEMENTTYPE_Account
Account = AC- See Also:
- Constant Field Values
-
ELEMENTTYPE_Activity
public static final String ELEMENTTYPE_Activity
Activity = AY- See Also:
- Constant Field Values
-
ELEMENTTYPE_BPartner
public static final String ELEMENTTYPE_BPartner
BPartner = BP- See Also:
- Constant Field Values
-
ELEMENTTYPE_LocationFrom
public static final String ELEMENTTYPE_LocationFrom
Location From = LF- See Also:
- Constant Field Values
-
ELEMENTTYPE_LocationTo
public static final String ELEMENTTYPE_LocationTo
Location To = LT- See Also:
- Constant Field Values
-
ELEMENTTYPE_Campaign
public static final String ELEMENTTYPE_Campaign
Campaign = MC- See Also:
- Constant Field Values
-
ELEMENTTYPE_Organization
public static final String ELEMENTTYPE_Organization
Organization = OO- See Also:
- Constant Field Values
-
ELEMENTTYPE_OrgTrx
public static final String ELEMENTTYPE_OrgTrx
Org Trx = OT- See Also:
- Constant Field Values
-
ELEMENTTYPE_Project
public static final String ELEMENTTYPE_Project
Project = PJ- See Also:
- Constant Field Values
-
ELEMENTTYPE_Product
public static final String ELEMENTTYPE_Product
Product = PR- See Also:
- Constant Field Values
-
ELEMENTTYPE_SubAccount
public static final String ELEMENTTYPE_SubAccount
Sub Account = SA- See Also:
- Constant Field Values
-
ELEMENTTYPE_SalesRegion
public static final String ELEMENTTYPE_SalesRegion
Sales Region = SR- See Also:
- Constant Field Values
-
ELEMENTTYPE_UserElementList1
public static final String ELEMENTTYPE_UserElementList1
User Element List 1 = U1- See Also:
- Constant Field Values
-
ELEMENTTYPE_UserElementList2
public static final String ELEMENTTYPE_UserElementList2
User Element List 2 = U2- See Also:
- Constant Field Values
-
ELEMENTTYPE_UserColumn1
public static final String ELEMENTTYPE_UserColumn1
User Column 1 = X1- See Also:
- Constant Field Values
-
ELEMENTTYPE_UserColumn2
public static final String ELEMENTTYPE_UserColumn2
User Column 2 = X2- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_C_AcctSchema_Element
public X_C_AcctSchema_Element(Properties ctx, int C_AcctSchema_Element_ID, String trxName)
Standard Constructor
-
X_C_AcctSchema_Element
public X_C_AcctSchema_Element(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 2 - Client
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getAD_Column
public I_AD_Column getAD_Column() throws RuntimeException
- Specified by:
getAD_Column
in interfaceI_C_AcctSchema_Element
- Throws:
RuntimeException
-
setAD_Column_ID
public void setAD_Column_ID(int AD_Column_ID)
Set Column.- Specified by:
setAD_Column_ID
in interfaceI_C_AcctSchema_Element
- Parameters:
AD_Column_ID
- Column in the table
-
getAD_Column_ID
public int getAD_Column_ID()
Get Column.- Specified by:
getAD_Column_ID
in interfaceI_C_AcctSchema_Element
- Returns:
- Column in the table
-
setC_AcctSchema_Element_ID
public void setC_AcctSchema_Element_ID(int C_AcctSchema_Element_ID)
Set Acct.Schema Element.- Specified by:
setC_AcctSchema_Element_ID
in interfaceI_C_AcctSchema_Element
- Parameters:
C_AcctSchema_Element_ID
- Acct.Schema Element
-
getC_AcctSchema_Element_ID
public int getC_AcctSchema_Element_ID()
Get Acct.Schema Element.- Specified by:
getC_AcctSchema_Element_ID
in interfaceI_C_AcctSchema_Element
- Returns:
- Acct.Schema Element
-
setC_AcctSchema_Element_UU
public void setC_AcctSchema_Element_UU(String C_AcctSchema_Element_UU)
Set C_AcctSchema_Element_UU.- Specified by:
setC_AcctSchema_Element_UU
in interfaceI_C_AcctSchema_Element
- Parameters:
C_AcctSchema_Element_UU
- C_AcctSchema_Element_UU
-
getC_AcctSchema_Element_UU
public String getC_AcctSchema_Element_UU()
Get C_AcctSchema_Element_UU.- Specified by:
getC_AcctSchema_Element_UU
in interfaceI_C_AcctSchema_Element
- Returns:
- C_AcctSchema_Element_UU
-
getC_AcctSchema
public I_C_AcctSchema getC_AcctSchema() throws RuntimeException
- Specified by:
getC_AcctSchema
in interfaceI_C_AcctSchema_Element
- Throws:
RuntimeException
-
setC_AcctSchema_ID
public void setC_AcctSchema_ID(int C_AcctSchema_ID)
Set Accounting Schema.- Specified by:
setC_AcctSchema_ID
in interfaceI_C_AcctSchema_Element
- Parameters:
C_AcctSchema_ID
- Rules for accounting
-
getC_AcctSchema_ID
public int getC_AcctSchema_ID()
Get Accounting Schema.- Specified by:
getC_AcctSchema_ID
in interfaceI_C_AcctSchema_Element
- Returns:
- Rules for accounting
-
getC_Activity
public I_C_Activity getC_Activity() throws RuntimeException
- Specified by:
getC_Activity
in interfaceI_C_AcctSchema_Element
- Throws:
RuntimeException
-
setC_Activity_ID
public void setC_Activity_ID(int C_Activity_ID)
Set Activity.- Specified by:
setC_Activity_ID
in interfaceI_C_AcctSchema_Element
- Parameters:
C_Activity_ID
- Business Activity
-
getC_Activity_ID
public int getC_Activity_ID()
Get Activity.- Specified by:
getC_Activity_ID
in interfaceI_C_AcctSchema_Element
- Returns:
- Business Activity
-
getC_BPartner
public I_C_BPartner getC_BPartner() throws RuntimeException
- Specified by:
getC_BPartner
in interfaceI_C_AcctSchema_Element
- Throws:
RuntimeException
-
setC_BPartner_ID
public void setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner.- Specified by:
setC_BPartner_ID
in interfaceI_C_AcctSchema_Element
- Parameters:
C_BPartner_ID
- Identifies a Business Partner
-
getC_BPartner_ID
public int getC_BPartner_ID()
Get Business Partner.- Specified by:
getC_BPartner_ID
in interfaceI_C_AcctSchema_Element
- Returns:
- Identifies a Business Partner
-
getC_Campaign
public I_C_Campaign getC_Campaign() throws RuntimeException
- Specified by:
getC_Campaign
in interfaceI_C_AcctSchema_Element
- Throws:
RuntimeException
-
setC_Campaign_ID
public void setC_Campaign_ID(int C_Campaign_ID)
Set Campaign.- Specified by:
setC_Campaign_ID
in interfaceI_C_AcctSchema_Element
- Parameters:
C_Campaign_ID
- Marketing Campaign
-
getC_Campaign_ID
public int getC_Campaign_ID()
Get Campaign.- Specified by:
getC_Campaign_ID
in interfaceI_C_AcctSchema_Element
- Returns:
- Marketing Campaign
-
getC_Element
public I_C_Element getC_Element() throws RuntimeException
- Specified by:
getC_Element
in interfaceI_C_AcctSchema_Element
- Throws:
RuntimeException
-
setC_Element_ID
public void setC_Element_ID(int C_Element_ID)
Set Element.- Specified by:
setC_Element_ID
in interfaceI_C_AcctSchema_Element
- Parameters:
C_Element_ID
- Accounting Element
-
getC_Element_ID
public int getC_Element_ID()
Get Element.- Specified by:
getC_Element_ID
in interfaceI_C_AcctSchema_Element
- Returns:
- Accounting Element
-
getC_ElementValue
public I_C_ElementValue getC_ElementValue() throws RuntimeException
- Specified by:
getC_ElementValue
in interfaceI_C_AcctSchema_Element
- Throws:
RuntimeException
-
setC_ElementValue_ID
public void setC_ElementValue_ID(int C_ElementValue_ID)
Set Account Element.- Specified by:
setC_ElementValue_ID
in interfaceI_C_AcctSchema_Element
- Parameters:
C_ElementValue_ID
- Account Element
-
getC_ElementValue_ID
public int getC_ElementValue_ID()
Get Account Element.- Specified by:
getC_ElementValue_ID
in interfaceI_C_AcctSchema_Element
- Returns:
- Account Element
-
getC_Location
public I_C_Location getC_Location() throws RuntimeException
- Specified by:
getC_Location
in interfaceI_C_AcctSchema_Element
- Throws:
RuntimeException
-
setC_Location_ID
public void setC_Location_ID(int C_Location_ID)
Set Address.- Specified by:
setC_Location_ID
in interfaceI_C_AcctSchema_Element
- Parameters:
C_Location_ID
- Location or Address
-
getC_Location_ID
public int getC_Location_ID()
Get Address.- Specified by:
getC_Location_ID
in interfaceI_C_AcctSchema_Element
- Returns:
- Location or Address
-
getC_Project
public I_C_Project getC_Project() throws RuntimeException
- Specified by:
getC_Project
in interfaceI_C_AcctSchema_Element
- Throws:
RuntimeException
-
setC_Project_ID
public void setC_Project_ID(int C_Project_ID)
Set Project.- Specified by:
setC_Project_ID
in interfaceI_C_AcctSchema_Element
- Parameters:
C_Project_ID
- Financial Project
-
getC_Project_ID
public int getC_Project_ID()
Get Project.- Specified by:
getC_Project_ID
in interfaceI_C_AcctSchema_Element
- Returns:
- Financial Project
-
getC_SalesRegion
public I_C_SalesRegion getC_SalesRegion() throws RuntimeException
- Specified by:
getC_SalesRegion
in interfaceI_C_AcctSchema_Element
- Throws:
RuntimeException
-
setC_SalesRegion_ID
public void setC_SalesRegion_ID(int C_SalesRegion_ID)
Set Sales Region.- Specified by:
setC_SalesRegion_ID
in interfaceI_C_AcctSchema_Element
- Parameters:
C_SalesRegion_ID
- Sales coverage region
-
getC_SalesRegion_ID
public int getC_SalesRegion_ID()
Get Sales Region.- Specified by:
getC_SalesRegion_ID
in interfaceI_C_AcctSchema_Element
- Returns:
- Sales coverage region
-
setElementType
public void setElementType(String ElementType)
Set Type.- Specified by:
setElementType
in interfaceI_C_AcctSchema_Element
- Parameters:
ElementType
- Element Type (account or user defined)
-
getElementType
public String getElementType()
Get Type.- Specified by:
getElementType
in interfaceI_C_AcctSchema_Element
- Returns:
- Element Type (account or user defined)
-
setIsBalanced
public void setIsBalanced(boolean IsBalanced)
Set Balanced.- Specified by:
setIsBalanced
in interfaceI_C_AcctSchema_Element
- Parameters:
IsBalanced
- Balanced
-
isBalanced
public boolean isBalanced()
Get Balanced.- Specified by:
isBalanced
in interfaceI_C_AcctSchema_Element
- Returns:
- Balanced
-
setIsMandatory
public void setIsMandatory(boolean IsMandatory)
Set Mandatory.- Specified by:
setIsMandatory
in interfaceI_C_AcctSchema_Element
- Parameters:
IsMandatory
- Data entry is required in this column
-
isMandatory
public boolean isMandatory()
Get Mandatory.- Specified by:
isMandatory
in interfaceI_C_AcctSchema_Element
- Returns:
- Data entry is required in this column
-
getM_Product
public I_M_Product getM_Product() throws RuntimeException
- Specified by:
getM_Product
in interfaceI_C_AcctSchema_Element
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID)
Set Product.- Specified by:
setM_Product_ID
in interfaceI_C_AcctSchema_Element
- Parameters:
M_Product_ID
- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()
Get Product.- Specified by:
getM_Product_ID
in interfaceI_C_AcctSchema_Element
- Returns:
- Product, Service, Item
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_C_AcctSchema_Element
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_C_AcctSchema_Element
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setOrg_ID
public void setOrg_ID(int Org_ID)
Set Organization.- Specified by:
setOrg_ID
in interfaceI_C_AcctSchema_Element
- Parameters:
Org_ID
- Organizational entity within client
-
getOrg_ID
public int getOrg_ID()
Get Organization.- Specified by:
getOrg_ID
in interfaceI_C_AcctSchema_Element
- Returns:
- Organizational entity within client
-
setSeqNo
public void setSeqNo(int SeqNo)
Set Sequence.- Specified by:
setSeqNo
in interfaceI_C_AcctSchema_Element
- Parameters:
SeqNo
- Method of ordering records; lowest number comes first
-
getSeqNo
public int getSeqNo()
Get Sequence.- Specified by:
getSeqNo
in interfaceI_C_AcctSchema_Element
- Returns:
- Method of ordering records; lowest number comes first
-
-