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
Generated Model for C_AcctSchema_Element
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Account = ACstatic final String
Activity = AYstatic final int
ElementType AD_Reference_ID=181static final String
BPartner = BPstatic final String
Campaign = MCstatic final String
Location From = LFstatic final String
Location To = LTstatic final String
Organization = OOstatic final String
Org Trx = OTstatic final String
Product = PRstatic final String
Project = PJstatic final String
Sales Region = SRstatic final String
Sub Account = SAstatic final String
User Column 1 = X1static final String
User Column 2 = X2static final String
User Element List 1 = U1static final String
User Element List 2 = U2Fields 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, UUID_NEW_RECORD, 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
ConstructorDescriptionX_C_AcctSchema_Element
(Properties ctx, int C_AcctSchema_Element_ID, String trxName) Standard ConstructorX_C_AcctSchema_Element
(Properties ctx, int C_AcctSchema_Element_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_AcctSchema_Element
(Properties ctx, String C_AcctSchema_Element_UU, String trxName) Standard ConstructorX_C_AcctSchema_Element
(Properties ctx, String C_AcctSchema_Element_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_AcctSchema_Element
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Column.int
Get Acct.Schema Element.Get C_AcctSchema_Element_UU.int
Get Accounting Schema.int
Get Activity.int
Get Business Partner.int
Get Campaign.int
Get Element.int
Get Account Element.int
Get Address.int
Get Project.int
Get Sales Region.Get Type.Get Record ID/ColumnNameint
Get Product.getName()
Get Name.int
Get Organization.int
getSeqNo()
Get Sequence.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Balanced.boolean
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
Set Name.void
setOrg_ID
(int Org_ID) Set Organization.void
setSeqNo
(int SeqNo) Set Sequence.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, 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_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, 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, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, 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, toInsertSQL, 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 Details
-
ELEMENTTYPE_AD_Reference_ID
public static final int ELEMENTTYPE_AD_Reference_IDElementType AD_Reference_ID=181- See Also:
-
ELEMENTTYPE_Account
Account = AC- See Also:
-
ELEMENTTYPE_Activity
Activity = AY- See Also:
-
ELEMENTTYPE_BPartner
BPartner = BP- See Also:
-
ELEMENTTYPE_LocationFrom
Location From = LF- See Also:
-
ELEMENTTYPE_LocationTo
Location To = LT- See Also:
-
ELEMENTTYPE_Campaign
Campaign = MC- See Also:
-
ELEMENTTYPE_Organization
Organization = OO- See Also:
-
ELEMENTTYPE_OrgTrx
Org Trx = OT- See Also:
-
ELEMENTTYPE_Project
Project = PJ- See Also:
-
ELEMENTTYPE_Product
Product = PR- See Also:
-
ELEMENTTYPE_SubAccount
Sub Account = SA- See Also:
-
ELEMENTTYPE_SalesRegion
Sales Region = SR- See Also:
-
ELEMENTTYPE_UserElementList1
User Element List 1 = U1- See Also:
-
ELEMENTTYPE_UserElementList2
User Element List 2 = U2- See Also:
-
ELEMENTTYPE_UserColumn1
User Column 1 = X1- See Also:
-
ELEMENTTYPE_UserColumn2
User Column 2 = X2- See Also:
-
-
Constructor Details
-
X_C_AcctSchema_Element
Standard Constructor -
X_C_AcctSchema_Element
public X_C_AcctSchema_Element(Properties ctx, int C_AcctSchema_Element_ID, String trxName, String... virtualColumns) Standard Constructor -
X_C_AcctSchema_Element
Standard Constructor -
X_C_AcctSchema_Element
public X_C_AcctSchema_Element(Properties ctx, String C_AcctSchema_Element_UU, String trxName, String... virtualColumns) Standard Constructor -
X_C_AcctSchema_Element
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 2 - Client
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getAD_Column
- 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
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
Get C_AcctSchema_Element_UU.- Specified by:
getC_AcctSchema_Element_UU
in interfaceI_C_AcctSchema_Element
- Returns:
- C_AcctSchema_Element_UU
-
getC_AcctSchema
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
Set Type.- Specified by:
setElementType
in interfaceI_C_AcctSchema_Element
- Parameters:
ElementType
- Element Type (account or user defined)
-
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
- 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
Set Name.- Specified by:
setName
in interfaceI_C_AcctSchema_Element
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_C_AcctSchema_Element
- Returns:
- Alphanumeric identifier of the entity
-
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 tenant
-
getOrg_ID
public int getOrg_ID()Get Organization.- Specified by:
getOrg_ID
in interfaceI_C_AcctSchema_Element
- Returns:
- Organizational entity within tenant
-
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
-