Package org.compiere.model
Class X_PA_ColorSchema
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_PA_ColorSchema
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_PA_ColorSchema
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MColorSchema
Generated Model for PA_ColorSchema
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
EntityType AD_Reference_ID=389Fields 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_PA_ColorSchema
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_PrintColor1_ID, COLUMNNAME_AD_PrintColor2_ID, COLUMNNAME_AD_PrintColor3_ID, COLUMNNAME_AD_PrintColor4_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_EntityType, COLUMNNAME_IsActive, COLUMNNAME_Mark1Percent, COLUMNNAME_Mark2Percent, COLUMNNAME_Mark3Percent, COLUMNNAME_Mark4Percent, COLUMNNAME_Name, COLUMNNAME_PA_ColorSchema_ID, COLUMNNAME_PA_ColorSchema_UU, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_PA_ColorSchema
(Properties ctx, int PA_ColorSchema_ID, String trxName) Standard ConstructorX_PA_ColorSchema
(Properties ctx, int PA_ColorSchema_ID, String trxName, String... virtualColumns) Standard ConstructorX_PA_ColorSchema
(Properties ctx, String PA_ColorSchema_UU, String trxName) Standard ConstructorX_PA_ColorSchema
(Properties ctx, String PA_ColorSchema_UU, String trxName, String... virtualColumns) Standard ConstructorX_PA_ColorSchema
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Color 1.int
Get Color 2.int
Get Color 3.int
Get Color 4.Get Description.Get Entity Type.Get Record ID/ColumnNameint
Get Mark 1 Percent.int
Get Mark 2 Percent.int
Get Mark 3 Percent.int
Get Mark 4 Percent.getName()
Get Name.int
Get Color Schema.Get PA_ColorSchema_UU.protected POInfo
initPO
(Properties ctx) Load Meta Datavoid
setAD_PrintColor1_ID
(int AD_PrintColor1_ID) Set Color 1.void
setAD_PrintColor2_ID
(int AD_PrintColor2_ID) Set Color 2.void
setAD_PrintColor3_ID
(int AD_PrintColor3_ID) Set Color 3.void
setAD_PrintColor4_ID
(int AD_PrintColor4_ID) Set Color 4.void
setDescription
(String Description) Set Description.void
setEntityType
(String EntityType) Set Entity Type.void
setMark1Percent
(int Mark1Percent) Set Mark 1 Percent.void
setMark2Percent
(int Mark2Percent) Set Mark 2 Percent.void
setMark3Percent
(int Mark3Percent) Set Mark 3 Percent.void
setMark4Percent
(int Mark4Percent) Set Mark 4 Percent.void
Set Name.void
setPA_ColorSchema_ID
(int PA_ColorSchema_ID) Set Color Schema.void
setPA_ColorSchema_UU
(String PA_ColorSchema_UU) Set PA_ColorSchema_UU.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_PA_ColorSchema
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
-
ENTITYTYPE_AD_Reference_ID
public static final int ENTITYTYPE_AD_Reference_IDEntityType AD_Reference_ID=389- See Also:
-
-
Constructor Details
-
X_PA_ColorSchema
Standard Constructor -
X_PA_ColorSchema
public X_PA_ColorSchema(Properties ctx, int PA_ColorSchema_ID, String trxName, String... virtualColumns) Standard Constructor -
X_PA_ColorSchema
Standard Constructor -
X_PA_ColorSchema
public X_PA_ColorSchema(Properties ctx, String PA_ColorSchema_UU, String trxName, String... virtualColumns) Standard Constructor -
X_PA_ColorSchema
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 6 - System - Client
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getAD_PrintColor1
- Specified by:
getAD_PrintColor1
in interfaceI_PA_ColorSchema
- Throws:
RuntimeException
-
setAD_PrintColor1_ID
public void setAD_PrintColor1_ID(int AD_PrintColor1_ID) Set Color 1.- Specified by:
setAD_PrintColor1_ID
in interfaceI_PA_ColorSchema
- Parameters:
AD_PrintColor1_ID
- First color used
-
getAD_PrintColor1_ID
public int getAD_PrintColor1_ID()Get Color 1.- Specified by:
getAD_PrintColor1_ID
in interfaceI_PA_ColorSchema
- Returns:
- First color used
-
getAD_PrintColor2
- Specified by:
getAD_PrintColor2
in interfaceI_PA_ColorSchema
- Throws:
RuntimeException
-
setAD_PrintColor2_ID
public void setAD_PrintColor2_ID(int AD_PrintColor2_ID) Set Color 2.- Specified by:
setAD_PrintColor2_ID
in interfaceI_PA_ColorSchema
- Parameters:
AD_PrintColor2_ID
- Second color used
-
getAD_PrintColor2_ID
public int getAD_PrintColor2_ID()Get Color 2.- Specified by:
getAD_PrintColor2_ID
in interfaceI_PA_ColorSchema
- Returns:
- Second color used
-
getAD_PrintColor3
- Specified by:
getAD_PrintColor3
in interfaceI_PA_ColorSchema
- Throws:
RuntimeException
-
setAD_PrintColor3_ID
public void setAD_PrintColor3_ID(int AD_PrintColor3_ID) Set Color 3.- Specified by:
setAD_PrintColor3_ID
in interfaceI_PA_ColorSchema
- Parameters:
AD_PrintColor3_ID
- Third color used
-
getAD_PrintColor3_ID
public int getAD_PrintColor3_ID()Get Color 3.- Specified by:
getAD_PrintColor3_ID
in interfaceI_PA_ColorSchema
- Returns:
- Third color used
-
getAD_PrintColor4
- Specified by:
getAD_PrintColor4
in interfaceI_PA_ColorSchema
- Throws:
RuntimeException
-
setAD_PrintColor4_ID
public void setAD_PrintColor4_ID(int AD_PrintColor4_ID) Set Color 4.- Specified by:
setAD_PrintColor4_ID
in interfaceI_PA_ColorSchema
- Parameters:
AD_PrintColor4_ID
- Forth color used
-
getAD_PrintColor4_ID
public int getAD_PrintColor4_ID()Get Color 4.- Specified by:
getAD_PrintColor4_ID
in interfaceI_PA_ColorSchema
- Returns:
- Forth color used
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_PA_ColorSchema
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_PA_ColorSchema
- Returns:
- Optional short description of the record
-
setEntityType
Set Entity Type.- Specified by:
setEntityType
in interfaceI_PA_ColorSchema
- Parameters:
EntityType
- Dictionary Entity Type; Determines ownership and synchronization
-
getEntityType
Get Entity Type.- Specified by:
getEntityType
in interfaceI_PA_ColorSchema
- Returns:
- Dictionary Entity Type; Determines ownership and synchronization
-
setMark1Percent
public void setMark1Percent(int Mark1Percent) Set Mark 1 Percent.- Specified by:
setMark1Percent
in interfaceI_PA_ColorSchema
- Parameters:
Mark1Percent
- Percentage up to this color is used
-
getMark1Percent
public int getMark1Percent()Get Mark 1 Percent.- Specified by:
getMark1Percent
in interfaceI_PA_ColorSchema
- Returns:
- Percentage up to this color is used
-
setMark2Percent
public void setMark2Percent(int Mark2Percent) Set Mark 2 Percent.- Specified by:
setMark2Percent
in interfaceI_PA_ColorSchema
- Parameters:
Mark2Percent
- Percentage up to this color is used
-
getMark2Percent
public int getMark2Percent()Get Mark 2 Percent.- Specified by:
getMark2Percent
in interfaceI_PA_ColorSchema
- Returns:
- Percentage up to this color is used
-
setMark3Percent
public void setMark3Percent(int Mark3Percent) Set Mark 3 Percent.- Specified by:
setMark3Percent
in interfaceI_PA_ColorSchema
- Parameters:
Mark3Percent
- Percentage up to this color is used
-
getMark3Percent
public int getMark3Percent()Get Mark 3 Percent.- Specified by:
getMark3Percent
in interfaceI_PA_ColorSchema
- Returns:
- Percentage up to this color is used
-
setMark4Percent
public void setMark4Percent(int Mark4Percent) Set Mark 4 Percent.- Specified by:
setMark4Percent
in interfaceI_PA_ColorSchema
- Parameters:
Mark4Percent
- Percentage up to this color is used
-
getMark4Percent
public int getMark4Percent()Get Mark 4 Percent.- Specified by:
getMark4Percent
in interfaceI_PA_ColorSchema
- Returns:
- Percentage up to this color is used
-
setName
Set Name.- Specified by:
setName
in interfaceI_PA_ColorSchema
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_PA_ColorSchema
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setPA_ColorSchema_ID
public void setPA_ColorSchema_ID(int PA_ColorSchema_ID) Set Color Schema.- Specified by:
setPA_ColorSchema_ID
in interfaceI_PA_ColorSchema
- Parameters:
PA_ColorSchema_ID
- Performance Color Schema
-
getPA_ColorSchema_ID
public int getPA_ColorSchema_ID()Get Color Schema.- Specified by:
getPA_ColorSchema_ID
in interfaceI_PA_ColorSchema
- Returns:
- Performance Color Schema
-
setPA_ColorSchema_UU
Set PA_ColorSchema_UU.- Specified by:
setPA_ColorSchema_UU
in interfaceI_PA_ColorSchema
- Parameters:
PA_ColorSchema_UU
- PA_ColorSchema_UU
-
getPA_ColorSchema_UU
Get PA_ColorSchema_UU.- Specified by:
getPA_ColorSchema_UU
in interfaceI_PA_ColorSchema
- Returns:
- PA_ColorSchema_UU
-