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
public class X_AD_PInstance extends PO implements I_AD_PInstance, I_Persistent
Generated Model for AD_PInstance- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
NOTIFICATIONTYPE_AD_Reference_ID
NotificationType AD_Reference_ID=344static String
NOTIFICATIONTYPE_EMail
EMail = Estatic String
NOTIFICATIONTYPE_EMailPlusNotice
EMail+Notice = Bstatic String
NOTIFICATIONTYPE_None
None = Xstatic String
NOTIFICATIONTYPE_Notice
Notice = N-
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_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_User_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_ErrorMsg, COLUMNNAME_IsActive, COLUMNNAME_IsProcessing, COLUMNNAME_IsRunAsJob, COLUMNNAME_IsSummary, COLUMNNAME_Name, COLUMNNAME_NotificationType, COLUMNNAME_Record_ID, COLUMNNAME_ReportType, COLUMNNAME_Result, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_AD_PInstance(Properties ctx, int AD_PInstance_ID, String trxName)
Standard ConstructorX_AD_PInstance(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_Language
getAD_Language()
int
getAD_Language_ID()
Get Language ID.int
getAD_PInstance_ID()
Get Process Instance.String
getAD_PInstance_UU()
Get AD_PInstance_UU.I_AD_PrintFormat
getAD_PrintFormat()
int
getAD_PrintFormat_ID()
Get Print Format.I_AD_Process
getAD_Process()
int
getAD_Process_ID()
Get Process.I_AD_User
getAD_User()
int
getAD_User_ID()
Get User/Contact.String
getErrorMsg()
Get Error Msg.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getName()
Get Name.String
getNotificationType()
Get Notification Type.int
getRecord_ID()
Get Record ID.String
getReportType()
Get Report Type.int
getResult()
Get Result.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isProcessing()
Get Processing.boolean
isRunAsJob()
Get Run as Job.boolean
isSummary()
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_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
setName(String Name)
Set Name.void
setNotificationType(String NotificationType)
Set Notification Type.void
setRecord_ID(int Record_ID)
Set Record ID.void
setReportType(String ReportType)
Set Report Type.void
setResult(int Result)
Set Result.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_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 Detail
-
NOTIFICATIONTYPE_AD_Reference_ID
public static final int NOTIFICATIONTYPE_AD_Reference_ID
NotificationType AD_Reference_ID=344- See Also:
- Constant Field Values
-
NOTIFICATIONTYPE_EMailPlusNotice
public static final String NOTIFICATIONTYPE_EMailPlusNotice
EMail+Notice = B- See Also:
- Constant Field Values
-
NOTIFICATIONTYPE_EMail
public static final String NOTIFICATIONTYPE_EMail
EMail = E- See Also:
- Constant Field Values
-
NOTIFICATIONTYPE_Notice
public static final String NOTIFICATIONTYPE_Notice
Notice = N- See Also:
- Constant Field Values
-
NOTIFICATIONTYPE_None
public static final String NOTIFICATIONTYPE_None
None = X- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_AD_PInstance
public X_AD_PInstance(Properties ctx, int AD_PInstance_ID, String trxName)
Standard Constructor
-
X_AD_PInstance
public X_AD_PInstance(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_Language
public I_AD_Language getAD_Language() throws RuntimeException
- 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
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setAD_PInstance_UU
public void setAD_PInstance_UU(String AD_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
public String getAD_PInstance_UU()
Get AD_PInstance_UU.- Specified by:
getAD_PInstance_UU
in interfaceI_AD_PInstance
- Returns:
- AD_PInstance_UU
-
getAD_PrintFormat
public I_AD_PrintFormat getAD_PrintFormat() throws RuntimeException
- 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
public I_AD_Process getAD_Process() throws RuntimeException
- 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_User
public I_AD_User getAD_User() throws RuntimeException
- 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
public void setErrorMsg(String ErrorMsg)
Set Error Msg.- Specified by:
setErrorMsg
in interfaceI_AD_PInstance
- Parameters:
ErrorMsg
- Error Msg
-
getErrorMsg
public String 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
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_AD_PInstance
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_AD_PInstance
- Returns:
- Alphanumeric identifier of the entity
-
setNotificationType
public void setNotificationType(String NotificationType)
Set Notification Type.- Specified by:
setNotificationType
in interfaceI_AD_PInstance
- Parameters:
NotificationType
- Type of Notifications
-
getNotificationType
public String 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
-
setReportType
public void setReportType(String ReportType)
Set Report Type.- Specified by:
setReportType
in interfaceI_AD_PInstance
- Parameters:
ReportType
- Report Type
-
getReportType
public String 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
-
-