Package org.compiere.model
Class X_AD_AlertRule
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_AD_AlertRule
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_AlertRule
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MAlertRule
public class X_AD_AlertRule extends PO implements I_AD_AlertRule, I_Persistent
Generated Model for AD_AlertRule- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
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, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.compiere.model.I_AD_AlertRule
accessLevel, COLUMNNAME_AD_Alert_ID, COLUMNNAME_AD_AlertRule_ID, COLUMNNAME_AD_AlertRule_UU, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_Table_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_ErrorMsg, COLUMNNAME_FromClause, COLUMNNAME_IsActive, COLUMNNAME_IsValid, COLUMNNAME_Name, COLUMNNAME_OtherClause, COLUMNNAME_PostProcessing, COLUMNNAME_PreProcessing, COLUMNNAME_SelectClause, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_WhereClause, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_AD_AlertRule(Properties ctx, int AD_AlertRule_ID, String trxName)
Standard ConstructorX_AD_AlertRule(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_Alert
getAD_Alert()
int
getAD_Alert_ID()
Get Alert.int
getAD_AlertRule_ID()
Get Alert Rule.String
getAD_AlertRule_UU()
Get AD_AlertRule_UU.I_AD_Table
getAD_Table()
int
getAD_Table_ID()
Get Table.String
getErrorMsg()
Get Error Msg.String
getFromClause()
Get Sql FROM.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getName()
Get Name.String
getOtherClause()
Get Other SQL Clause.String
getPostProcessing()
Get Post Processing.String
getPreProcessing()
Get Pre Processing.String
getSelectClause()
Get Sql SELECT.String
getWhereClause()
Get Sql WHERE.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isValid()
Get Valid.void
setAD_Alert_ID(int AD_Alert_ID)
Set Alert.void
setAD_AlertRule_ID(int AD_AlertRule_ID)
Set Alert Rule.void
setAD_AlertRule_UU(String AD_AlertRule_UU)
Set AD_AlertRule_UU.void
setAD_Table_ID(int AD_Table_ID)
Set Table.void
setErrorMsg(String ErrorMsg)
Set Error Msg.void
setFromClause(String FromClause)
Set Sql FROM.void
setIsValid(boolean IsValid)
Set Valid.void
setName(String Name)
Set Name.void
setOtherClause(String OtherClause)
Set Other SQL Clause.void
setPostProcessing(String PostProcessing)
Set Post Processing.void
setPreProcessing(String PreProcessing)
Set Pre Processing.void
setSelectClause(String SelectClause)
Set Sql SELECT.void
setWhereClause(String WhereClause)
Set Sql WHERE.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_AD_AlertRule
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 Detail
-
X_AD_AlertRule
public X_AD_AlertRule(Properties ctx, int AD_AlertRule_ID, String trxName)
Standard Constructor
-
X_AD_AlertRule
public X_AD_AlertRule(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 6 - System - Client
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getAD_Alert
public I_AD_Alert getAD_Alert() throws RuntimeException
- Specified by:
getAD_Alert
in interfaceI_AD_AlertRule
- Throws:
RuntimeException
-
setAD_Alert_ID
public void setAD_Alert_ID(int AD_Alert_ID)
Set Alert.- Specified by:
setAD_Alert_ID
in interfaceI_AD_AlertRule
- Parameters:
AD_Alert_ID
- iDempiere Alert
-
getAD_Alert_ID
public int getAD_Alert_ID()
Get Alert.- Specified by:
getAD_Alert_ID
in interfaceI_AD_AlertRule
- Returns:
- iDempiere Alert
-
setAD_AlertRule_ID
public void setAD_AlertRule_ID(int AD_AlertRule_ID)
Set Alert Rule.- Specified by:
setAD_AlertRule_ID
in interfaceI_AD_AlertRule
- Parameters:
AD_AlertRule_ID
- Definition of the alert element
-
getAD_AlertRule_ID
public int getAD_AlertRule_ID()
Get Alert Rule.- Specified by:
getAD_AlertRule_ID
in interfaceI_AD_AlertRule
- Returns:
- Definition of the alert element
-
setAD_AlertRule_UU
public void setAD_AlertRule_UU(String AD_AlertRule_UU)
Set AD_AlertRule_UU.- Specified by:
setAD_AlertRule_UU
in interfaceI_AD_AlertRule
- Parameters:
AD_AlertRule_UU
- AD_AlertRule_UU
-
getAD_AlertRule_UU
public String getAD_AlertRule_UU()
Get AD_AlertRule_UU.- Specified by:
getAD_AlertRule_UU
in interfaceI_AD_AlertRule
- Returns:
- AD_AlertRule_UU
-
getAD_Table
public I_AD_Table getAD_Table() throws RuntimeException
- Specified by:
getAD_Table
in interfaceI_AD_AlertRule
- Throws:
RuntimeException
-
setAD_Table_ID
public void setAD_Table_ID(int AD_Table_ID)
Set Table.- Specified by:
setAD_Table_ID
in interfaceI_AD_AlertRule
- Parameters:
AD_Table_ID
- Database Table information
-
getAD_Table_ID
public int getAD_Table_ID()
Get Table.- Specified by:
getAD_Table_ID
in interfaceI_AD_AlertRule
- Returns:
- Database Table information
-
setErrorMsg
public void setErrorMsg(String ErrorMsg)
Set Error Msg.- Specified by:
setErrorMsg
in interfaceI_AD_AlertRule
- Parameters:
ErrorMsg
- Error Msg
-
getErrorMsg
public String getErrorMsg()
Get Error Msg.- Specified by:
getErrorMsg
in interfaceI_AD_AlertRule
- Returns:
- Error Msg
-
setFromClause
public void setFromClause(String FromClause)
Set Sql FROM.- Specified by:
setFromClause
in interfaceI_AD_AlertRule
- Parameters:
FromClause
- SQL FROM clause
-
getFromClause
public String getFromClause()
Get Sql FROM.- Specified by:
getFromClause
in interfaceI_AD_AlertRule
- Returns:
- SQL FROM clause
-
setIsValid
public void setIsValid(boolean IsValid)
Set Valid.- Specified by:
setIsValid
in interfaceI_AD_AlertRule
- Parameters:
IsValid
- Element is valid
-
isValid
public boolean isValid()
Get Valid.- Specified by:
isValid
in interfaceI_AD_AlertRule
- Returns:
- Element is valid
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_AD_AlertRule
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_AD_AlertRule
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setOtherClause
public void setOtherClause(String OtherClause)
Set Other SQL Clause.- Specified by:
setOtherClause
in interfaceI_AD_AlertRule
- Parameters:
OtherClause
- Other SQL Clause
-
getOtherClause
public String getOtherClause()
Get Other SQL Clause.- Specified by:
getOtherClause
in interfaceI_AD_AlertRule
- Returns:
- Other SQL Clause
-
setPostProcessing
public void setPostProcessing(String PostProcessing)
Set Post Processing.- Specified by:
setPostProcessing
in interfaceI_AD_AlertRule
- Parameters:
PostProcessing
- Process SQL after executing the query
-
getPostProcessing
public String getPostProcessing()
Get Post Processing.- Specified by:
getPostProcessing
in interfaceI_AD_AlertRule
- Returns:
- Process SQL after executing the query
-
setPreProcessing
public void setPreProcessing(String PreProcessing)
Set Pre Processing.- Specified by:
setPreProcessing
in interfaceI_AD_AlertRule
- Parameters:
PreProcessing
- Process SQL before executing the query
-
getPreProcessing
public String getPreProcessing()
Get Pre Processing.- Specified by:
getPreProcessing
in interfaceI_AD_AlertRule
- Returns:
- Process SQL before executing the query
-
setSelectClause
public void setSelectClause(String SelectClause)
Set Sql SELECT.- Specified by:
setSelectClause
in interfaceI_AD_AlertRule
- Parameters:
SelectClause
- SQL SELECT clause
-
getSelectClause
public String getSelectClause()
Get Sql SELECT.- Specified by:
getSelectClause
in interfaceI_AD_AlertRule
- Returns:
- SQL SELECT clause
-
setWhereClause
public void setWhereClause(String WhereClause)
Set Sql WHERE.- Specified by:
setWhereClause
in interfaceI_AD_AlertRule
- Parameters:
WhereClause
- Fully qualified SQL WHERE clause
-
getWhereClause
public String getWhereClause()
Get Sql WHERE.- Specified by:
getWhereClause
in interfaceI_AD_AlertRule
- Returns:
- Fully qualified SQL WHERE clause
-
-