Package org.maintenance.model
Class X_MP_OT_Task
java.lang.Object
org.compiere.model.PO
org.maintenance.model.X_MP_OT_Task
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_Persistent
,Evaluatee
,I_MP_OT_Task
- Direct Known Subclasses:
MMPOTTask
Generated Model for MP_OT_Task
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Status AD_Reference_ID=53407static final String
Completed = COstatic final String
In Progress = IPstatic final String
Not Started = NSstatic final String
Stop = STFields 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_Task
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_UOM_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_Duration, COLUMNNAME_IsActive, COLUMNNAME_MP_Maintain_ID, COLUMNNAME_MP_OT_ID, COLUMNNAME_MP_OT_Task_ID, COLUMNNAME_MP_OT_Task_UU, COLUMNNAME_Processed, COLUMNNAME_SeqNo, COLUMNNAME_Status, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_MP_OT_Task
(Properties ctx, int MP_OT_Task_ID, String trxName) Standard ConstructorX_MP_OT_Task
(Properties ctx, int MP_OT_Task_ID, String trxName, String... virtualColumns) Standard ConstructorX_MP_OT_Task
(Properties ctx, String MP_OT_Task_UU, String trxName) Standard ConstructorX_MP_OT_Task
(Properties ctx, String MP_OT_Task_UU, String trxName, String... virtualColumns) Standard ConstructorX_MP_OT_Task
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelgetC_UOM()
int
Get UOM.Get Description.Get Duration.int
Get Maintenance.getMP_OT()
int
Get Work Order (OT).int
Get Work Order Task.Get MP_OT_Task_UU.int
getSeqNo()
Get Sequence.Get Status.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Processed.void
setC_UOM_ID
(int C_UOM_ID) Set UOM.void
setDescription
(String Description) Set Description.void
setDuration
(BigDecimal Duration) Set Duration.void
setMP_Maintain_ID
(int MP_Maintain_ID) Set Maintenance.void
setMP_OT_ID
(int MP_OT_ID) Set Work Order (OT).void
setMP_OT_Task_ID
(int MP_OT_Task_ID) Set Work Order Task.void
setMP_OT_Task_UU
(String MP_OT_Task_UU) Set MP_OT_Task_UU.void
setProcessed
(boolean Processed) Set Processed.void
setSeqNo
(int SeqNo) Set Sequence.void
Set Status.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_Task
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
-
STATUS_AD_Reference_ID
public static final int STATUS_AD_Reference_IDStatus AD_Reference_ID=53407- See Also:
-
STATUS_Completed
Completed = CO- See Also:
-
STATUS_InProgress
In Progress = IP- See Also:
-
STATUS_NotStarted
Not Started = NS- See Also:
-
STATUS_Stop
Stop = ST- See Also:
-
-
Constructor Details
-
X_MP_OT_Task
Standard Constructor -
X_MP_OT_Task
Standard Constructor -
X_MP_OT_Task
Standard Constructor -
X_MP_OT_Task
Standard Constructor -
X_MP_OT_Task
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 -
getC_UOM
- Specified by:
getC_UOM
in interfaceI_MP_OT_Task
- Throws:
RuntimeException
-
setC_UOM_ID
public void setC_UOM_ID(int C_UOM_ID) Set UOM.- Specified by:
setC_UOM_ID
in interfaceI_MP_OT_Task
- Parameters:
C_UOM_ID
- Unit of Measure
-
getC_UOM_ID
public int getC_UOM_ID()Get UOM.- Specified by:
getC_UOM_ID
in interfaceI_MP_OT_Task
- Returns:
- Unit of Measure
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_MP_OT_Task
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_MP_OT_Task
- Returns:
- Optional short description of the record
-
setDuration
Set Duration.- Specified by:
setDuration
in interfaceI_MP_OT_Task
- Parameters:
Duration
- Normal Duration in Duration Unit
-
getDuration
Get Duration.- Specified by:
getDuration
in interfaceI_MP_OT_Task
- Returns:
- Normal Duration in Duration Unit
-
getMP_Maintain
- Specified by:
getMP_Maintain
in interfaceI_MP_OT_Task
- Throws:
RuntimeException
-
setMP_Maintain_ID
public void setMP_Maintain_ID(int MP_Maintain_ID) Set Maintenance.- Specified by:
setMP_Maintain_ID
in interfaceI_MP_OT_Task
- Parameters:
MP_Maintain_ID
- Maintenance
-
getMP_Maintain_ID
public int getMP_Maintain_ID()Get Maintenance.- Specified by:
getMP_Maintain_ID
in interfaceI_MP_OT_Task
- Returns:
- Maintenance
-
getMP_OT
- Specified by:
getMP_OT
in interfaceI_MP_OT_Task
- Throws:
RuntimeException
-
setMP_OT_ID
public void setMP_OT_ID(int MP_OT_ID) Set Work Order (OT).- Specified by:
setMP_OT_ID
in interfaceI_MP_OT_Task
- Parameters:
MP_OT_ID
- Work Order (OT)
-
getMP_OT_ID
public int getMP_OT_ID()Get Work Order (OT).- Specified by:
getMP_OT_ID
in interfaceI_MP_OT_Task
- Returns:
- Work Order (OT)
-
setMP_OT_Task_ID
public void setMP_OT_Task_ID(int MP_OT_Task_ID) Set Work Order Task.- Specified by:
setMP_OT_Task_ID
in interfaceI_MP_OT_Task
- Parameters:
MP_OT_Task_ID
- Work Order Task
-
getMP_OT_Task_ID
public int getMP_OT_Task_ID()Get Work Order Task.- Specified by:
getMP_OT_Task_ID
in interfaceI_MP_OT_Task
- Returns:
- Work Order Task
-
setMP_OT_Task_UU
Set MP_OT_Task_UU.- Specified by:
setMP_OT_Task_UU
in interfaceI_MP_OT_Task
- Parameters:
MP_OT_Task_UU
- MP_OT_Task_UU
-
getMP_OT_Task_UU
Get MP_OT_Task_UU.- Specified by:
getMP_OT_Task_UU
in interfaceI_MP_OT_Task
- Returns:
- MP_OT_Task_UU
-
setProcessed
public void setProcessed(boolean Processed) Set Processed.- Specified by:
setProcessed
in interfaceI_MP_OT_Task
- Parameters:
Processed
- The document has been processed
-
isProcessed
public boolean isProcessed()Get Processed.- Specified by:
isProcessed
in interfaceI_MP_OT_Task
- Returns:
- The document has been processed
-
setSeqNo
public void setSeqNo(int SeqNo) Set Sequence.- Specified by:
setSeqNo
in interfaceI_MP_OT_Task
- Parameters:
SeqNo
- Method of ordering records; lowest number comes first
-
getSeqNo
public int getSeqNo()Get Sequence.- Specified by:
getSeqNo
in interfaceI_MP_OT_Task
- Returns:
- Method of ordering records; lowest number comes first
-
setStatus
Set Status.- Specified by:
setStatus
in interfaceI_MP_OT_Task
- Parameters:
Status
- Status of the currently running check
-
getStatus
Get Status.- Specified by:
getStatus
in interfaceI_MP_OT_Task
- Returns:
- Status of the currently running check
-