Package org.compiere.model
Class X_C_ValidCombination
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_ValidCombination
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_C_ValidCombination
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MAccount
Generated Model for C_ValidCombination
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
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, 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_ValidCombination
accessLevel, COLUMNNAME_Account_ID, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_OrgTrx_ID, COLUMNNAME_Alias, COLUMNNAME_C_AcctSchema_ID, COLUMNNAME_C_Activity_ID, COLUMNNAME_C_BPartner_ID, COLUMNNAME_C_Campaign_ID, COLUMNNAME_C_LocFrom_ID, COLUMNNAME_C_LocTo_ID, COLUMNNAME_C_Project_ID, COLUMNNAME_C_SalesRegion_ID, COLUMNNAME_C_SubAcct_ID, COLUMNNAME_C_ValidCombination_ID, COLUMNNAME_C_ValidCombination_UU, COLUMNNAME_Combination, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_IsActive, COLUMNNAME_IsFullyQualified, COLUMNNAME_M_Product_ID, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_User1_ID, COLUMNNAME_User2_ID, COLUMNNAME_UserElement1_ID, COLUMNNAME_UserElement2_ID, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_C_ValidCombination
(Properties ctx, int C_ValidCombination_ID, String trxName) Standard ConstructorX_C_ValidCombination
(Properties ctx, int C_ValidCombination_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_ValidCombination
(Properties ctx, String C_ValidCombination_UU, String trxName) Standard ConstructorX_C_ValidCombination
(Properties ctx, String C_ValidCombination_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_ValidCombination
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Account.int
Get Trx Organization.getAlias()
Get Alias.int
Get Accounting Schema.int
Get Activity.int
Get Business Partner.int
Get Campaign.int
Get Location From.int
Get Location To.int
Get Project.int
Get Sales Region.int
Get Sub Account.int
Get Combination.Get C_ValidCombination_UU.Get Combination.Get Description.Get Record ID/ColumnNameint
Get Product.getUser1()
int
Get User Element List 1.getUser2()
int
Get User Element List 2.int
Get User Column 1.int
Get User Column 2.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Fully Qualified.void
setAccount_ID
(int Account_ID) Set Account.void
setAD_OrgTrx_ID
(int AD_OrgTrx_ID) Set Trx Organization.void
Set Alias.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_LocFrom_ID
(int C_LocFrom_ID) Set Location From.void
setC_LocTo_ID
(int C_LocTo_ID) Set Location To.void
setC_Project_ID
(int C_Project_ID) Set Project.void
setC_SalesRegion_ID
(int C_SalesRegion_ID) Set Sales Region.void
setC_SubAcct_ID
(int C_SubAcct_ID) Set Sub Account.void
setC_ValidCombination_ID
(int C_ValidCombination_ID) Set Combination.void
setC_ValidCombination_UU
(String C_ValidCombination_UU) Set C_ValidCombination_UU.void
setCombination
(String Combination) Set Combination.void
setDescription
(String Description) Set Description.void
setIsFullyQualified
(boolean IsFullyQualified) Set Fully Qualified.void
setM_Product_ID
(int M_Product_ID) Set Product.void
setUser1_ID
(int User1_ID) Set User Element List 1.void
setUser2_ID
(int User2_ID) Set User Element List 2.void
setUserElement1_ID
(int UserElement1_ID) Set User Column 1.void
setUserElement2_ID
(int UserElement2_ID) Set User Column 2.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_ValidCombination
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
-
Constructor Details
-
X_C_ValidCombination
Standard Constructor -
X_C_ValidCombination
public X_C_ValidCombination(Properties ctx, int C_ValidCombination_ID, String trxName, String... virtualColumns) Standard Constructor -
X_C_ValidCombination
Standard Constructor -
X_C_ValidCombination
public X_C_ValidCombination(Properties ctx, String C_ValidCombination_UU, String trxName, String... virtualColumns) Standard Constructor -
X_C_ValidCombination
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 -
getAccount
- Specified by:
getAccount
in interfaceI_C_ValidCombination
- Throws:
RuntimeException
-
setAccount_ID
public void setAccount_ID(int Account_ID) Set Account.- Specified by:
setAccount_ID
in interfaceI_C_ValidCombination
- Parameters:
Account_ID
- Account used
-
getAccount_ID
public int getAccount_ID()Get Account.- Specified by:
getAccount_ID
in interfaceI_C_ValidCombination
- Returns:
- Account used
-
setAD_OrgTrx_ID
public void setAD_OrgTrx_ID(int AD_OrgTrx_ID) Set Trx Organization.- Specified by:
setAD_OrgTrx_ID
in interfaceI_C_ValidCombination
- Parameters:
AD_OrgTrx_ID
- Performing or initiating organization
-
getAD_OrgTrx_ID
public int getAD_OrgTrx_ID()Get Trx Organization.- Specified by:
getAD_OrgTrx_ID
in interfaceI_C_ValidCombination
- Returns:
- Performing or initiating organization
-
setAlias
Set Alias.- Specified by:
setAlias
in interfaceI_C_ValidCombination
- Parameters:
Alias
- Defines an alternate method of indicating an account combination.
-
getAlias
Get Alias.- Specified by:
getAlias
in interfaceI_C_ValidCombination
- Returns:
- Defines an alternate method of indicating an account combination.
-
getC_AcctSchema
- Specified by:
getC_AcctSchema
in interfaceI_C_ValidCombination
- 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_ValidCombination
- 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_ValidCombination
- Returns:
- Rules for accounting
-
getC_Activity
- Specified by:
getC_Activity
in interfaceI_C_ValidCombination
- Throws:
RuntimeException
-
setC_Activity_ID
public void setC_Activity_ID(int C_Activity_ID) Set Activity.- Specified by:
setC_Activity_ID
in interfaceI_C_ValidCombination
- Parameters:
C_Activity_ID
- Business Activity
-
getC_Activity_ID
public int getC_Activity_ID()Get Activity.- Specified by:
getC_Activity_ID
in interfaceI_C_ValidCombination
- Returns:
- Business Activity
-
getC_BPartner
- Specified by:
getC_BPartner
in interfaceI_C_ValidCombination
- 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_ValidCombination
- 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_ValidCombination
- Returns:
- Identifies a Business Partner
-
getC_Campaign
- Specified by:
getC_Campaign
in interfaceI_C_ValidCombination
- Throws:
RuntimeException
-
setC_Campaign_ID
public void setC_Campaign_ID(int C_Campaign_ID) Set Campaign.- Specified by:
setC_Campaign_ID
in interfaceI_C_ValidCombination
- Parameters:
C_Campaign_ID
- Marketing Campaign
-
getC_Campaign_ID
public int getC_Campaign_ID()Get Campaign.- Specified by:
getC_Campaign_ID
in interfaceI_C_ValidCombination
- Returns:
- Marketing Campaign
-
getC_LocFrom
- Specified by:
getC_LocFrom
in interfaceI_C_ValidCombination
- Throws:
RuntimeException
-
setC_LocFrom_ID
public void setC_LocFrom_ID(int C_LocFrom_ID) Set Location From.- Specified by:
setC_LocFrom_ID
in interfaceI_C_ValidCombination
- Parameters:
C_LocFrom_ID
- Location that inventory was moved from
-
getC_LocFrom_ID
public int getC_LocFrom_ID()Get Location From.- Specified by:
getC_LocFrom_ID
in interfaceI_C_ValidCombination
- Returns:
- Location that inventory was moved from
-
getC_LocTo
- Specified by:
getC_LocTo
in interfaceI_C_ValidCombination
- Throws:
RuntimeException
-
setC_LocTo_ID
public void setC_LocTo_ID(int C_LocTo_ID) Set Location To.- Specified by:
setC_LocTo_ID
in interfaceI_C_ValidCombination
- Parameters:
C_LocTo_ID
- Location that inventory was moved to
-
getC_LocTo_ID
public int getC_LocTo_ID()Get Location To.- Specified by:
getC_LocTo_ID
in interfaceI_C_ValidCombination
- Returns:
- Location that inventory was moved to
-
setCombination
Set Combination.- Specified by:
setCombination
in interfaceI_C_ValidCombination
- Parameters:
Combination
- Unique combination of account elements
-
getCombination
Get Combination.- Specified by:
getCombination
in interfaceI_C_ValidCombination
- Returns:
- Unique combination of account elements
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
getC_Project
- Specified by:
getC_Project
in interfaceI_C_ValidCombination
- Throws:
RuntimeException
-
setC_Project_ID
public void setC_Project_ID(int C_Project_ID) Set Project.- Specified by:
setC_Project_ID
in interfaceI_C_ValidCombination
- Parameters:
C_Project_ID
- Financial Project
-
getC_Project_ID
public int getC_Project_ID()Get Project.- Specified by:
getC_Project_ID
in interfaceI_C_ValidCombination
- Returns:
- Financial Project
-
getC_SalesRegion
- Specified by:
getC_SalesRegion
in interfaceI_C_ValidCombination
- 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_ValidCombination
- 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_ValidCombination
- Returns:
- Sales coverage region
-
getC_SubAcct
- Specified by:
getC_SubAcct
in interfaceI_C_ValidCombination
- Throws:
RuntimeException
-
setC_SubAcct_ID
public void setC_SubAcct_ID(int C_SubAcct_ID) Set Sub Account.- Specified by:
setC_SubAcct_ID
in interfaceI_C_ValidCombination
- Parameters:
C_SubAcct_ID
- Sub account for Element Value
-
getC_SubAcct_ID
public int getC_SubAcct_ID()Get Sub Account.- Specified by:
getC_SubAcct_ID
in interfaceI_C_ValidCombination
- Returns:
- Sub account for Element Value
-
setC_ValidCombination_ID
public void setC_ValidCombination_ID(int C_ValidCombination_ID) Set Combination.- Specified by:
setC_ValidCombination_ID
in interfaceI_C_ValidCombination
- Parameters:
C_ValidCombination_ID
- Valid Account Combination
-
getC_ValidCombination_ID
public int getC_ValidCombination_ID()Get Combination.- Specified by:
getC_ValidCombination_ID
in interfaceI_C_ValidCombination
- Returns:
- Valid Account Combination
-
setC_ValidCombination_UU
Set C_ValidCombination_UU.- Specified by:
setC_ValidCombination_UU
in interfaceI_C_ValidCombination
- Parameters:
C_ValidCombination_UU
- C_ValidCombination_UU
-
getC_ValidCombination_UU
Get C_ValidCombination_UU.- Specified by:
getC_ValidCombination_UU
in interfaceI_C_ValidCombination
- Returns:
- C_ValidCombination_UU
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_C_ValidCombination
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_C_ValidCombination
- Returns:
- Optional short description of the record
-
setIsFullyQualified
public void setIsFullyQualified(boolean IsFullyQualified) Set Fully Qualified.- Specified by:
setIsFullyQualified
in interfaceI_C_ValidCombination
- Parameters:
IsFullyQualified
- This account is fully qualified
-
isFullyQualified
public boolean isFullyQualified()Get Fully Qualified.- Specified by:
isFullyQualified
in interfaceI_C_ValidCombination
- Returns:
- This account is fully qualified
-
getM_Product
- Specified by:
getM_Product
in interfaceI_C_ValidCombination
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID) Set Product.- Specified by:
setM_Product_ID
in interfaceI_C_ValidCombination
- 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_ValidCombination
- Returns:
- Product, Service, Item
-
getUser1
- Specified by:
getUser1
in interfaceI_C_ValidCombination
- Throws:
RuntimeException
-
setUser1_ID
public void setUser1_ID(int User1_ID) Set User Element List 1.- Specified by:
setUser1_ID
in interfaceI_C_ValidCombination
- Parameters:
User1_ID
- User defined list element #1
-
getUser1_ID
public int getUser1_ID()Get User Element List 1.- Specified by:
getUser1_ID
in interfaceI_C_ValidCombination
- Returns:
- User defined list element #1
-
getUser2
- Specified by:
getUser2
in interfaceI_C_ValidCombination
- Throws:
RuntimeException
-
setUser2_ID
public void setUser2_ID(int User2_ID) Set User Element List 2.- Specified by:
setUser2_ID
in interfaceI_C_ValidCombination
- Parameters:
User2_ID
- User defined list element #2
-
getUser2_ID
public int getUser2_ID()Get User Element List 2.- Specified by:
getUser2_ID
in interfaceI_C_ValidCombination
- Returns:
- User defined list element #2
-
setUserElement1_ID
public void setUserElement1_ID(int UserElement1_ID) Set User Column 1.- Specified by:
setUserElement1_ID
in interfaceI_C_ValidCombination
- Parameters:
UserElement1_ID
- User defined accounting Element
-
getUserElement1_ID
public int getUserElement1_ID()Get User Column 1.- Specified by:
getUserElement1_ID
in interfaceI_C_ValidCombination
- Returns:
- User defined accounting Element
-
setUserElement2_ID
public void setUserElement2_ID(int UserElement2_ID) Set User Column 2.- Specified by:
setUserElement2_ID
in interfaceI_C_ValidCombination
- Parameters:
UserElement2_ID
- User defined accounting Element
-
getUserElement2_ID
public int getUserElement2_ID()Get User Column 2.- Specified by:
getUserElement2_ID
in interfaceI_C_ValidCombination
- Returns:
- User defined accounting Element
-