Package org.brerp.base.model
Class MCOFEquipments
java.lang.Object
org.compiere.model.PO
org.brerp.base.model.X_COF_Equipments
org.brerp.base.model.MCOFEquipments
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_COF_Equipments
,I_Persistent
,Evaluatee
Model Class for COF_Equipments
- Version:
- $Id: MCOFEquipments.java, 05/06/2015 13:26:30 lucasb
- Author:
- Lucas Buglio (lucas.buglio@devcoffee.com.br, http://www.devcoffee.com.br)
- See Also:
-
Field Summary
Fields inherited from class org.brerp.base.model.X_COF_Equipments
COF_COLOR_Black, COF_COLOR_Blue, COF_COLOR_Gray, COF_COLOR_Green, COF_COLOR_Other, COF_COLOR_Red, COF_COLOR_Silver, COF_COLOR_White, COF_COLOR_Yellow, COF_LICENSEREQUIRED_A, COF_LICENSEREQUIRED_B, COF_LICENSEREQUIRED_C, COF_LICENSEREQUIRED_D, COF_LICENSEREQUIRED_E, COF_LICENSINGMONTH_April, COF_LICENSINGMONTH_August, COF_LICENSINGMONTH_December, COF_LICENSINGMONTH_February, COF_LICENSINGMONTH_January, COF_LICENSINGMONTH_July, COF_LICENSINGMONTH_June, COF_LICENSINGMONTH_March, COF_LICENSINGMONTH_May, COF_LICENSINGMONTH_November, COF_LICENSINGMONTH_October, COF_LICENSINGMONTH_September, COF_MDFE_TPCAR_00_NãoAplicavel, COF_MDFE_TPCAR_01_Aberta, COF_MDFE_TPCAR_02_FechadaBaú, COF_MDFE_TPCAR_03_Granelera, COF_MDFE_TPCAR_04_PortaContainer, COF_MDFE_TPCAR_05_Sider, COF_MDFE_TPROD_01_Truck, COF_MDFE_TPROD_02_Toco, COF_MDFE_TPROD_03_CavaloMecânico, COF_MDFE_TPROD_04_VAN, COF_MDFE_TPROD_05_Utilitário, COF_MDFE_TPROD_06_Outros, COF_TIPOEQUIPAMENTO_MáquinaProdutiva, COF_TIPOEQUIPAMENTO_Veículo
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_ID
Fields inherited from interface org.brerp.base.model.I_COF_Equipments
accessLevel, COLUMNNAME_A_Asset_ID, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_cof_AssetNumber, COLUMNNAME_cof_Axles, COLUMNNAME_cof_Brand, COLUMNNAME_cof_Chassi, COLUMNNAME_cof_Color, COLUMNNAME_COF_Combustivel_ID, COLUMNNAME_COF_Driver_ID, COLUMNNAME_COF_Equipments_ID, COLUMNNAME_COF_Equipments_UU, COLUMNNAME_cof_IsTracked, COLUMNNAME_COF_Jornada, COLUMNNAME_COF_KmAtual, COLUMNNAME_COF_KmPorLitro, COLUMNNAME_cof_LastLicensing, COLUMNNAME_cof_LastMaintenance, COLUMNNAME_cof_LicenseRequired, COLUMNNAME_cof_LicensingMonth, COLUMNNAME_cof_LoadCapacity, COLUMNNAME_cof_LockedMaintenance, COLUMNNAME_cof_MaxCapacity, COLUMNNAME_COF_MDFe_tpCar, COLUMNNAME_COF_MDFe_tpRod, COLUMNNAME_cof_Model, COLUMNNAME_cof_NextLicensing, COLUMNNAME_cof_NextMaintenance, COLUMNNAME_cof_NotifyTo, COLUMNNAME_cof_PlateNumber, COLUMNNAME_cof_RENAVAM, COLUMNNAME_cof_StatePlate_ID, COLUMNNAME_COF_TaraMaxima, COLUMNNAME_COF_TaraMinima, COLUMNNAME_COF_TaraVigente, COLUMNNAME_COF_TempoMedioDescarregamento, COLUMNNAME_COF_TipoEquipamento, COLUMNNAME_cof_TrackingCode, COLUMNNAME_COF_ValorManutMediaPorKm, COLUMNNAME_COF_Warehouse_ID, COLUMNNAME_COF_WarehouseTo_ID, COLUMNNAME_cof_YearManufacture, COLUMNNAME_cof_YearModel, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_IsActive, COLUMNNAME_IsFixedAsset, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionMCOFEquipments
(Properties ctx, int COF_Equipments_ID, String trxName) MCOFEquipments
(Properties ctx, int COF_Equipments_ID, String trxName, String... virtualColumns) MCOFEquipments
(Properties ctx, String COF_Equipments_UU, String trxName) MCOFEquipments
(Properties ctx, String COF_Equipments_UU, String trxName, String... virtualColumns) MCOFEquipments
(Properties ctx, ResultSet rs, String trxName) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
beforeSave
(boolean newRecord) Before Saveprotected boolean
validaCatHab
(String catHab) Valida Categoria de Habilitação Equipamentos x MotoristaMethods inherited from class org.brerp.base.model.X_COF_Equipments
get_AccessLevel, getA_Asset, getA_Asset_ID, getcof_AssetNumber, getcof_Axles, getcof_Brand, getcof_Chassi, getcof_Color, getCOF_Combustivel_ID, getCOF_Driver, getCOF_Driver_ID, getCOF_Equipments_ID, getCOF_Equipments_UU, getCOF_Jornada, getCOF_KmAtual, getCOF_KmPorLitro, getcof_LastLicensing, getcof_LastMaintenance, getcof_LicenseRequired, getcof_LicensingMonth, getcof_LoadCapacity, getcof_MaxCapacity, getCOF_MDFe_tpCar, getCOF_MDFe_tpRod, getcof_Model, getcof_NextLicensing, getcof_NextMaintenance, getcof_NotifyTo, getcof_PlateNumber, getcof_RENAVAM, getcof_StatePlate, getcof_StatePlate_ID, getCOF_TaraMaxima, getCOF_TaraMinima, getCOF_TaraVigente, getCOF_TempoMedioDescarregamento, getCOF_TipoEquipamento, getcof_TrackingCode, getCOF_ValorManutMediaPorKm, getCOF_Warehouse, getCOF_Warehouse_ID, getCOF_WarehouseTo, getCOF_WarehouseTo_ID, getcof_YearManufacture, getcof_YearModel, getDescription, getKeyNamePair, initPO, iscof_IsTracked, iscof_LockedMaintenance, isFixedAsset, setA_Asset_ID, setcof_AssetNumber, setcof_Axles, setcof_Brand, setcof_Chassi, setcof_Color, setCOF_Combustivel_ID, setCOF_Driver_ID, setCOF_Equipments_ID, setCOF_Equipments_UU, setcof_IsTracked, setCOF_Jornada, setCOF_KmAtual, setCOF_KmPorLitro, setcof_LastLicensing, setcof_LastMaintenance, setcof_LicenseRequired, setcof_LicensingMonth, setcof_LoadCapacity, setcof_LockedMaintenance, setcof_MaxCapacity, setCOF_MDFe_tpCar, setCOF_MDFe_tpRod, setcof_Model, setcof_NextLicensing, setcof_NextMaintenance, setcof_NotifyTo, setcof_PlateNumber, setcof_RENAVAM, setcof_StatePlate_ID, setCOF_TaraMaxima, setCOF_TaraMinima, setCOF_TaraVigente, setCOF_TempoMedioDescarregamento, setCOF_TipoEquipamento, setcof_TrackingCode, setCOF_ValorManutMediaPorKm, setCOF_Warehouse_ID, setCOF_WarehouseTo_ID, setcof_YearManufacture, setcof_YearModel, setDescription, setIsFixedAsset, toString
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, 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.brerp.base.model.I_COF_Equipments
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
-
Constructor Details
-
MCOFEquipments
- Parameters:
ctx
-COF_Driver_ID
-trxName
-
-
MCOFEquipments
- Parameters:
ctx
-rs
-trxName
-
-
MCOFEquipments
public MCOFEquipments(Properties ctx, int COF_Equipments_ID, String trxName, String... virtualColumns) -
MCOFEquipments
public MCOFEquipments(Properties ctx, String COF_Equipments_UU, String trxName, String... virtualColumns) -
MCOFEquipments
-
-
Method Details
-
beforeSave
protected boolean beforeSave(boolean newRecord) Before Save- Overrides:
beforeSave
in classPO
- Parameters:
newRecord
-- Returns:
- true if save
-
validaCatHab
Valida Categoria de Habilitação Equipamentos x Motorista- Parameters:
catHab
-- Returns:
-