Class MCOFCCNABConfigLine
java.lang.Object
org.compiere.model.PO
org.brerp.bancosbrasileiros.model.X_COF_C_CNABConfig_Line
org.brerp.bancosbrasileiros.model.MCOFCCNABConfigLine
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_COF_C_CNABConfig_Line
,I_Persistent
,Evaluatee
CNAB Config Line model class
- Version:
- $Id: MCOFCCNABConfigLine.java, v1.0 25/02/2014 16:44:57, muriloht Exp $
- Author:
- muriloht (muriloht@devcoffee.com.br, http://www.devcoffee.com.br)
- See Also:
-
Field Summary
Fields inherited from class org.brerp.bancosbrasileiros.model.X_COF_C_CNABConfig_Line
COF_CNABLINETYPE_Detail, COF_CNABLINETYPE_Header, COF_CNABLINETYPE_Included, COF_CNABLINETYPE_Trailler, COF_POSICAO_AntesDoDetalhe, COF_POSICAO_DepoisDoDetalhe, DATATYPE_Brancos, DATATYPE_Constante, DATATYPE_Data, DATATYPE_DÃgitoVerificador, DATATYPE_FimDeLinha, DATATYPE_FormatoIncluso, DATATYPE_Número, DATATYPE_Texto, DATATYPE_Zeros
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, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
Fields inherited from interface org.brerp.bancosbrasileiros.model.I_COF_C_CNABConfig_Line
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_Charge_ID, COLUMNNAME_COF_C_CNABConfig_ID, COLUMNNAME_COF_C_CNABConfig_Line_ID, COLUMNNAME_COF_C_CNABConfig_Line_UU, COLUMNNAME_COF_C_CNABConfigIncluso_ID, COLUMNNAME_cof_CNABLineType, COLUMNNAME_cof_Condition, COLUMNNAME_COF_ExpIgnoreLine, COLUMNNAME_cof_Filler, COLUMNNAME_cof_IdentifierColumn, COLUMNNAME_cof_IsCharge, COLUMNNAME_COF_IsCriarLinhaAlocacaoDespesa, COLUMNNAME_cof_IsIdentifier, COLUMNNAME_cof_IsNegativeValue, COLUMNNAME_cof_IsOccurrenceCode, COLUMNNAME_cof_IsOnlyNumbers, COLUMNNAME_cof_IsRemoveSpecial, COLUMNNAME_cof_IsUpper, COLUMNNAME_cof_LeftAlign, COLUMNNAME_cof_Posicao, COLUMNNAME_cof_RecordIdentifier, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DataType, COLUMNNAME_DateFormat, COLUMNNAME_DecimalPattern, COLUMNNAME_DefaultValue, COLUMNNAME_Description, COLUMNNAME_EndNo, COLUMNNAME_IsActive, COLUMNNAME_IsCounted, COLUMNNAME_IsPrinted, COLUMNNAME_IsSummarized, COLUMNNAME_Name, COLUMNNAME_Script, COLUMNNAME_SeqNo, COLUMNNAME_StartNo, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionMCOFCCNABConfigLine
(Properties ctx, int COF_C_CNABConfig_Line_ID, String trxName) MCOFCCNABConfigLine
(Properties ctx, int COF_C_CNABConfig_Line_ID, String trxName, String... virtualColumns) MCOFCCNABConfigLine
(Properties ctx, String COF_C_CNABConfig_Line_UU, String trxName) MCOFCCNABConfigLine
(Properties ctx, String COF_C_CNABConfig_Line_UU, String trxName, String... virtualColumns) MCOFCCNABConfigLine
(Properties ctx, ResultSet rs, String trxName) -
Method Summary
Modifier and TypeMethodDescriptionboolean
beforeSave
(boolean newRecord) Called before Save for Pre-Save Operationstatic String
parseVariable
(String expression, String recordIdentifier, PO po, String trxName, Map<String, Object> summarized, boolean keepUnparseable, boolean replaceNull) Parse expression, replaces global or PO properties @tag@ with actual value.Methods inherited from class org.brerp.bancosbrasileiros.model.X_COF_C_CNABConfig_Line
get_AccessLevel, getC_Charge, getC_Charge_ID, getCOF_C_CNABConfig, getCOF_C_CNABConfig_ID, getCOF_C_CNABConfig_Line_ID, getCOF_C_CNABConfig_Line_UU, getCOF_C_CNABConfigIncluso, getCOF_C_CNABConfigIncluso_ID, getcof_CNABLineType, getcof_Condition, getCOF_ExpIgnoreLine, getcof_Filler, getcof_IdentifierColumn, getcof_Posicao, getcof_RecordIdentifier, getDataType, getDateFormat, getDecimalPattern, getDefaultValue, getDescription, getEndNo, getKeyNamePair, getName, getScript, getSeqNo, getStartNo, initPO, iscof_IsCharge, isCOF_IsCriarLinhaAlocacaoDespesa, iscof_IsIdentifier, iscof_IsNegativeValue, iscof_IsOccurrenceCode, iscof_IsOnlyNumbers, iscof_IsRemoveSpecial, iscof_IsUpper, iscof_LeftAlign, isCounted, isPrinted, isSummarized, setC_Charge_ID, setCOF_C_CNABConfig_ID, setCOF_C_CNABConfig_Line_ID, setCOF_C_CNABConfig_Line_UU, setCOF_C_CNABConfigIncluso_ID, setcof_CNABLineType, setcof_Condition, setCOF_ExpIgnoreLine, setcof_Filler, setcof_IdentifierColumn, setcof_IsCharge, setCOF_IsCriarLinhaAlocacaoDespesa, setcof_IsIdentifier, setcof_IsNegativeValue, setcof_IsOccurrenceCode, setcof_IsOnlyNumbers, setcof_IsRemoveSpecial, setcof_IsUpper, setcof_LeftAlign, setcof_Posicao, setcof_RecordIdentifier, setDataType, setDateFormat, setDecimalPattern, setDefaultValue, setDescription, setEndNo, setIsCounted, setIsPrinted, setIsSummarized, setName, setScript, setSeqNo, setStartNo, 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.bancosbrasileiros.model.I_COF_C_CNABConfig_Line
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
-
MCOFCCNABConfigLine
- Parameters:
ctx
-COF_C_CNABConfig_Line_ID
-trxName
-
-
MCOFCCNABConfigLine
- Parameters:
ctx
-rs
-trxName
-
-
MCOFCCNABConfigLine
public MCOFCCNABConfigLine(Properties ctx, int COF_C_CNABConfig_Line_ID, String trxName, String... virtualColumns) -
MCOFCCNABConfigLine
public MCOFCCNABConfigLine(Properties ctx, String COF_C_CNABConfig_Line_UU, String trxName, String... virtualColumns) -
MCOFCCNABConfigLine
-
-
Method Details
-
parseVariable
public static String parseVariable(String expression, String recordIdentifier, PO po, String trxName, Map<String, Object> summarized, boolean keepUnparseable, boolean replaceNull) Parse expression, replaces global or PO properties @tag@ with actual value.- Parameters:
expression
-po
-trxName
-keepUnparseable
-replaceNull
- - Replace null values with -1 to avoid evaluation errors- Returns:
- String
-
beforeSave
public boolean beforeSave(boolean newRecord) Description copied from class:PO
Called before Save for Pre-Save Operation- Overrides:
beforeSave
in classPO
- Parameters:
newRecord
- new record- Returns:
- true if record can be saved
-