Package org.maintenance.model
Class X_MP_OT_Request
java.lang.Object
org.compiere.model.PO
org.maintenance.model.X_MP_OT_Request
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_Persistent
,Evaluatee
,I_MP_OT_Request
- Direct Known Subclasses:
MMPOTRequest
Generated Model for MP_OT_Request
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
DocStatus AD_Reference_ID=53393static final String
Approve = APstatic final String
Void = VOstatic final String
Waiting Confirmation = WCstatic final int
OT_Request_Type AD_Reference_ID=53395static final String
CheckUp = RVstatic final String
Repair = RPstatic final int
PriorityRule AD_Reference_ID=154static final String
High = 3static final String
Low = 7static final String
Medium = 5static final String
Minor = 9static final String
Urgent = 1Fields 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.maintenance.model.I_MP_OT_Request
accessLevel, COLUMNNAME_A_Asset_ID, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_User_ID, COLUMNNAME_C_DocType_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DateDoc, COLUMNNAME_DateRequired, COLUMNNAME_Description, COLUMNNAME_DocStatus, COLUMNNAME_DocumentNo, COLUMNNAME_IsActive, COLUMNNAME_MP_JobStandar_ID, COLUMNNAME_MP_OT_Request_ID, COLUMNNAME_MP_OT_Request_UU, COLUMNNAME_OT_Request_Type, COLUMNNAME_PriorityRule, COLUMNNAME_Processed, COLUMNNAME_Processing, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_MP_OT_Request
(Properties ctx, int MP_OT_Request_ID, String trxName) Standard ConstructorX_MP_OT_Request
(Properties ctx, int MP_OT_Request_ID, String trxName, String... virtualColumns) Standard ConstructorX_MP_OT_Request
(Properties ctx, String MP_OT_Request_UU, String trxName) Standard ConstructorX_MP_OT_Request
(Properties ctx, String MP_OT_Request_UU, String trxName, String... virtualColumns) Standard ConstructorX_MP_OT_Request
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Asset.int
Get User/Contact.int
Get Document Type.Get Document Date.Get Date Required.Get Description.Get Document Status.Get Document No.int
Get Standard Job.int
Get Work Order (OT) Request.Get MP_OT_Request_UU.Get (OT) Request Type.Get Priority.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Processed.boolean
Get Process Now.void
setA_Asset_ID
(int A_Asset_ID) Set Asset.void
setAD_User_ID
(int AD_User_ID) Set User/Contact.void
setC_DocType_ID
(int C_DocType_ID) Set Document Type.void
setDateDoc
(Timestamp DateDoc) Set Document Date.void
setDateRequired
(Timestamp DateRequired) Set Date Required.void
setDescription
(String Description) Set Description.void
setDocStatus
(String DocStatus) Set Document Status.void
setDocumentNo
(String DocumentNo) Set Document No.void
setMP_JobStandar_ID
(int MP_JobStandar_ID) Set Standard Job.void
setMP_OT_Request_ID
(int MP_OT_Request_ID) Set Work Order (OT) Request.void
setMP_OT_Request_UU
(String MP_OT_Request_UU) Set MP_OT_Request_UU.void
setOT_Request_Type
(String OT_Request_Type) Set (OT) Request Type.void
setPriorityRule
(String PriorityRule) Set Priority.void
setProcessed
(boolean Processed) Set Processed.void
setProcessing
(boolean Processing) Set Process Now.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.maintenance.model.I_MP_OT_Request
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
-
DOCSTATUS_AD_Reference_ID
public static final int DOCSTATUS_AD_Reference_IDDocStatus AD_Reference_ID=53393- See Also:
-
DOCSTATUS_Approve
Approve = AP- See Also:
-
DOCSTATUS_Void
Void = VO- See Also:
-
DOCSTATUS_WaitingConfirmation
Waiting Confirmation = WC- See Also:
-
OT_REQUEST_TYPE_AD_Reference_ID
public static final int OT_REQUEST_TYPE_AD_Reference_IDOT_Request_Type AD_Reference_ID=53395- See Also:
-
OT_REQUEST_TYPE_Repair
Repair = RP- See Also:
-
OT_REQUEST_TYPE_CheckUp
CheckUp = RV- See Also:
-
PRIORITYRULE_AD_Reference_ID
public static final int PRIORITYRULE_AD_Reference_IDPriorityRule AD_Reference_ID=154- See Also:
-
PRIORITYRULE_Urgent
Urgent = 1- See Also:
-
PRIORITYRULE_High
High = 3- See Also:
-
PRIORITYRULE_Medium
Medium = 5- See Also:
-
PRIORITYRULE_Low
Low = 7- See Also:
-
PRIORITYRULE_Minor
Minor = 9- See Also:
-
-
Constructor Details
-
X_MP_OT_Request
Standard Constructor -
X_MP_OT_Request
public X_MP_OT_Request(Properties ctx, int MP_OT_Request_ID, String trxName, String... virtualColumns) Standard Constructor -
X_MP_OT_Request
Standard Constructor -
X_MP_OT_Request
public X_MP_OT_Request(Properties ctx, String MP_OT_Request_UU, String trxName, String... virtualColumns) Standard Constructor -
X_MP_OT_Request
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getAD_User
- Specified by:
getAD_User
in interfaceI_MP_OT_Request
- Throws:
RuntimeException
-
setAD_User_ID
public void setAD_User_ID(int AD_User_ID) Set User/Contact.- Specified by:
setAD_User_ID
in interfaceI_MP_OT_Request
- 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_MP_OT_Request
- Returns:
- User within the system - Internal or Business Partner Contact
-
getA_Asset
- Specified by:
getA_Asset
in interfaceI_MP_OT_Request
- Throws:
RuntimeException
-
setA_Asset_ID
public void setA_Asset_ID(int A_Asset_ID) Set Asset.- Specified by:
setA_Asset_ID
in interfaceI_MP_OT_Request
- Parameters:
A_Asset_ID
- Asset used internally or by customers
-
getA_Asset_ID
public int getA_Asset_ID()Get Asset.- Specified by:
getA_Asset_ID
in interfaceI_MP_OT_Request
- Returns:
- Asset used internally or by customers
-
getC_DocType
- Specified by:
getC_DocType
in interfaceI_MP_OT_Request
- Throws:
RuntimeException
-
setC_DocType_ID
public void setC_DocType_ID(int C_DocType_ID) Set Document Type.- Specified by:
setC_DocType_ID
in interfaceI_MP_OT_Request
- Parameters:
C_DocType_ID
- Document type or rules
-
getC_DocType_ID
public int getC_DocType_ID()Get Document Type.- Specified by:
getC_DocType_ID
in interfaceI_MP_OT_Request
- Returns:
- Document type or rules
-
setDateDoc
Set Document Date.- Specified by:
setDateDoc
in interfaceI_MP_OT_Request
- Parameters:
DateDoc
- Date of the Document
-
getDateDoc
Get Document Date.- Specified by:
getDateDoc
in interfaceI_MP_OT_Request
- Returns:
- Date of the Document
-
setDateRequired
Set Date Required.- Specified by:
setDateRequired
in interfaceI_MP_OT_Request
- Parameters:
DateRequired
- Date when required
-
getDateRequired
Get Date Required.- Specified by:
getDateRequired
in interfaceI_MP_OT_Request
- Returns:
- Date when required
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_MP_OT_Request
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_MP_OT_Request
- Returns:
- Optional short description of the record
-
setDocStatus
Set Document Status.- Specified by:
setDocStatus
in interfaceI_MP_OT_Request
- Parameters:
DocStatus
- The current status of the document
-
getDocStatus
Get Document Status.- Specified by:
getDocStatus
in interfaceI_MP_OT_Request
- Returns:
- The current status of the document
-
setDocumentNo
Set Document No.- Specified by:
setDocumentNo
in interfaceI_MP_OT_Request
- Parameters:
DocumentNo
- Document sequence number of the document
-
getDocumentNo
Get Document No.- Specified by:
getDocumentNo
in interfaceI_MP_OT_Request
- Returns:
- Document sequence number of the document
-
getMP_JobStandar
- Specified by:
getMP_JobStandar
in interfaceI_MP_OT_Request
- Throws:
RuntimeException
-
setMP_JobStandar_ID
public void setMP_JobStandar_ID(int MP_JobStandar_ID) Set Standard Job.- Specified by:
setMP_JobStandar_ID
in interfaceI_MP_OT_Request
- Parameters:
MP_JobStandar_ID
- Standard Job
-
getMP_JobStandar_ID
public int getMP_JobStandar_ID()Get Standard Job.- Specified by:
getMP_JobStandar_ID
in interfaceI_MP_OT_Request
- Returns:
- Standard Job
-
setMP_OT_Request_ID
public void setMP_OT_Request_ID(int MP_OT_Request_ID) Set Work Order (OT) Request.- Specified by:
setMP_OT_Request_ID
in interfaceI_MP_OT_Request
- Parameters:
MP_OT_Request_ID
- Work Order (OT) Request
-
getMP_OT_Request_ID
public int getMP_OT_Request_ID()Get Work Order (OT) Request.- Specified by:
getMP_OT_Request_ID
in interfaceI_MP_OT_Request
- Returns:
- Work Order (OT) Request
-
setMP_OT_Request_UU
Set MP_OT_Request_UU.- Specified by:
setMP_OT_Request_UU
in interfaceI_MP_OT_Request
- Parameters:
MP_OT_Request_UU
- MP_OT_Request_UU
-
getMP_OT_Request_UU
Get MP_OT_Request_UU.- Specified by:
getMP_OT_Request_UU
in interfaceI_MP_OT_Request
- Returns:
- MP_OT_Request_UU
-
setOT_Request_Type
Set (OT) Request Type.- Specified by:
setOT_Request_Type
in interfaceI_MP_OT_Request
- Parameters:
OT_Request_Type
- (OT) Request Type
-
getOT_Request_Type
Get (OT) Request Type.- Specified by:
getOT_Request_Type
in interfaceI_MP_OT_Request
- Returns:
- (OT) Request Type
-
setPriorityRule
Set Priority.- Specified by:
setPriorityRule
in interfaceI_MP_OT_Request
- Parameters:
PriorityRule
- Priority of a document
-
getPriorityRule
Get Priority.- Specified by:
getPriorityRule
in interfaceI_MP_OT_Request
- Returns:
- Priority of a document
-
setProcessed
public void setProcessed(boolean Processed) Set Processed.- Specified by:
setProcessed
in interfaceI_MP_OT_Request
- Parameters:
Processed
- The document has been processed
-
isProcessed
public boolean isProcessed()Get Processed.- Specified by:
isProcessed
in interfaceI_MP_OT_Request
- Returns:
- The document has been processed
-
setProcessing
public void setProcessing(boolean Processing) Set Process Now.- Specified by:
setProcessing
in interfaceI_MP_OT_Request
- Parameters:
Processing
- Process Now
-
isProcessing
public boolean isProcessing()Get Process Now.- Specified by:
isProcessing
in interfaceI_MP_OT_Request
- Returns:
- Process Now
-