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 int
ACCESSLEVEL_AD_Reference_ID
AccessLevel AD_Reference_ID=5static String
ACCESSLEVEL_All
All = 7static String
ACCESSLEVEL_ClientOnly
Client only = 2static String
ACCESSLEVEL_ClientPlusOrganization
Client+Organization = 3static String
ACCESSLEVEL_Organization
Organization = 1static String
ACCESSLEVEL_SystemOnly
System only = 4static String
ACCESSLEVEL_SystemPlusClient
System+Client = 6static int
ENTITYTYPE_AD_Reference_ID
EntityType AD_Reference_ID=389static int
REPLICATIONTYPE_AD_Reference_ID
ReplicationType AD_Reference_ID=126static String
REPLICATIONTYPE_Broadcast
Broadcast = Bstatic String
REPLICATIONTYPE_Local
Local = Lstatic String
REPLICATIONTYPE_Merge
Merge = Mstatic String
REPLICATIONTYPE_Reference
Reference = 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 int
get_AccessLevel()
AccessLevelString
getAccessLevel()
Get Data Access Level.int
getAD_Table_ID()
Get Table.String
getAD_Table_UU()
Get AD_Table_UU.I_AD_Val_Rule
getAD_Val_Rule()
int
getAD_Val_Rule_ID()
Get Dynamic Validation.I_AD_Window
getAD_Window()
int
getAD_Window_ID()
Get Window.String
getCopyColumnsFromTable()
Get Copy Columns From Table.String
getCopyComponentsFromView()
Get Copy Components From View.String
getCreateWindowFromTable()
Get Create Window From Table.String
getDatabaseViewDrop()
Get Drop view.String
getDescription()
Get Description.String
getEntityType()
Get Entity Type.String
getHelp()
Get Comment/Help.String
getImportTable()
Get Import Table.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameint
getLoadSeq()
Get Sequence.String
getName()
Get Name.I_AD_Window
getPO_Window()
int
getPO_Window_ID()
Get PO Window.String
getReplicationType()
Get Replication Type.String
getTableName()
Get DB Table Name.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isCentrallyMaintained()
Get Centrally maintained.boolean
isChangeLog()
Get Maintain Change Log.boolean
isDeleteable()
Get Records deletable.boolean
isHighVolume()
Get High Volume.boolean
isProcessing()
Get Process Now.boolean
isSecurityEnabled()
Get Security enabled.boolean
isView()
Get View.void
setAccessLevel(String AccessLevel)
Set Data Access Level.void
setAD_Table_ID(int AD_Table_ID)
Set Table.void
setAD_Table_UU(String AD_Table_UU)
Set AD_Table_UU.void
setAD_Val_Rule_ID(int AD_Val_Rule_ID)
Set Dynamic Validation.void
setAD_Window_ID(int AD_Window_ID)
Set Window.void
setCopyColumnsFromTable(String CopyColumnsFromTable)
Set Copy Columns From Table.void
setCopyComponentsFromView(String CopyComponentsFromView)
Set Copy Components From View.void
setCreateWindowFromTable(String CreateWindowFromTable)
Set Create Window From Table.void
setDatabaseViewDrop(String DatabaseViewDrop)
Set Drop view.void
setDescription(String Description)
Set Description.void
setEntityType(String EntityType)
Set Entity Type.void
setHelp(String Help)
Set Comment/Help.void
setImportTable(String ImportTable)
Set Import Table.void
setIsCentrallyMaintained(boolean IsCentrallyMaintained)
Set Centrally maintained.void
setIsChangeLog(boolean IsChangeLog)
Set Maintain Change Log.void
setIsDeleteable(boolean IsDeleteable)
Set Records deletable.void
setIsHighVolume(boolean IsHighVolume)
Set High Volume.void
setIsSecurityEnabled(boolean IsSecurityEnabled)
Set Security enabled.void
setIsView(boolean IsView)
Set View.void
setLoadSeq(int LoadSeq)
Set Sequence.void
setName(String Name)
Set Name.void
setPO_Window_ID(int PO_Window_ID)
Set PO Window.void
setProcessing(boolean Processing)
Set Process Now.void
setReplicationType(String ReplicationType)
Set Replication Type.void
setTableName(String TableName)
Set DB Table Name.String
toString()
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_AccessLevel
in 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:
setAccessLevel
in interfaceI_AD_Table
- Parameters:
AccessLevel
- Access Level required
-
getAccessLevel
public String getAccessLevel()
Get Data Access Level.- Specified by:
getAccessLevel
in 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_ID
in interfaceI_AD_Table
- Parameters:
AD_Table_ID
- Database Table information
-
getAD_Table_ID
public int getAD_Table_ID()
Get Table.- Specified by:
getAD_Table_ID
in 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_UU
in 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_UU
in interfaceI_AD_Table
- Returns:
- AD_Table_UU
-
getAD_Val_Rule
public I_AD_Val_Rule getAD_Val_Rule() throws RuntimeException
- Specified by:
getAD_Val_Rule
in 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_ID
in 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_ID
in interfaceI_AD_Table
- Returns:
- Dynamic Validation Rule
-
getAD_Window
public I_AD_Window getAD_Window() throws RuntimeException
- Specified by:
getAD_Window
in interfaceI_AD_Table
- Throws:
RuntimeException
-
setAD_Window_ID
public void setAD_Window_ID(int AD_Window_ID)
Set Window.- Specified by:
setAD_Window_ID
in 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_ID
in interfaceI_AD_Table
- Returns:
- Data entry or display window
-
setCopyColumnsFromTable
public void setCopyColumnsFromTable(String CopyColumnsFromTable)
Set Copy Columns From Table.- Specified by:
setCopyColumnsFromTable
in interfaceI_AD_Table
- Parameters:
CopyColumnsFromTable
- Copy Columns From Table
-
getCopyColumnsFromTable
public String getCopyColumnsFromTable()
Get Copy Columns From Table.- Specified by:
getCopyColumnsFromTable
in interfaceI_AD_Table
- Returns:
- Copy Columns From Table
-
setCopyComponentsFromView
public void setCopyComponentsFromView(String CopyComponentsFromView)
Set Copy Components From View.- Specified by:
setCopyComponentsFromView
in interfaceI_AD_Table
- Parameters:
CopyComponentsFromView
- Copy Components From View
-
getCopyComponentsFromView
public String getCopyComponentsFromView()
Get Copy Components From View.- Specified by:
getCopyComponentsFromView
in interfaceI_AD_Table
- Returns:
- Copy Components From View
-
setCreateWindowFromTable
public void setCreateWindowFromTable(String CreateWindowFromTable)
Set Create Window From Table.- Specified by:
setCreateWindowFromTable
in interfaceI_AD_Table
- Parameters:
CreateWindowFromTable
- Create Window From Table
-
getCreateWindowFromTable
public String getCreateWindowFromTable()
Get Create Window From Table.- Specified by:
getCreateWindowFromTable
in interfaceI_AD_Table
- Returns:
- Create Window From Table
-
setDatabaseViewDrop
public void setDatabaseViewDrop(String DatabaseViewDrop)
Set Drop view.- Specified by:
setDatabaseViewDrop
in interfaceI_AD_Table
- Parameters:
DatabaseViewDrop
- Drop view
-
getDatabaseViewDrop
public String getDatabaseViewDrop()
Get Drop view.- Specified by:
getDatabaseViewDrop
in interfaceI_AD_Table
- Returns:
- Drop view
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_AD_Table
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_AD_Table
- Returns:
- Optional short description of the record
-
setEntityType
public void setEntityType(String EntityType)
Set Entity Type.- Specified by:
setEntityType
in interfaceI_AD_Table
- Parameters:
EntityType
- Dictionary Entity Type; Determines ownership and synchronization
-
getEntityType
public String getEntityType()
Get Entity Type.- Specified by:
getEntityType
in interfaceI_AD_Table
- Returns:
- Dictionary Entity Type; Determines ownership and synchronization
-
setHelp
public void setHelp(String Help)
Set Comment/Help.- Specified by:
setHelp
in interfaceI_AD_Table
- Parameters:
Help
- Comment or Hint
-
getHelp
public String getHelp()
Get Comment/Help.- Specified by:
getHelp
in interfaceI_AD_Table
- Returns:
- Comment or Hint
-
setImportTable
public void setImportTable(String ImportTable)
Set Import Table.- Specified by:
setImportTable
in interfaceI_AD_Table
- Parameters:
ImportTable
- Import Table Columns from Database
-
getImportTable
public String getImportTable()
Get Import Table.- Specified by:
getImportTable
in interfaceI_AD_Table
- Returns:
- Import Table Columns from Database
-
setIsCentrallyMaintained
public void setIsCentrallyMaintained(boolean IsCentrallyMaintained)
Set Centrally maintained.- Specified by:
setIsCentrallyMaintained
in interfaceI_AD_Table
- Parameters:
IsCentrallyMaintained
- Information maintained in System Element table
-
isCentrallyMaintained
public boolean isCentrallyMaintained()
Get Centrally maintained.- Specified by:
isCentrallyMaintained
in interfaceI_AD_Table
- Returns:
- Information maintained in System Element table
-
setIsChangeLog
public void setIsChangeLog(boolean IsChangeLog)
Set Maintain Change Log.- Specified by:
setIsChangeLog
in interfaceI_AD_Table
- Parameters:
IsChangeLog
- Maintain a log of changes
-
isChangeLog
public boolean isChangeLog()
Get Maintain Change Log.- Specified by:
isChangeLog
in interfaceI_AD_Table
- Returns:
- Maintain a log of changes
-
setIsDeleteable
public void setIsDeleteable(boolean IsDeleteable)
Set Records deletable.- Specified by:
setIsDeleteable
in interfaceI_AD_Table
- Parameters:
IsDeleteable
- Indicates if records can be deleted from the database
-
isDeleteable
public boolean isDeleteable()
Get Records deletable.- Specified by:
isDeleteable
in interfaceI_AD_Table
- Returns:
- Indicates if records can be deleted from the database
-
setIsHighVolume
public void setIsHighVolume(boolean IsHighVolume)
Set High Volume.- Specified by:
setIsHighVolume
in interfaceI_AD_Table
- Parameters:
IsHighVolume
- Use Search instead of Pick list
-
isHighVolume
public boolean isHighVolume()
Get High Volume.- Specified by:
isHighVolume
in interfaceI_AD_Table
- Returns:
- Use Search instead of Pick list
-
setIsSecurityEnabled
public void setIsSecurityEnabled(boolean IsSecurityEnabled)
Set Security enabled.- Specified by:
setIsSecurityEnabled
in 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:
isSecurityEnabled
in 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:
setIsView
in interfaceI_AD_Table
- Parameters:
IsView
- This is a view
-
isView
public boolean isView()
Get View.- Specified by:
isView
in interfaceI_AD_Table
- Returns:
- This is a view
-
setLoadSeq
public void setLoadSeq(int LoadSeq)
Set Sequence.- Specified by:
setLoadSeq
in interfaceI_AD_Table
- Parameters:
LoadSeq
- Sequence
-
getLoadSeq
public int getLoadSeq()
Get Sequence.- Specified by:
getLoadSeq
in interfaceI_AD_Table
- Returns:
- Sequence
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_AD_Table
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_AD_Table
- Returns:
- Alphanumeric identifier of the entity
-
getPO_Window
public I_AD_Window getPO_Window() throws RuntimeException
- Specified by:
getPO_Window
in interfaceI_AD_Table
- Throws:
RuntimeException
-
setPO_Window_ID
public void setPO_Window_ID(int PO_Window_ID)
Set PO Window.- Specified by:
setPO_Window_ID
in 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_ID
in interfaceI_AD_Table
- Returns:
- Purchase Order Window
-
setProcessing
public void setProcessing(boolean Processing)
Set Process Now.- Specified by:
setProcessing
in interfaceI_AD_Table
- Parameters:
Processing
- Process Now
-
isProcessing
public boolean isProcessing()
Get Process Now.- Specified by:
isProcessing
in interfaceI_AD_Table
- Returns:
- Process Now
-
setReplicationType
public void setReplicationType(String ReplicationType)
Set Replication Type.- Specified by:
setReplicationType
in interfaceI_AD_Table
- Parameters:
ReplicationType
- Type of Data Replication
-
getReplicationType
public String getReplicationType()
Get Replication Type.- Specified by:
getReplicationType
in interfaceI_AD_Table
- Returns:
- Type of Data Replication
-
setTableName
public void setTableName(String TableName)
Set DB Table Name.- Specified by:
setTableName
in interfaceI_AD_Table
- Parameters:
TableName
- Name of the table in the database
-
getTableName
public String getTableName()
Get DB Table Name.- Specified by:
getTableName
in interfaceI_AD_Table
- Returns:
- Name of the table in the database
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
-