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
FieldsModifier and TypeFieldDescriptionstatic final intDocStatus AD_Reference_ID=53393static final StringApprove = APstatic final StringVoid = VOstatic final StringWaiting Confirmation = WCstatic final intOT_Request_Type AD_Reference_ID=53395static final StringCheckUp = RVstatic final StringRepair = RPstatic final intPriorityRule AD_Reference_ID=154static final StringHigh = 3static final StringLow = 7static final StringMedium = 5static final StringMinor = 9static final StringUrgent = 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_IDFields 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
ConstructorsConstructorDescriptionX_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 intAccessLevelintGet Asset.intGet User/Contact.intGet Document Type.Get Document Date.Get Date Required.Get Description.Get Document Status.Get Document No.intGet Standard Job.intGet Work Order (OT) Request.Get MP_OT_Request_UU.Get (OT) Request Type.Get Priority.protected POInfoinitPO(Properties ctx) Load Meta DatabooleanGet Processed.booleanGet Process Now.voidsetA_Asset_ID(int A_Asset_ID) Set Asset.voidsetAD_User_ID(int AD_User_ID) Set User/Contact.voidsetC_DocType_ID(int C_DocType_ID) Set Document Type.voidsetDateDoc(Timestamp DateDoc) Set Document Date.voidsetDateRequired(Timestamp DateRequired) Set Date Required.voidsetDescription(String Description) Set Description.voidsetDocStatus(String DocStatus) Set Document Status.voidsetDocumentNo(String DocumentNo) Set Document No.voidsetMP_JobStandar_ID(int MP_JobStandar_ID) Set Standard Job.voidsetMP_OT_Request_ID(int MP_OT_Request_ID) Set Work Order (OT) Request.voidsetMP_OT_Request_UU(String MP_OT_Request_UU) Set MP_OT_Request_UU.voidsetOT_Request_Type(String OT_Request_Type) Set (OT) Request Type.voidsetPriorityRule(String PriorityRule) Set Priority.voidsetProcessed(boolean Processed) Set Processed.voidsetProcessing(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, validForeignKeysExMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.maintenance.model.I_MP_OT_Request
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActiveMethods 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_AccessLevelin classPO- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:POString representation -
getAD_User
- Specified by:
getAD_Userin 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_IDin 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_IDin interfaceI_MP_OT_Request- Returns:
- User within the system - Internal or Business Partner Contact
-
getA_Asset
- Specified by:
getA_Assetin interfaceI_MP_OT_Request- Throws:
RuntimeException
-
setA_Asset_ID
public void setA_Asset_ID(int A_Asset_ID) Set Asset.- Specified by:
setA_Asset_IDin 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_IDin interfaceI_MP_OT_Request- Returns:
- Asset used internally or by customers
-
getC_DocType
- Specified by:
getC_DocTypein 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_IDin 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_IDin interfaceI_MP_OT_Request- Returns:
- Document type or rules
-
setDateDoc
Set Document Date.- Specified by:
setDateDocin interfaceI_MP_OT_Request- Parameters:
DateDoc- Date of the Document
-
getDateDoc
Get Document Date.- Specified by:
getDateDocin interfaceI_MP_OT_Request- Returns:
- Date of the Document
-
setDateRequired
Set Date Required.- Specified by:
setDateRequiredin interfaceI_MP_OT_Request- Parameters:
DateRequired- Date when required
-
getDateRequired
Get Date Required.- Specified by:
getDateRequiredin interfaceI_MP_OT_Request- Returns:
- Date when required
-
setDescription
Set Description.- Specified by:
setDescriptionin interfaceI_MP_OT_Request- Parameters:
Description- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescriptionin interfaceI_MP_OT_Request- Returns:
- Optional short description of the record
-
setDocStatus
Set Document Status.- Specified by:
setDocStatusin interfaceI_MP_OT_Request- Parameters:
DocStatus- The current status of the document
-
getDocStatus
Get Document Status.- Specified by:
getDocStatusin interfaceI_MP_OT_Request- Returns:
- The current status of the document
-
setDocumentNo
Set Document No.- Specified by:
setDocumentNoin interfaceI_MP_OT_Request- Parameters:
DocumentNo- Document sequence number of the document
-
getDocumentNo
Get Document No.- Specified by:
getDocumentNoin interfaceI_MP_OT_Request- Returns:
- Document sequence number of the document
-
getMP_JobStandar
- Specified by:
getMP_JobStandarin 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_IDin 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_IDin 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_IDin 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_IDin interfaceI_MP_OT_Request- Returns:
- Work Order (OT) Request
-
setMP_OT_Request_UU
Set MP_OT_Request_UU.- Specified by:
setMP_OT_Request_UUin 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_UUin interfaceI_MP_OT_Request- Returns:
- MP_OT_Request_UU
-
setOT_Request_Type
Set (OT) Request Type.- Specified by:
setOT_Request_Typein interfaceI_MP_OT_Request- Parameters:
OT_Request_Type- (OT) Request Type
-
getOT_Request_Type
Get (OT) Request Type.- Specified by:
getOT_Request_Typein interfaceI_MP_OT_Request- Returns:
- (OT) Request Type
-
setPriorityRule
Set Priority.- Specified by:
setPriorityRulein interfaceI_MP_OT_Request- Parameters:
PriorityRule- Priority of a document
-
getPriorityRule
Get Priority.- Specified by:
getPriorityRulein interfaceI_MP_OT_Request- Returns:
- Priority of a document
-
setProcessed
public void setProcessed(boolean Processed) Set Processed.- Specified by:
setProcessedin interfaceI_MP_OT_Request- Parameters:
Processed- The document has been processed
-
isProcessed
public boolean isProcessed()Get Processed.- Specified by:
isProcessedin interfaceI_MP_OT_Request- Returns:
- The document has been processed
-
setProcessing
public void setProcessing(boolean Processing) Set Process Now.- Specified by:
setProcessingin interfaceI_MP_OT_Request- Parameters:
Processing- Process Now
-
isProcessing
public boolean isProcessing()Get Process Now.- Specified by:
isProcessingin interfaceI_MP_OT_Request- Returns:
- Process Now
-