Package org.maintenance.model
Class X_MP_AssetMeter
java.lang.Object
org.compiere.model.PO
org.maintenance.model.X_MP_AssetMeter
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,I_Persistent,Evaluatee,I_MP_AssetMeter
- Direct Known Subclasses:
MMPAssetMeter
Generated Model for MP_AssetMeter
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Fields 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_AssetMeter
accessLevel, COLUMNNAME_A_Asset_ID, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_Amt, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DateTrx, COLUMNNAME_Description, COLUMNNAME_IsActive, COLUMNNAME_MP_AssetMeter_ID, COLUMNNAME_MP_AssetMeter_UU, COLUMNNAME_MP_Meter_ID, COLUMNNAME_Name, COLUMNNAME_TotalAmt, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_Value, Model, Table_ID, Table_Name -
Constructor Summary
ConstructorsConstructorDescriptionX_MP_AssetMeter(Properties ctx, int MP_AssetMeter_ID, String trxName) Standard ConstructorX_MP_AssetMeter(Properties ctx, int MP_AssetMeter_ID, String trxName, String... virtualColumns) Standard ConstructorX_MP_AssetMeter(Properties ctx, String MP_AssetMeter_UU, String trxName) Standard ConstructorX_MP_AssetMeter(Properties ctx, String MP_AssetMeter_UU, String trxName, String... virtualColumns) Standard ConstructorX_MP_AssetMeter(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected intAccessLevelintGet Asset.getAmt()Get Amount.Get Transaction Date.Get Description.Get Record ID/ColumnNameintGet Asset Meter.Get MP_AssetMeter_UU.intGet Meter.getName()Get Name.Get Total Amount.getValue()Get Search Key.protected POInfoinitPO(Properties ctx) Load Meta DatavoidsetA_Asset_ID(int A_Asset_ID) Set Asset.voidsetAmt(BigDecimal Amt) Set Amount.voidsetDateTrx(Timestamp DateTrx) Set Transaction Date.voidsetDescription(String Description) Set Description.voidsetMP_AssetMeter_ID(int MP_AssetMeter_ID) Set Asset Meter.voidsetMP_AssetMeter_UU(String MP_AssetMeter_UU) Set MP_AssetMeter_UU.voidsetMP_Meter_ID(int MP_Meter_ID) Set Meter.voidSet Name.voidsetTotalAmt(BigDecimal TotalAmt) Set Total Amount.voidSet Search Key.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_AssetMeter
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActiveMethods inherited from interface org.compiere.model.I_Persistent
save
-
Constructor Details
-
X_MP_AssetMeter
Standard Constructor -
X_MP_AssetMeter
public X_MP_AssetMeter(Properties ctx, int MP_AssetMeter_ID, String trxName, String... virtualColumns) Standard Constructor -
X_MP_AssetMeter
Standard Constructor -
X_MP_AssetMeter
public X_MP_AssetMeter(Properties ctx, String MP_AssetMeter_UU, String trxName, String... virtualColumns) Standard Constructor -
X_MP_AssetMeter
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
- Specified by:
getA_Assetin interfaceI_MP_AssetMeter- Throws:
RuntimeException
-
setA_Asset_ID
public void setA_Asset_ID(int A_Asset_ID) Set Asset.- Specified by:
setA_Asset_IDin interfaceI_MP_AssetMeter- 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_AssetMeter- Returns:
- Asset used internally or by customers
-
setAmt
Set Amount.- Specified by:
setAmtin interfaceI_MP_AssetMeter- Parameters:
Amt- Amount
-
getAmt
Get Amount.- Specified by:
getAmtin interfaceI_MP_AssetMeter- Returns:
- Amount
-
setDateTrx
Set Transaction Date.- Specified by:
setDateTrxin interfaceI_MP_AssetMeter- Parameters:
DateTrx- Transaction Date
-
getDateTrx
Get Transaction Date.- Specified by:
getDateTrxin interfaceI_MP_AssetMeter- Returns:
- Transaction Date
-
setDescription
Set Description.- Specified by:
setDescriptionin interfaceI_MP_AssetMeter- Parameters:
Description- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescriptionin interfaceI_MP_AssetMeter- Returns:
- Optional short description of the record
-
setMP_AssetMeter_ID
public void setMP_AssetMeter_ID(int MP_AssetMeter_ID) Set Asset Meter.- Specified by:
setMP_AssetMeter_IDin interfaceI_MP_AssetMeter- Parameters:
MP_AssetMeter_ID- Asset Meter
-
getMP_AssetMeter_ID
public int getMP_AssetMeter_ID()Get Asset Meter.- Specified by:
getMP_AssetMeter_IDin interfaceI_MP_AssetMeter- Returns:
- Asset Meter
-
setMP_AssetMeter_UU
Set MP_AssetMeter_UU.- Specified by:
setMP_AssetMeter_UUin interfaceI_MP_AssetMeter- Parameters:
MP_AssetMeter_UU- MP_AssetMeter_UU
-
getMP_AssetMeter_UU
Get MP_AssetMeter_UU.- Specified by:
getMP_AssetMeter_UUin interfaceI_MP_AssetMeter- Returns:
- MP_AssetMeter_UU
-
getMP_Meter
- Specified by:
getMP_Meterin interfaceI_MP_AssetMeter- Throws:
RuntimeException
-
setMP_Meter_ID
public void setMP_Meter_ID(int MP_Meter_ID) Set Meter.- Specified by:
setMP_Meter_IDin interfaceI_MP_AssetMeter- Parameters:
MP_Meter_ID- Meter
-
getMP_Meter_ID
public int getMP_Meter_ID()Get Meter.- Specified by:
getMP_Meter_IDin interfaceI_MP_AssetMeter- Returns:
- Meter
-
setName
Set Name.- Specified by:
setNamein interfaceI_MP_AssetMeter- Parameters:
Name- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getNamein interfaceI_MP_AssetMeter- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setTotalAmt
Set Total Amount.- Specified by:
setTotalAmtin interfaceI_MP_AssetMeter- Parameters:
TotalAmt- Total Amount
-
getTotalAmt
Get Total Amount.- Specified by:
getTotalAmtin interfaceI_MP_AssetMeter- Returns:
- Total Amount
-
setValue
Set Search Key.- Specified by:
setValuein interfaceI_MP_AssetMeter- Parameters:
Value- Search key for the record in the format required - must be unique
-
getValue
Get Search Key.- Specified by:
getValuein interfaceI_MP_AssetMeter- Returns:
- Search key for the record in the format required - must be unique
-