Package org.maintenance.model
Class X_MP_Maintain
java.lang.Object
org.compiere.model.PO
org.maintenance.model.X_MP_Maintain
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_Persistent
,Evaluatee
,I_MP_Maintain
- Direct Known Subclasses:
MMPMaintain
Generated Model for MP_Maintain
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Active = ATstatic final int
DocStatus AD_Reference_ID=53400static final String
Critical = ACstatic final String
Inacive = ITstatic 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 = 1static final int
ProgrammingType AD_Reference_ID=53402static final String
Calendar = Cstatic final String
Meter = MFields 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_Maintain
accessLevel, COLUMNNAME_A_Asset_Group_ID, COLUMNNAME_A_Asset_ID, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_DocType_ID, COLUMNNAME_CopyFrom, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_currentmp, COLUMNNAME_DateLastOT, COLUMNNAME_DateLastRun, COLUMNNAME_datelastrunmp, COLUMNNAME_DateNextRun, COLUMNNAME_Description, COLUMNNAME_DocStatus, COLUMNNAME_DocumentNo, COLUMNNAME_Interval, COLUMNNAME_IsActive, COLUMNNAME_IsChild, COLUMNNAME_lastmp, COLUMNNAME_lastread, COLUMNNAME_MP_JobStandar_ID, COLUMNNAME_MP_Maintain_ID, COLUMNNAME_MP_Maintain_UU, COLUMNNAME_MP_MaintainParent_ID, COLUMNNAME_MP_Meter_ID, COLUMNNAME_nextmp, COLUMNNAME_PriorityRule, COLUMNNAME_ProgrammingType, COLUMNNAME_promuse, COLUMNNAME_Range, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_MP_Maintain
(Properties ctx, int MP_Maintain_ID, String trxName) Standard ConstructorX_MP_Maintain
(Properties ctx, int MP_Maintain_ID, String trxName, String... virtualColumns) Standard ConstructorX_MP_Maintain
(Properties ctx, String MP_Maintain_UU, String trxName) Standard ConstructorX_MP_Maintain
(Properties ctx, String MP_Maintain_UU, String trxName, String... virtualColumns) Standard ConstructorX_MP_Maintain
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Asset Group.int
Get Asset.int
Get Document Type.Get Copy From.Get currentmp.Get DateLastOT.Get Date Last Run.Get datelastrunmp.Get Date Next Run.Get Description.Get Document Status.Get Document No.Get Interval.Get lastmp.Get lastread.int
Get Standard Job.int
Get Maintenance.Get MP_Maintain_UU.int
Get MP_MaintainParent_ID.int
Get Meter.Get nextmp.Get Priority.Get ProgrammingType.Get promuse.getRange()
Get Range.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
isChild()
Get IsChild.void
setA_Asset_Group_ID
(int A_Asset_Group_ID) Set Asset Group.void
setA_Asset_ID
(int A_Asset_ID) Set Asset.void
setC_DocType_ID
(int C_DocType_ID) Set Document Type.void
setCopyFrom
(String CopyFrom) Set Copy From.void
setcurrentmp
(BigDecimal currentmp) Set currentmp.void
setDateLastOT
(Timestamp DateLastOT) Set DateLastOT.void
setDateLastRun
(Timestamp DateLastRun) Set Date Last Run.void
setdatelastrunmp
(Timestamp datelastrunmp) Set datelastrunmp.void
setDateNextRun
(Timestamp DateNextRun) Set Date Next Run.void
setDescription
(String Description) Set Description.void
setDocStatus
(String DocStatus) Set Document Status.void
setDocumentNo
(String DocumentNo) Set Document No.void
setInterval
(BigDecimal Interval) Set Interval.void
setIsChild
(boolean IsChild) Set IsChild.void
setlastmp
(BigDecimal lastmp) Set lastmp.void
setlastread
(BigDecimal lastread) Set lastread.void
setMP_JobStandar_ID
(int MP_JobStandar_ID) Set Standard Job.void
setMP_Maintain_ID
(int MP_Maintain_ID) Set Maintenance.void
setMP_Maintain_UU
(String MP_Maintain_UU) Set MP_Maintain_UU.void
setMP_MaintainParent_ID
(int MP_MaintainParent_ID) Set MP_MaintainParent_ID.void
setMP_Meter_ID
(int MP_Meter_ID) Set Meter.void
setnextmp
(BigDecimal nextmp) Set nextmp.void
setPriorityRule
(String PriorityRule) Set Priority.void
setProgrammingType
(String ProgrammingType) Set ProgrammingType.void
setpromuse
(BigDecimal promuse) Set promuse.void
setRange
(BigDecimal Range) Set Range.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_Maintain
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=53400- See Also:
-
DOCSTATUS_Critical
Critical = AC- See Also:
-
DOCSTATUS_Active
Active = AT- See Also:
-
DOCSTATUS_Inacive
Inacive = IT- 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:
-
PROGRAMMINGTYPE_AD_Reference_ID
public static final int PROGRAMMINGTYPE_AD_Reference_IDProgrammingType AD_Reference_ID=53402- See Also:
-
PROGRAMMINGTYPE_Calendar
Calendar = C- See Also:
-
PROGRAMMINGTYPE_Meter
Meter = M- See Also:
-
-
Constructor Details
-
X_MP_Maintain
Standard Constructor -
X_MP_Maintain
Standard Constructor -
X_MP_Maintain
Standard Constructor -
X_MP_Maintain
public X_MP_Maintain(Properties ctx, String MP_Maintain_UU, String trxName, String... virtualColumns) Standard Constructor -
X_MP_Maintain
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 -
getA_Asset_Group
- Specified by:
getA_Asset_Group
in interfaceI_MP_Maintain
- Throws:
RuntimeException
-
setA_Asset_Group_ID
public void setA_Asset_Group_ID(int A_Asset_Group_ID) Set Asset Group.- Specified by:
setA_Asset_Group_ID
in interfaceI_MP_Maintain
- Parameters:
A_Asset_Group_ID
- Group of Assets
-
getA_Asset_Group_ID
public int getA_Asset_Group_ID()Get Asset Group.- Specified by:
getA_Asset_Group_ID
in interfaceI_MP_Maintain
- Returns:
- Group of Assets
-
getA_Asset
- Specified by:
getA_Asset
in interfaceI_MP_Maintain
- Throws:
RuntimeException
-
setA_Asset_ID
public void setA_Asset_ID(int A_Asset_ID) Set Asset.- Specified by:
setA_Asset_ID
in interfaceI_MP_Maintain
- 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_Maintain
- Returns:
- Asset used internally or by customers
-
getC_DocType
- Specified by:
getC_DocType
in interfaceI_MP_Maintain
- 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_Maintain
- 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_Maintain
- Returns:
- Document type or rules
-
setCopyFrom
Set Copy From.- Specified by:
setCopyFrom
in interfaceI_MP_Maintain
- Parameters:
CopyFrom
- Copy From Record
-
getCopyFrom
Get Copy From.- Specified by:
getCopyFrom
in interfaceI_MP_Maintain
- Returns:
- Copy From Record
-
setDateLastOT
Set DateLastOT.- Specified by:
setDateLastOT
in interfaceI_MP_Maintain
- Parameters:
DateLastOT
- DateLastOT
-
getDateLastOT
Get DateLastOT.- Specified by:
getDateLastOT
in interfaceI_MP_Maintain
- Returns:
- DateLastOT
-
setDateLastRun
Set Date Last Run.- Specified by:
setDateLastRun
in interfaceI_MP_Maintain
- Parameters:
DateLastRun
- Date the process was last run.
-
getDateLastRun
Get Date Last Run.- Specified by:
getDateLastRun
in interfaceI_MP_Maintain
- Returns:
- Date the process was last run.
-
setDateNextRun
Set Date Next Run.- Specified by:
setDateNextRun
in interfaceI_MP_Maintain
- Parameters:
DateNextRun
- Date the process will run next
-
getDateNextRun
Get Date Next Run.- Specified by:
getDateNextRun
in interfaceI_MP_Maintain
- Returns:
- Date the process will run next
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_MP_Maintain
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_MP_Maintain
- Returns:
- Optional short description of the record
-
setDocStatus
Set Document Status.- Specified by:
setDocStatus
in interfaceI_MP_Maintain
- Parameters:
DocStatus
- The current status of the document
-
getDocStatus
Get Document Status.- Specified by:
getDocStatus
in interfaceI_MP_Maintain
- Returns:
- The current status of the document
-
setDocumentNo
Set Document No.- Specified by:
setDocumentNo
in interfaceI_MP_Maintain
- Parameters:
DocumentNo
- Document sequence number of the document
-
getDocumentNo
Get Document No.- Specified by:
getDocumentNo
in interfaceI_MP_Maintain
- Returns:
- Document sequence number of the document
-
setInterval
Set Interval.- Specified by:
setInterval
in interfaceI_MP_Maintain
- Parameters:
Interval
- Interval
-
getInterval
Get Interval.- Specified by:
getInterval
in interfaceI_MP_Maintain
- Returns:
- Interval
-
setIsChild
public void setIsChild(boolean IsChild) Set IsChild.- Specified by:
setIsChild
in interfaceI_MP_Maintain
- Parameters:
IsChild
- IsChild
-
isChild
public boolean isChild()Get IsChild.- Specified by:
isChild
in interfaceI_MP_Maintain
- Returns:
- IsChild
-
getMP_JobStandar
- Specified by:
getMP_JobStandar
in interfaceI_MP_Maintain
- 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_Maintain
- 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_Maintain
- Returns:
- Standard Job
-
getMP_MaintainParent
- Specified by:
getMP_MaintainParent
in interfaceI_MP_Maintain
- Throws:
RuntimeException
-
setMP_MaintainParent_ID
public void setMP_MaintainParent_ID(int MP_MaintainParent_ID) Set MP_MaintainParent_ID.- Specified by:
setMP_MaintainParent_ID
in interfaceI_MP_Maintain
- Parameters:
MP_MaintainParent_ID
- MP_MaintainParent_ID
-
getMP_MaintainParent_ID
public int getMP_MaintainParent_ID()Get MP_MaintainParent_ID.- Specified by:
getMP_MaintainParent_ID
in interfaceI_MP_Maintain
- Returns:
- MP_MaintainParent_ID
-
setMP_Maintain_ID
public void setMP_Maintain_ID(int MP_Maintain_ID) Set Maintenance.- Specified by:
setMP_Maintain_ID
in interfaceI_MP_Maintain
- Parameters:
MP_Maintain_ID
- Maintenance
-
getMP_Maintain_ID
public int getMP_Maintain_ID()Get Maintenance.- Specified by:
getMP_Maintain_ID
in interfaceI_MP_Maintain
- Returns:
- Maintenance
-
setMP_Maintain_UU
Set MP_Maintain_UU.- Specified by:
setMP_Maintain_UU
in interfaceI_MP_Maintain
- Parameters:
MP_Maintain_UU
- MP_Maintain_UU
-
getMP_Maintain_UU
Get MP_Maintain_UU.- Specified by:
getMP_Maintain_UU
in interfaceI_MP_Maintain
- Returns:
- MP_Maintain_UU
-
getMP_Meter
- Specified by:
getMP_Meter
in interfaceI_MP_Maintain
- Throws:
RuntimeException
-
setMP_Meter_ID
public void setMP_Meter_ID(int MP_Meter_ID) Set Meter.- Specified by:
setMP_Meter_ID
in interfaceI_MP_Maintain
- Parameters:
MP_Meter_ID
- Meter
-
getMP_Meter_ID
public int getMP_Meter_ID()Get Meter.- Specified by:
getMP_Meter_ID
in interfaceI_MP_Maintain
- Returns:
- Meter
-
setPriorityRule
Set Priority.- Specified by:
setPriorityRule
in interfaceI_MP_Maintain
- Parameters:
PriorityRule
- Priority of a document
-
getPriorityRule
Get Priority.- Specified by:
getPriorityRule
in interfaceI_MP_Maintain
- Returns:
- Priority of a document
-
setProgrammingType
Set ProgrammingType.- Specified by:
setProgrammingType
in interfaceI_MP_Maintain
- Parameters:
ProgrammingType
- ProgrammingType
-
getProgrammingType
Get ProgrammingType.- Specified by:
getProgrammingType
in interfaceI_MP_Maintain
- Returns:
- ProgrammingType
-
setRange
Set Range.- Specified by:
setRange
in interfaceI_MP_Maintain
- Parameters:
Range
- Range
-
getRange
Get Range.- Specified by:
getRange
in interfaceI_MP_Maintain
- Returns:
- Range
-
setcurrentmp
Set currentmp.- Specified by:
setcurrentmp
in interfaceI_MP_Maintain
- Parameters:
currentmp
- currentmp
-
getcurrentmp
Get currentmp.- Specified by:
getcurrentmp
in interfaceI_MP_Maintain
- Returns:
- currentmp
-
setdatelastrunmp
Set datelastrunmp.- Specified by:
setdatelastrunmp
in interfaceI_MP_Maintain
- Parameters:
datelastrunmp
- datelastrunmp
-
getdatelastrunmp
Get datelastrunmp.- Specified by:
getdatelastrunmp
in interfaceI_MP_Maintain
- Returns:
- datelastrunmp
-
setlastmp
Set lastmp.- Specified by:
setlastmp
in interfaceI_MP_Maintain
- Parameters:
lastmp
- lastmp
-
getlastmp
Get lastmp.- Specified by:
getlastmp
in interfaceI_MP_Maintain
- Returns:
- lastmp
-
setlastread
Set lastread.- Specified by:
setlastread
in interfaceI_MP_Maintain
- Parameters:
lastread
- lastread
-
getlastread
Get lastread.- Specified by:
getlastread
in interfaceI_MP_Maintain
- Returns:
- lastread
-
setnextmp
Set nextmp.- Specified by:
setnextmp
in interfaceI_MP_Maintain
- Parameters:
nextmp
- nextmp
-
getnextmp
Get nextmp.- Specified by:
getnextmp
in interfaceI_MP_Maintain
- Returns:
- nextmp
-
setpromuse
Set promuse.- Specified by:
setpromuse
in interfaceI_MP_Maintain
- Parameters:
promuse
- promuse
-
getpromuse
Get promuse.- Specified by:
getpromuse
in interfaceI_MP_Maintain
- Returns:
- promuse
-