Package org.compiere.model
Class X_C_DocTypeCounter
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_DocTypeCounter
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_C_DocTypeCounter
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MDocTypeCounter
Generated Model for C_DocTypeCounter
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
DocAction AD_Reference_ID=135static final String
Approve = APstatic final String
Close = CLstatic final String
Complete = COstatic final String
Invalidate = INstatic final String
<None> = --static final String
Post = POstatic final String
Prepare = PRstatic final String
Re-activate = REstatic final String
Reject = RJstatic final String
Reverse - Accrual = RAstatic final String
Reverse - Correct = RCstatic final String
Unlock = XLstatic final String
Void = VOstatic final String
Wait Complete = WCFields 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.compiere.model.I_C_DocTypeCounter
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_DocType_ID, COLUMNNAME_C_DocTypeCounter_ID, COLUMNNAME_C_DocTypeCounter_UU, COLUMNNAME_Counter_C_DocType_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_DocAction, COLUMNNAME_IsActive, COLUMNNAME_IsCreateCounter, COLUMNNAME_IsValid, COLUMNNAME_Name, COLUMNNAME_Processing, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_C_DocTypeCounter
(Properties ctx, int C_DocTypeCounter_ID, String trxName) Standard ConstructorX_C_DocTypeCounter
(Properties ctx, int C_DocTypeCounter_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_DocTypeCounter
(Properties ctx, String C_DocTypeCounter_UU, String trxName) Standard ConstructorX_C_DocTypeCounter
(Properties ctx, String C_DocTypeCounter_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_DocTypeCounter
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Document Type.int
Get Counter Document.Get C_DocTypeCounter_UU.int
Get Counter Document Type.Get Description.Get Document Action.Get Record ID/ColumnNamegetName()
Get Name.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Create Counter Document.boolean
Get Process Now.boolean
isValid()
Get Valid.void
setC_DocType_ID
(int C_DocType_ID) Set Document Type.void
setC_DocTypeCounter_ID
(int C_DocTypeCounter_ID) Set Counter Document.void
setC_DocTypeCounter_UU
(String C_DocTypeCounter_UU) Set C_DocTypeCounter_UU.void
setCounter_C_DocType_ID
(int Counter_C_DocType_ID) Set Counter Document Type.void
setDescription
(String Description) Set Description.void
setDocAction
(String DocAction) Set Document Action.void
setIsCreateCounter
(boolean IsCreateCounter) Set Create Counter Document.void
setIsValid
(boolean IsValid) Set Valid.void
Set Name.void
setProcessing
(boolean Processing) Set Process Now.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.compiere.model.I_C_DocTypeCounter
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
-
DOCACTION_AD_Reference_ID
public static final int DOCACTION_AD_Reference_IDDocAction AD_Reference_ID=135- See Also:
-
DOCACTION_None
<None> = --- See Also:
-
DOCACTION_Approve
Approve = AP- See Also:
-
DOCACTION_Close
Close = CL- See Also:
-
DOCACTION_Complete
Complete = CO- See Also:
-
DOCACTION_Invalidate
Invalidate = IN- See Also:
-
DOCACTION_Post
Post = PO- See Also:
-
DOCACTION_Prepare
Prepare = PR- See Also:
-
DOCACTION_Reverse_Accrual
Reverse - Accrual = RA- See Also:
-
DOCACTION_Reverse_Correct
Reverse - Correct = RC- See Also:
-
DOCACTION_Re_Activate
Re-activate = RE- See Also:
-
DOCACTION_Reject
Reject = RJ- See Also:
-
DOCACTION_Void
Void = VO- See Also:
-
DOCACTION_WaitComplete
Wait Complete = WC- See Also:
-
DOCACTION_Unlock
Unlock = XL- See Also:
-
-
Constructor Details
-
X_C_DocTypeCounter
Standard Constructor -
X_C_DocTypeCounter
public X_C_DocTypeCounter(Properties ctx, int C_DocTypeCounter_ID, String trxName, String... virtualColumns) Standard Constructor -
X_C_DocTypeCounter
Standard Constructor -
X_C_DocTypeCounter
public X_C_DocTypeCounter(Properties ctx, String C_DocTypeCounter_UU, String trxName, String... virtualColumns) Standard Constructor -
X_C_DocTypeCounter
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 2 - Client
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
setC_DocTypeCounter_ID
public void setC_DocTypeCounter_ID(int C_DocTypeCounter_ID) Set Counter Document.- Specified by:
setC_DocTypeCounter_ID
in interfaceI_C_DocTypeCounter
- Parameters:
C_DocTypeCounter_ID
- Counter Document Relationship
-
getC_DocTypeCounter_ID
public int getC_DocTypeCounter_ID()Get Counter Document.- Specified by:
getC_DocTypeCounter_ID
in interfaceI_C_DocTypeCounter
- Returns:
- Counter Document Relationship
-
setC_DocTypeCounter_UU
Set C_DocTypeCounter_UU.- Specified by:
setC_DocTypeCounter_UU
in interfaceI_C_DocTypeCounter
- Parameters:
C_DocTypeCounter_UU
- C_DocTypeCounter_UU
-
getC_DocTypeCounter_UU
Get C_DocTypeCounter_UU.- Specified by:
getC_DocTypeCounter_UU
in interfaceI_C_DocTypeCounter
- Returns:
- C_DocTypeCounter_UU
-
getC_DocType
- Specified by:
getC_DocType
in interfaceI_C_DocTypeCounter
- Throws:
RuntimeException
-
setC_DocType_ID
public void setC_DocType_ID(int C_DocType_ID) Set Document Type.- Specified by:
setC_DocType_ID
in interfaceI_C_DocTypeCounter
- 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_C_DocTypeCounter
- Returns:
- Document type or rules
-
getCounter_C_DocType
- Specified by:
getCounter_C_DocType
in interfaceI_C_DocTypeCounter
- Throws:
RuntimeException
-
setCounter_C_DocType_ID
public void setCounter_C_DocType_ID(int Counter_C_DocType_ID) Set Counter Document Type.- Specified by:
setCounter_C_DocType_ID
in interfaceI_C_DocTypeCounter
- Parameters:
Counter_C_DocType_ID
- Generated Counter Document Type (To)
-
getCounter_C_DocType_ID
public int getCounter_C_DocType_ID()Get Counter Document Type.- Specified by:
getCounter_C_DocType_ID
in interfaceI_C_DocTypeCounter
- Returns:
- Generated Counter Document Type (To)
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_C_DocTypeCounter
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_C_DocTypeCounter
- Returns:
- Optional short description of the record
-
setDocAction
Set Document Action.- Specified by:
setDocAction
in interfaceI_C_DocTypeCounter
- Parameters:
DocAction
- The targeted status of the document
-
getDocAction
Get Document Action.- Specified by:
getDocAction
in interfaceI_C_DocTypeCounter
- Returns:
- The targeted status of the document
-
setIsCreateCounter
public void setIsCreateCounter(boolean IsCreateCounter) Set Create Counter Document.- Specified by:
setIsCreateCounter
in interfaceI_C_DocTypeCounter
- Parameters:
IsCreateCounter
- Create Counter Document
-
isCreateCounter
public boolean isCreateCounter()Get Create Counter Document.- Specified by:
isCreateCounter
in interfaceI_C_DocTypeCounter
- Returns:
- Create Counter Document
-
setIsValid
public void setIsValid(boolean IsValid) Set Valid.- Specified by:
setIsValid
in interfaceI_C_DocTypeCounter
- Parameters:
IsValid
- Element is valid
-
isValid
public boolean isValid()Get Valid.- Specified by:
isValid
in interfaceI_C_DocTypeCounter
- Returns:
- Element is valid
-
setName
Set Name.- Specified by:
setName
in interfaceI_C_DocTypeCounter
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_C_DocTypeCounter
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setProcessing
public void setProcessing(boolean Processing) Set Process Now.- Specified by:
setProcessing
in interfaceI_C_DocTypeCounter
- Parameters:
Processing
- Process Now
-
isProcessing
public boolean isProcessing()Get Process Now.- Specified by:
isProcessing
in interfaceI_C_DocTypeCounter
- Returns:
- Process Now
-