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
FieldsModifier and TypeFieldDescriptionstatic final StringActive = ATstatic final intDocStatus AD_Reference_ID=53400static final StringCritical = ACstatic final StringInacive = ITstatic final intPriorityRule AD_Reference_ID=154static final StringHigh = 3static final StringLow = 7static final StringMedium = 5static final StringMinor = 9static final StringUrgent = 1static final intProgrammingType AD_Reference_ID=53402static final StringCalendar = Cstatic final StringMeter = 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_IDFields 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
ConstructorsConstructorDescriptionX_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 intAccessLevelintGet Asset Group.intGet Asset.intGet 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.intGet Standard Job.intGet Maintenance.Get MP_Maintain_UU.intGet MP_MaintainParent_ID.intGet Meter.Get nextmp.Get Priority.Get ProgrammingType.Get promuse.getRange()Get Range.protected POInfoinitPO(Properties ctx) Load Meta DatabooleanisChild()Get IsChild.voidsetA_Asset_Group_ID(int A_Asset_Group_ID) Set Asset Group.voidsetA_Asset_ID(int A_Asset_ID) Set Asset.voidsetC_DocType_ID(int C_DocType_ID) Set Document Type.voidsetCopyFrom(String CopyFrom) Set Copy From.voidsetcurrentmp(BigDecimal currentmp) Set currentmp.voidsetDateLastOT(Timestamp DateLastOT) Set DateLastOT.voidsetDateLastRun(Timestamp DateLastRun) Set Date Last Run.voidsetdatelastrunmp(Timestamp datelastrunmp) Set datelastrunmp.voidsetDateNextRun(Timestamp DateNextRun) Set Date Next Run.voidsetDescription(String Description) Set Description.voidsetDocStatus(String DocStatus) Set Document Status.voidsetDocumentNo(String DocumentNo) Set Document No.voidsetInterval(BigDecimal Interval) Set Interval.voidsetIsChild(boolean IsChild) Set IsChild.voidsetlastmp(BigDecimal lastmp) Set lastmp.voidsetlastread(BigDecimal lastread) Set lastread.voidsetMP_JobStandar_ID(int MP_JobStandar_ID) Set Standard Job.voidsetMP_Maintain_ID(int MP_Maintain_ID) Set Maintenance.voidsetMP_Maintain_UU(String MP_Maintain_UU) Set MP_Maintain_UU.voidsetMP_MaintainParent_ID(int MP_MaintainParent_ID) Set MP_MaintainParent_ID.voidsetMP_Meter_ID(int MP_Meter_ID) Set Meter.voidsetnextmp(BigDecimal nextmp) Set nextmp.voidsetPriorityRule(String PriorityRule) Set Priority.voidsetProgrammingType(String ProgrammingType) Set ProgrammingType.voidsetpromuse(BigDecimal promuse) Set promuse.voidsetRange(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, 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_Maintain
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=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_AccessLevelin classPO- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:POString representation -
getA_Asset_Group
- Specified by:
getA_Asset_Groupin 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_IDin 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_IDin interfaceI_MP_Maintain- Returns:
- Group of Assets
-
getA_Asset
- Specified by:
getA_Assetin interfaceI_MP_Maintain- Throws:
RuntimeException
-
setA_Asset_ID
public void setA_Asset_ID(int A_Asset_ID) Set Asset.- Specified by:
setA_Asset_IDin 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_IDin interfaceI_MP_Maintain- Returns:
- Asset used internally or by customers
-
getC_DocType
- Specified by:
getC_DocTypein interfaceI_MP_Maintain- Throws:
RuntimeException
-
setC_DocType_ID
public void setC_DocType_ID(int C_DocType_ID) Set Document Type.- Specified by:
setC_DocType_IDin 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_IDin interfaceI_MP_Maintain- Returns:
- Document type or rules
-
setCopyFrom
Set Copy From.- Specified by:
setCopyFromin interfaceI_MP_Maintain- Parameters:
CopyFrom- Copy From Record
-
getCopyFrom
Get Copy From.- Specified by:
getCopyFromin interfaceI_MP_Maintain- Returns:
- Copy From Record
-
setDateLastOT
Set DateLastOT.- Specified by:
setDateLastOTin interfaceI_MP_Maintain- Parameters:
DateLastOT- DateLastOT
-
getDateLastOT
Get DateLastOT.- Specified by:
getDateLastOTin interfaceI_MP_Maintain- Returns:
- DateLastOT
-
setDateLastRun
Set Date Last Run.- Specified by:
setDateLastRunin interfaceI_MP_Maintain- Parameters:
DateLastRun- Date the process was last run.
-
getDateLastRun
Get Date Last Run.- Specified by:
getDateLastRunin interfaceI_MP_Maintain- Returns:
- Date the process was last run.
-
setDateNextRun
Set Date Next Run.- Specified by:
setDateNextRunin interfaceI_MP_Maintain- Parameters:
DateNextRun- Date the process will run next
-
getDateNextRun
Get Date Next Run.- Specified by:
getDateNextRunin interfaceI_MP_Maintain- Returns:
- Date the process will run next
-
setDescription
Set Description.- Specified by:
setDescriptionin interfaceI_MP_Maintain- Parameters:
Description- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescriptionin interfaceI_MP_Maintain- Returns:
- Optional short description of the record
-
setDocStatus
Set Document Status.- Specified by:
setDocStatusin interfaceI_MP_Maintain- Parameters:
DocStatus- The current status of the document
-
getDocStatus
Get Document Status.- Specified by:
getDocStatusin interfaceI_MP_Maintain- Returns:
- The current status of the document
-
setDocumentNo
Set Document No.- Specified by:
setDocumentNoin interfaceI_MP_Maintain- Parameters:
DocumentNo- Document sequence number of the document
-
getDocumentNo
Get Document No.- Specified by:
getDocumentNoin interfaceI_MP_Maintain- Returns:
- Document sequence number of the document
-
setInterval
Set Interval.- Specified by:
setIntervalin interfaceI_MP_Maintain- Parameters:
Interval- Interval
-
getInterval
Get Interval.- Specified by:
getIntervalin interfaceI_MP_Maintain- Returns:
- Interval
-
setIsChild
public void setIsChild(boolean IsChild) Set IsChild.- Specified by:
setIsChildin interfaceI_MP_Maintain- Parameters:
IsChild- IsChild
-
isChild
public boolean isChild()Get IsChild.- Specified by:
isChildin interfaceI_MP_Maintain- Returns:
- IsChild
-
getMP_JobStandar
- Specified by:
getMP_JobStandarin interfaceI_MP_Maintain- Throws:
RuntimeException
-
setMP_JobStandar_ID
public void setMP_JobStandar_ID(int MP_JobStandar_ID) Set Standard Job.- Specified by:
setMP_JobStandar_IDin interfaceI_MP_Maintain- Parameters:
MP_JobStandar_ID- Standard Job
-
getMP_JobStandar_ID
public int getMP_JobStandar_ID()Get Standard Job.- Specified by:
getMP_JobStandar_IDin interfaceI_MP_Maintain- Returns:
- Standard Job
-
getMP_MaintainParent
- Specified by:
getMP_MaintainParentin 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_IDin 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_IDin 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_IDin interfaceI_MP_Maintain- Parameters:
MP_Maintain_ID- Maintenance
-
getMP_Maintain_ID
public int getMP_Maintain_ID()Get Maintenance.- Specified by:
getMP_Maintain_IDin interfaceI_MP_Maintain- Returns:
- Maintenance
-
setMP_Maintain_UU
Set MP_Maintain_UU.- Specified by:
setMP_Maintain_UUin interfaceI_MP_Maintain- Parameters:
MP_Maintain_UU- MP_Maintain_UU
-
getMP_Maintain_UU
Get MP_Maintain_UU.- Specified by:
getMP_Maintain_UUin interfaceI_MP_Maintain- Returns:
- MP_Maintain_UU
-
getMP_Meter
- Specified by:
getMP_Meterin interfaceI_MP_Maintain- Throws:
RuntimeException
-
setMP_Meter_ID
public void setMP_Meter_ID(int MP_Meter_ID) Set Meter.- Specified by:
setMP_Meter_IDin interfaceI_MP_Maintain- Parameters:
MP_Meter_ID- Meter
-
getMP_Meter_ID
public int getMP_Meter_ID()Get Meter.- Specified by:
getMP_Meter_IDin interfaceI_MP_Maintain- Returns:
- Meter
-
setPriorityRule
Set Priority.- Specified by:
setPriorityRulein interfaceI_MP_Maintain- Parameters:
PriorityRule- Priority of a document
-
getPriorityRule
Get Priority.- Specified by:
getPriorityRulein interfaceI_MP_Maintain- Returns:
- Priority of a document
-
setProgrammingType
Set ProgrammingType.- Specified by:
setProgrammingTypein interfaceI_MP_Maintain- Parameters:
ProgrammingType- ProgrammingType
-
getProgrammingType
Get ProgrammingType.- Specified by:
getProgrammingTypein interfaceI_MP_Maintain- Returns:
- ProgrammingType
-
setRange
Set Range.- Specified by:
setRangein interfaceI_MP_Maintain- Parameters:
Range- Range
-
getRange
Get Range.- Specified by:
getRangein interfaceI_MP_Maintain- Returns:
- Range
-
setcurrentmp
Set currentmp.- Specified by:
setcurrentmpin interfaceI_MP_Maintain- Parameters:
currentmp- currentmp
-
getcurrentmp
Get currentmp.- Specified by:
getcurrentmpin interfaceI_MP_Maintain- Returns:
- currentmp
-
setdatelastrunmp
Set datelastrunmp.- Specified by:
setdatelastrunmpin interfaceI_MP_Maintain- Parameters:
datelastrunmp- datelastrunmp
-
getdatelastrunmp
Get datelastrunmp.- Specified by:
getdatelastrunmpin interfaceI_MP_Maintain- Returns:
- datelastrunmp
-
setlastmp
Set lastmp.- Specified by:
setlastmpin interfaceI_MP_Maintain- Parameters:
lastmp- lastmp
-
getlastmp
Get lastmp.- Specified by:
getlastmpin interfaceI_MP_Maintain- Returns:
- lastmp
-
setlastread
Set lastread.- Specified by:
setlastreadin interfaceI_MP_Maintain- Parameters:
lastread- lastread
-
getlastread
Get lastread.- Specified by:
getlastreadin interfaceI_MP_Maintain- Returns:
- lastread
-
setnextmp
Set nextmp.- Specified by:
setnextmpin interfaceI_MP_Maintain- Parameters:
nextmp- nextmp
-
getnextmp
Get nextmp.- Specified by:
getnextmpin interfaceI_MP_Maintain- Returns:
- nextmp
-
setpromuse
Set promuse.- Specified by:
setpromusein interfaceI_MP_Maintain- Parameters:
promuse- promuse
-
getpromuse
Get promuse.- Specified by:
getpromusein interfaceI_MP_Maintain- Returns:
- promuse
-