Package org.compiere.model
Class X_AD_PInstance
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_AD_PInstance
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_PInstance
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MPInstance
Generated Model for AD_PInstance
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
NotificationType AD_Reference_ID=344static final String
EMail = Estatic final String
EMail+Notice = Bstatic final String
None = Xstatic final String
Notice = NFields 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_AD_PInstance
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Language_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_PInstance_ID, COLUMNNAME_AD_PInstance_UU, COLUMNNAME_AD_PrintFormat_ID, COLUMNNAME_AD_Process_ID, COLUMNNAME_AD_Session_ID, COLUMNNAME_AD_Table_ID, COLUMNNAME_AD_User_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_ErrorMsg, COLUMNNAME_IsActive, COLUMNNAME_IsProcessing, COLUMNNAME_IsRunAsJob, COLUMNNAME_IsSummary, COLUMNNAME_JsonData, COLUMNNAME_Name, COLUMNNAME_NotificationType, COLUMNNAME_Record_ID, COLUMNNAME_Record_UU, COLUMNNAME_ReportType, COLUMNNAME_Result, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_AD_PInstance
(Properties ctx, int AD_PInstance_ID, String trxName) Standard ConstructorX_AD_PInstance
(Properties ctx, int AD_PInstance_ID, String trxName, String... virtualColumns) Standard ConstructorX_AD_PInstance
(Properties ctx, String AD_PInstance_UU, String trxName) Standard ConstructorX_AD_PInstance
(Properties ctx, String AD_PInstance_UU, String trxName, String... virtualColumns) Standard ConstructorX_AD_PInstance
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Language ID.int
Get Process Instance.Get AD_PInstance_UU.int
Get Print Format.int
Get Process.int
Get Session.int
Get Table.int
Get User/Contact.Get Error Msg.Get JSON Data.Get Record ID/ColumnNamegetName()
Get Name.Get Notification Type.int
Get Record ID.Get Record UUID.Get Report Type.int
Get Result.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Processing.boolean
Get Run as Job.boolean
Get Summary Level.void
setAD_Language_ID
(int AD_Language_ID) Set Language ID.void
setAD_PInstance_ID
(int AD_PInstance_ID) Set Process Instance.void
setAD_PInstance_UU
(String AD_PInstance_UU) Set AD_PInstance_UU.void
setAD_PrintFormat_ID
(int AD_PrintFormat_ID) Set Print Format.void
setAD_Process_ID
(int AD_Process_ID) Set Process.void
setAD_Session_ID
(int AD_Session_ID) Set Session.void
setAD_Table_ID
(int AD_Table_ID) Set Table.void
setAD_User_ID
(int AD_User_ID) Set User/Contact.void
setErrorMsg
(String ErrorMsg) Set Error Msg.void
setIsProcessing
(boolean IsProcessing) Set Processing.void
setIsRunAsJob
(boolean IsRunAsJob) Set Run as Job.void
setIsSummary
(boolean IsSummary) Set Summary Level.void
setJsonData
(String JsonData) Set JSON Data.void
Set Name.void
setNotificationType
(String NotificationType) Set Notification Type.void
setRecord_ID
(int Record_ID) Set Record ID.void
setRecord_UU
(String Record_UU) Set Record UUID.void
setReportType
(String ReportType) Set Report Type.void
setResult
(int Result) Set Result.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_AD_PInstance
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
-
NOTIFICATIONTYPE_AD_Reference_ID
public static final int NOTIFICATIONTYPE_AD_Reference_IDNotificationType AD_Reference_ID=344- See Also:
-
NOTIFICATIONTYPE_EMailPlusNotice
EMail+Notice = B- See Also:
-
NOTIFICATIONTYPE_EMail
EMail = E- See Also:
-
NOTIFICATIONTYPE_Notice
Notice = N- See Also:
-
NOTIFICATIONTYPE_None
None = X- See Also:
-
-
Constructor Details
-
X_AD_PInstance
Standard Constructor -
X_AD_PInstance
public X_AD_PInstance(Properties ctx, int AD_PInstance_ID, String trxName, String... virtualColumns) Standard Constructor -
X_AD_PInstance
Standard Constructor -
X_AD_PInstance
public X_AD_PInstance(Properties ctx, String AD_PInstance_UU, String trxName, String... virtualColumns) Standard Constructor -
X_AD_PInstance
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 6 - System - Client
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getAD_Language
- Specified by:
getAD_Language
in interfaceI_AD_PInstance
- Throws:
RuntimeException
-
setAD_Language_ID
public void setAD_Language_ID(int AD_Language_ID) Set Language ID.- Specified by:
setAD_Language_ID
in interfaceI_AD_PInstance
- Parameters:
AD_Language_ID
- Language ID
-
getAD_Language_ID
public int getAD_Language_ID()Get Language ID.- Specified by:
getAD_Language_ID
in interfaceI_AD_PInstance
- Returns:
- Language ID
-
setAD_PInstance_ID
public void setAD_PInstance_ID(int AD_PInstance_ID) Set Process Instance.- Specified by:
setAD_PInstance_ID
in interfaceI_AD_PInstance
- Parameters:
AD_PInstance_ID
- Instance of the process
-
getAD_PInstance_ID
public int getAD_PInstance_ID()Get Process Instance.- Specified by:
getAD_PInstance_ID
in interfaceI_AD_PInstance
- Returns:
- Instance of the process
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setAD_PInstance_UU
Set AD_PInstance_UU.- Specified by:
setAD_PInstance_UU
in interfaceI_AD_PInstance
- Parameters:
AD_PInstance_UU
- AD_PInstance_UU
-
getAD_PInstance_UU
Get AD_PInstance_UU.- Specified by:
getAD_PInstance_UU
in interfaceI_AD_PInstance
- Returns:
- AD_PInstance_UU
-
getAD_PrintFormat
- Specified by:
getAD_PrintFormat
in interfaceI_AD_PInstance
- Throws:
RuntimeException
-
setAD_PrintFormat_ID
public void setAD_PrintFormat_ID(int AD_PrintFormat_ID) Set Print Format.- Specified by:
setAD_PrintFormat_ID
in interfaceI_AD_PInstance
- Parameters:
AD_PrintFormat_ID
- Data Print Format
-
getAD_PrintFormat_ID
public int getAD_PrintFormat_ID()Get Print Format.- Specified by:
getAD_PrintFormat_ID
in interfaceI_AD_PInstance
- Returns:
- Data Print Format
-
getAD_Process
- Specified by:
getAD_Process
in interfaceI_AD_PInstance
- Throws:
RuntimeException
-
setAD_Process_ID
public void setAD_Process_ID(int AD_Process_ID) Set Process.- Specified by:
setAD_Process_ID
in interfaceI_AD_PInstance
- Parameters:
AD_Process_ID
- Process or Report
-
getAD_Process_ID
public int getAD_Process_ID()Get Process.- Specified by:
getAD_Process_ID
in interfaceI_AD_PInstance
- Returns:
- Process or Report
-
getAD_Session
- Specified by:
getAD_Session
in interfaceI_AD_PInstance
- Throws:
RuntimeException
-
setAD_Session_ID
public void setAD_Session_ID(int AD_Session_ID) Set Session.- Specified by:
setAD_Session_ID
in interfaceI_AD_PInstance
- Parameters:
AD_Session_ID
- User Session Online or Web
-
getAD_Session_ID
public int getAD_Session_ID()Get Session.- Specified by:
getAD_Session_ID
in interfaceI_AD_PInstance
- Returns:
- User Session Online or Web
-
getAD_Table
- Specified by:
getAD_Table
in interfaceI_AD_PInstance
- Throws:
RuntimeException
-
setAD_Table_ID
public void setAD_Table_ID(int AD_Table_ID) Set Table.- Specified by:
setAD_Table_ID
in interfaceI_AD_PInstance
- 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_PInstance
- Returns:
- Database Table information
-
getAD_User
- Specified by:
getAD_User
in interfaceI_AD_PInstance
- Throws:
RuntimeException
-
setAD_User_ID
public void setAD_User_ID(int AD_User_ID) Set User/Contact.- Specified by:
setAD_User_ID
in interfaceI_AD_PInstance
- Parameters:
AD_User_ID
- User within the system - Internal or Business Partner Contact
-
getAD_User_ID
public int getAD_User_ID()Get User/Contact.- Specified by:
getAD_User_ID
in interfaceI_AD_PInstance
- Returns:
- User within the system - Internal or Business Partner Contact
-
setErrorMsg
Set Error Msg.- Specified by:
setErrorMsg
in interfaceI_AD_PInstance
- Parameters:
ErrorMsg
- Error Msg
-
getErrorMsg
Get Error Msg.- Specified by:
getErrorMsg
in interfaceI_AD_PInstance
- Returns:
- Error Msg
-
setIsProcessing
public void setIsProcessing(boolean IsProcessing) Set Processing.- Specified by:
setIsProcessing
in interfaceI_AD_PInstance
- Parameters:
IsProcessing
- Processing
-
isProcessing
public boolean isProcessing()Get Processing.- Specified by:
isProcessing
in interfaceI_AD_PInstance
- Returns:
- Processing
-
setIsRunAsJob
public void setIsRunAsJob(boolean IsRunAsJob) Set Run as Job.- Specified by:
setIsRunAsJob
in interfaceI_AD_PInstance
- Parameters:
IsRunAsJob
- Run as Job
-
isRunAsJob
public boolean isRunAsJob()Get Run as Job.- Specified by:
isRunAsJob
in interfaceI_AD_PInstance
- Returns:
- Run as Job
-
setIsSummary
public void setIsSummary(boolean IsSummary) Set Summary Level.- Specified by:
setIsSummary
in interfaceI_AD_PInstance
- Parameters:
IsSummary
- This is a summary entity
-
isSummary
public boolean isSummary()Get Summary Level.- Specified by:
isSummary
in interfaceI_AD_PInstance
- Returns:
- This is a summary entity
-
setJsonData
Set JSON Data.- Specified by:
setJsonData
in interfaceI_AD_PInstance
- Parameters:
JsonData
- The json field stores json data.
-
getJsonData
Get JSON Data.- Specified by:
getJsonData
in interfaceI_AD_PInstance
- Returns:
- The json field stores json data.
-
setName
Set Name.- Specified by:
setName
in interfaceI_AD_PInstance
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_AD_PInstance
- Returns:
- Alphanumeric identifier of the entity
-
setNotificationType
Set Notification Type.- Specified by:
setNotificationType
in interfaceI_AD_PInstance
- Parameters:
NotificationType
- Type of Notifications
-
getNotificationType
Get Notification Type.- Specified by:
getNotificationType
in interfaceI_AD_PInstance
- Returns:
- Type of Notifications
-
setRecord_ID
public void setRecord_ID(int Record_ID) Set Record ID.- Specified by:
setRecord_ID
in interfaceI_AD_PInstance
- Parameters:
Record_ID
- Direct internal record ID
-
getRecord_ID
public int getRecord_ID()Get Record ID.- Specified by:
getRecord_ID
in interfaceI_AD_PInstance
- Returns:
- Direct internal record ID
-
setRecord_UU
Set Record UUID.- Specified by:
setRecord_UU
in interfaceI_AD_PInstance
- Parameters:
Record_UU
- Record UUID
-
getRecord_UU
Get Record UUID.- Specified by:
getRecord_UU
in interfaceI_AD_PInstance
- Returns:
- Record UUID
-
setReportType
Set Report Type.- Specified by:
setReportType
in interfaceI_AD_PInstance
- Parameters:
ReportType
- Report Type
-
getReportType
Get Report Type.- Specified by:
getReportType
in interfaceI_AD_PInstance
- Returns:
- Report Type
-
setResult
public void setResult(int Result) Set Result.- Specified by:
setResult
in interfaceI_AD_PInstance
- Parameters:
Result
- Result of the action taken
-
getResult
public int getResult()Get Result.- Specified by:
getResult
in interfaceI_AD_PInstance
- Returns:
- Result of the action taken
-