Package org.compiere.model
Class X_AD_Table
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_AD_Table
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,I_AD_Table,I_Persistent,Evaluatee
- Direct Known Subclasses:
MTable
public class X_AD_Table extends PO implements I_AD_Table, I_Persistent
Generated Model for AD_Table- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intACCESSLEVEL_AD_Reference_IDAccessLevel AD_Reference_ID=5static StringACCESSLEVEL_AllAll = 7static StringACCESSLEVEL_ClientOnlyClient only = 2static StringACCESSLEVEL_ClientPlusOrganizationClient+Organization = 3static StringACCESSLEVEL_OrganizationOrganization = 1static StringACCESSLEVEL_SystemOnlySystem only = 4static StringACCESSLEVEL_SystemPlusClientSystem+Client = 6static intENTITYTYPE_AD_Reference_IDEntityType AD_Reference_ID=389static intREPLICATIONTYPE_AD_Reference_IDReplicationType AD_Reference_ID=126static StringREPLICATIONTYPE_BroadcastBroadcast = Bstatic StringREPLICATIONTYPE_LocalLocal = Lstatic StringREPLICATIONTYPE_MergeMerge = Mstatic StringREPLICATIONTYPE_ReferenceReference = R-
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, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.compiere.model.I_AD_Table
accessLevel, COLUMNNAME_AccessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_Table_ID, COLUMNNAME_AD_Table_UU, COLUMNNAME_AD_Val_Rule_ID, COLUMNNAME_AD_Window_ID, COLUMNNAME_CopyColumnsFromTable, COLUMNNAME_CopyComponentsFromView, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_CreateWindowFromTable, COLUMNNAME_DatabaseViewDrop, COLUMNNAME_Description, COLUMNNAME_EntityType, COLUMNNAME_Help, COLUMNNAME_ImportTable, COLUMNNAME_IsActive, COLUMNNAME_IsCentrallyMaintained, COLUMNNAME_IsChangeLog, COLUMNNAME_IsDeleteable, COLUMNNAME_IsHighVolume, COLUMNNAME_IsSecurityEnabled, COLUMNNAME_IsView, COLUMNNAME_LoadSeq, COLUMNNAME_Name, COLUMNNAME_PO_Window_ID, COLUMNNAME_Processing, COLUMNNAME_ReplicationType, COLUMNNAME_TableName, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_AD_Table(Properties ctx, int AD_Table_ID, String trxName)Standard ConstructorX_AD_Table(Properties ctx, ResultSet rs, String trxName)Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intget_AccessLevel()AccessLevelStringgetAccessLevel()Get Data Access Level.intgetAD_Table_ID()Get Table.StringgetAD_Table_UU()Get AD_Table_UU.I_AD_Val_RulegetAD_Val_Rule()intgetAD_Val_Rule_ID()Get Dynamic Validation.I_AD_WindowgetAD_Window()intgetAD_Window_ID()Get Window.StringgetCopyColumnsFromTable()Get Copy Columns From Table.StringgetCopyComponentsFromView()Get Copy Components From View.StringgetCreateWindowFromTable()Get Create Window From Table.StringgetDatabaseViewDrop()Get Drop view.StringgetDescription()Get Description.StringgetEntityType()Get Entity Type.StringgetHelp()Get Comment/Help.StringgetImportTable()Get Import Table.KeyNamePairgetKeyNamePair()Get Record ID/ColumnNameintgetLoadSeq()Get Sequence.StringgetName()Get Name.I_AD_WindowgetPO_Window()intgetPO_Window_ID()Get PO Window.StringgetReplicationType()Get Replication Type.StringgetTableName()Get DB Table Name.protected POInfoinitPO(Properties ctx)Load Meta DatabooleanisCentrallyMaintained()Get Centrally maintained.booleanisChangeLog()Get Maintain Change Log.booleanisDeleteable()Get Records deletable.booleanisHighVolume()Get High Volume.booleanisProcessing()Get Process Now.booleanisSecurityEnabled()Get Security enabled.booleanisView()Get View.voidsetAccessLevel(String AccessLevel)Set Data Access Level.voidsetAD_Table_ID(int AD_Table_ID)Set Table.voidsetAD_Table_UU(String AD_Table_UU)Set AD_Table_UU.voidsetAD_Val_Rule_ID(int AD_Val_Rule_ID)Set Dynamic Validation.voidsetAD_Window_ID(int AD_Window_ID)Set Window.voidsetCopyColumnsFromTable(String CopyColumnsFromTable)Set Copy Columns From Table.voidsetCopyComponentsFromView(String CopyComponentsFromView)Set Copy Components From View.voidsetCreateWindowFromTable(String CreateWindowFromTable)Set Create Window From Table.voidsetDatabaseViewDrop(String DatabaseViewDrop)Set Drop view.voidsetDescription(String Description)Set Description.voidsetEntityType(String EntityType)Set Entity Type.voidsetHelp(String Help)Set Comment/Help.voidsetImportTable(String ImportTable)Set Import Table.voidsetIsCentrallyMaintained(boolean IsCentrallyMaintained)Set Centrally maintained.voidsetIsChangeLog(boolean IsChangeLog)Set Maintain Change Log.voidsetIsDeleteable(boolean IsDeleteable)Set Records deletable.voidsetIsHighVolume(boolean IsHighVolume)Set High Volume.voidsetIsSecurityEnabled(boolean IsSecurityEnabled)Set Security enabled.voidsetIsView(boolean IsView)Set View.voidsetLoadSeq(int LoadSeq)Set Sequence.voidsetName(String Name)Set Name.voidsetPO_Window_ID(int PO_Window_ID)Set PO Window.voidsetProcessing(boolean Processing)Set Process Now.voidsetReplicationType(String ReplicationType)Set Replication Type.voidsetTableName(String TableName)Set DB Table Name.StringtoString()String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, 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_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, 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, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, 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, 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_AD_Table
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 Detail
-
ACCESSLEVEL_AD_Reference_ID
public static final int ACCESSLEVEL_AD_Reference_ID
AccessLevel AD_Reference_ID=5- See Also:
- Constant Field Values
-
ACCESSLEVEL_Organization
public static final String ACCESSLEVEL_Organization
Organization = 1- See Also:
- Constant Field Values
-
ACCESSLEVEL_ClientOnly
public static final String ACCESSLEVEL_ClientOnly
Client only = 2- See Also:
- Constant Field Values
-
ACCESSLEVEL_ClientPlusOrganization
public static final String ACCESSLEVEL_ClientPlusOrganization
Client+Organization = 3- See Also:
- Constant Field Values
-
ACCESSLEVEL_SystemOnly
public static final String ACCESSLEVEL_SystemOnly
System only = 4- See Also:
- Constant Field Values
-
ACCESSLEVEL_SystemPlusClient
public static final String ACCESSLEVEL_SystemPlusClient
System+Client = 6- See Also:
- Constant Field Values
-
ACCESSLEVEL_All
public static final String ACCESSLEVEL_All
All = 7- See Also:
- Constant Field Values
-
ENTITYTYPE_AD_Reference_ID
public static final int ENTITYTYPE_AD_Reference_ID
EntityType AD_Reference_ID=389- See Also:
- Constant Field Values
-
REPLICATIONTYPE_AD_Reference_ID
public static final int REPLICATIONTYPE_AD_Reference_ID
ReplicationType AD_Reference_ID=126- See Also:
- Constant Field Values
-
REPLICATIONTYPE_Broadcast
public static final String REPLICATIONTYPE_Broadcast
Broadcast = B- See Also:
- Constant Field Values
-
REPLICATIONTYPE_Local
public static final String REPLICATIONTYPE_Local
Local = L- See Also:
- Constant Field Values
-
REPLICATIONTYPE_Merge
public static final String REPLICATIONTYPE_Merge
Merge = M- See Also:
- Constant Field Values
-
REPLICATIONTYPE_Reference
public static final String REPLICATIONTYPE_Reference
Reference = R- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_AD_Table
public X_AD_Table(Properties ctx, int AD_Table_ID, String trxName)
Standard Constructor
-
X_AD_Table
public X_AD_Table(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevelin classPO- Returns:
- 4 - System
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setAccessLevel
public void setAccessLevel(String AccessLevel)
Set Data Access Level.- Specified by:
setAccessLevelin interfaceI_AD_Table- Parameters:
AccessLevel- Access Level required
-
getAccessLevel
public String getAccessLevel()
Get Data Access Level.- Specified by:
getAccessLevelin interfaceI_AD_Table- Returns:
- Access Level required
-
setAD_Table_ID
public void setAD_Table_ID(int AD_Table_ID)
Set Table.- Specified by:
setAD_Table_IDin interfaceI_AD_Table- Parameters:
AD_Table_ID- Database Table information
-
getAD_Table_ID
public int getAD_Table_ID()
Get Table.- Specified by:
getAD_Table_IDin interfaceI_AD_Table- Returns:
- Database Table information
-
setAD_Table_UU
public void setAD_Table_UU(String AD_Table_UU)
Set AD_Table_UU.- Specified by:
setAD_Table_UUin interfaceI_AD_Table- Parameters:
AD_Table_UU- AD_Table_UU
-
getAD_Table_UU
public String getAD_Table_UU()
Get AD_Table_UU.- Specified by:
getAD_Table_UUin interfaceI_AD_Table- Returns:
- AD_Table_UU
-
getAD_Val_Rule
public I_AD_Val_Rule getAD_Val_Rule() throws RuntimeException
- Specified by:
getAD_Val_Rulein interfaceI_AD_Table- Throws:
RuntimeException
-
setAD_Val_Rule_ID
public void setAD_Val_Rule_ID(int AD_Val_Rule_ID)
Set Dynamic Validation.- Specified by:
setAD_Val_Rule_IDin interfaceI_AD_Table- Parameters:
AD_Val_Rule_ID- Dynamic Validation Rule
-
getAD_Val_Rule_ID
public int getAD_Val_Rule_ID()
Get Dynamic Validation.- Specified by:
getAD_Val_Rule_IDin interfaceI_AD_Table- Returns:
- Dynamic Validation Rule
-
getAD_Window
public I_AD_Window getAD_Window() throws RuntimeException
- Specified by:
getAD_Windowin interfaceI_AD_Table- Throws:
RuntimeException
-
setAD_Window_ID
public void setAD_Window_ID(int AD_Window_ID)
Set Window.- Specified by:
setAD_Window_IDin interfaceI_AD_Table- Parameters:
AD_Window_ID- Data entry or display window
-
getAD_Window_ID
public int getAD_Window_ID()
Get Window.- Specified by:
getAD_Window_IDin interfaceI_AD_Table- Returns:
- Data entry or display window
-
setCopyColumnsFromTable
public void setCopyColumnsFromTable(String CopyColumnsFromTable)
Set Copy Columns From Table.- Specified by:
setCopyColumnsFromTablein interfaceI_AD_Table- Parameters:
CopyColumnsFromTable- Copy Columns From Table
-
getCopyColumnsFromTable
public String getCopyColumnsFromTable()
Get Copy Columns From Table.- Specified by:
getCopyColumnsFromTablein interfaceI_AD_Table- Returns:
- Copy Columns From Table
-
setCopyComponentsFromView
public void setCopyComponentsFromView(String CopyComponentsFromView)
Set Copy Components From View.- Specified by:
setCopyComponentsFromViewin interfaceI_AD_Table- Parameters:
CopyComponentsFromView- Copy Components From View
-
getCopyComponentsFromView
public String getCopyComponentsFromView()
Get Copy Components From View.- Specified by:
getCopyComponentsFromViewin interfaceI_AD_Table- Returns:
- Copy Components From View
-
setCreateWindowFromTable
public void setCreateWindowFromTable(String CreateWindowFromTable)
Set Create Window From Table.- Specified by:
setCreateWindowFromTablein interfaceI_AD_Table- Parameters:
CreateWindowFromTable- Create Window From Table
-
getCreateWindowFromTable
public String getCreateWindowFromTable()
Get Create Window From Table.- Specified by:
getCreateWindowFromTablein interfaceI_AD_Table- Returns:
- Create Window From Table
-
setDatabaseViewDrop
public void setDatabaseViewDrop(String DatabaseViewDrop)
Set Drop view.- Specified by:
setDatabaseViewDropin interfaceI_AD_Table- Parameters:
DatabaseViewDrop- Drop view
-
getDatabaseViewDrop
public String getDatabaseViewDrop()
Get Drop view.- Specified by:
getDatabaseViewDropin interfaceI_AD_Table- Returns:
- Drop view
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescriptionin interfaceI_AD_Table- Parameters:
Description- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescriptionin interfaceI_AD_Table- Returns:
- Optional short description of the record
-
setEntityType
public void setEntityType(String EntityType)
Set Entity Type.- Specified by:
setEntityTypein interfaceI_AD_Table- Parameters:
EntityType- Dictionary Entity Type; Determines ownership and synchronization
-
getEntityType
public String getEntityType()
Get Entity Type.- Specified by:
getEntityTypein interfaceI_AD_Table- Returns:
- Dictionary Entity Type; Determines ownership and synchronization
-
setHelp
public void setHelp(String Help)
Set Comment/Help.- Specified by:
setHelpin interfaceI_AD_Table- Parameters:
Help- Comment or Hint
-
getHelp
public String getHelp()
Get Comment/Help.- Specified by:
getHelpin interfaceI_AD_Table- Returns:
- Comment or Hint
-
setImportTable
public void setImportTable(String ImportTable)
Set Import Table.- Specified by:
setImportTablein interfaceI_AD_Table- Parameters:
ImportTable- Import Table Columns from Database
-
getImportTable
public String getImportTable()
Get Import Table.- Specified by:
getImportTablein interfaceI_AD_Table- Returns:
- Import Table Columns from Database
-
setIsCentrallyMaintained
public void setIsCentrallyMaintained(boolean IsCentrallyMaintained)
Set Centrally maintained.- Specified by:
setIsCentrallyMaintainedin interfaceI_AD_Table- Parameters:
IsCentrallyMaintained- Information maintained in System Element table
-
isCentrallyMaintained
public boolean isCentrallyMaintained()
Get Centrally maintained.- Specified by:
isCentrallyMaintainedin interfaceI_AD_Table- Returns:
- Information maintained in System Element table
-
setIsChangeLog
public void setIsChangeLog(boolean IsChangeLog)
Set Maintain Change Log.- Specified by:
setIsChangeLogin interfaceI_AD_Table- Parameters:
IsChangeLog- Maintain a log of changes
-
isChangeLog
public boolean isChangeLog()
Get Maintain Change Log.- Specified by:
isChangeLogin interfaceI_AD_Table- Returns:
- Maintain a log of changes
-
setIsDeleteable
public void setIsDeleteable(boolean IsDeleteable)
Set Records deletable.- Specified by:
setIsDeleteablein interfaceI_AD_Table- Parameters:
IsDeleteable- Indicates if records can be deleted from the database
-
isDeleteable
public boolean isDeleteable()
Get Records deletable.- Specified by:
isDeleteablein interfaceI_AD_Table- Returns:
- Indicates if records can be deleted from the database
-
setIsHighVolume
public void setIsHighVolume(boolean IsHighVolume)
Set High Volume.- Specified by:
setIsHighVolumein interfaceI_AD_Table- Parameters:
IsHighVolume- Use Search instead of Pick list
-
isHighVolume
public boolean isHighVolume()
Get High Volume.- Specified by:
isHighVolumein interfaceI_AD_Table- Returns:
- Use Search instead of Pick list
-
setIsSecurityEnabled
public void setIsSecurityEnabled(boolean IsSecurityEnabled)
Set Security enabled.- Specified by:
setIsSecurityEnabledin interfaceI_AD_Table- Parameters:
IsSecurityEnabled- If security is enabled, user access to data can be restricted via Roles
-
isSecurityEnabled
public boolean isSecurityEnabled()
Get Security enabled.- Specified by:
isSecurityEnabledin interfaceI_AD_Table- Returns:
- If security is enabled, user access to data can be restricted via Roles
-
setIsView
public void setIsView(boolean IsView)
Set View.- Specified by:
setIsViewin interfaceI_AD_Table- Parameters:
IsView- This is a view
-
isView
public boolean isView()
Get View.- Specified by:
isViewin interfaceI_AD_Table- Returns:
- This is a view
-
setLoadSeq
public void setLoadSeq(int LoadSeq)
Set Sequence.- Specified by:
setLoadSeqin interfaceI_AD_Table- Parameters:
LoadSeq- Sequence
-
getLoadSeq
public int getLoadSeq()
Get Sequence.- Specified by:
getLoadSeqin interfaceI_AD_Table- Returns:
- Sequence
-
setName
public void setName(String Name)
Set Name.- Specified by:
setNamein interfaceI_AD_Table- Parameters:
Name- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getNamein interfaceI_AD_Table- Returns:
- Alphanumeric identifier of the entity
-
getPO_Window
public I_AD_Window getPO_Window() throws RuntimeException
- Specified by:
getPO_Windowin interfaceI_AD_Table- Throws:
RuntimeException
-
setPO_Window_ID
public void setPO_Window_ID(int PO_Window_ID)
Set PO Window.- Specified by:
setPO_Window_IDin interfaceI_AD_Table- Parameters:
PO_Window_ID- Purchase Order Window
-
getPO_Window_ID
public int getPO_Window_ID()
Get PO Window.- Specified by:
getPO_Window_IDin interfaceI_AD_Table- Returns:
- Purchase Order Window
-
setProcessing
public void setProcessing(boolean Processing)
Set Process Now.- Specified by:
setProcessingin interfaceI_AD_Table- Parameters:
Processing- Process Now
-
isProcessing
public boolean isProcessing()
Get Process Now.- Specified by:
isProcessingin interfaceI_AD_Table- Returns:
- Process Now
-
setReplicationType
public void setReplicationType(String ReplicationType)
Set Replication Type.- Specified by:
setReplicationTypein interfaceI_AD_Table- Parameters:
ReplicationType- Type of Data Replication
-
getReplicationType
public String getReplicationType()
Get Replication Type.- Specified by:
getReplicationTypein interfaceI_AD_Table- Returns:
- Type of Data Replication
-
setTableName
public void setTableName(String TableName)
Set DB Table Name.- Specified by:
setTableNamein interfaceI_AD_Table- Parameters:
TableName- Name of the table in the database
-
getTableName
public String getTableName()
Get DB Table Name.- Specified by:
getTableNamein interfaceI_AD_Table- Returns:
- Name of the table in the database
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
-