Adempiere 3.5.2a

org.compiere.model
Class X_AD_Table

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_AD_Table
All Implemented Interfaces:
Serializable, Comparator, 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 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int ACCESSLEVEL_AD_Reference_ID
          AccessLevel AD_Reference_ID=5
static String ACCESSLEVEL_All
          All = 7
static String ACCESSLEVEL_ClientOnly
          Client only = 2
static String ACCESSLEVEL_ClientPlusOrganization
          Client+Organization = 3
static String ACCESSLEVEL_Organization
          Organization = 1
static String ACCESSLEVEL_SystemOnly
          System only = 4
static String ACCESSLEVEL_SystemPlusClient
          System+Client = 6
static int ENTITYTYPE_AD_Reference_ID
          EntityType AD_Reference_ID=389
static int PO_WINDOW_ID_AD_Reference_ID
          PO_Window_ID AD_Reference_ID=284
static int REPLICATIONTYPE_AD_Reference_ID
          ReplicationType AD_Reference_ID=126
static String REPLICATIONTYPE_Local
          Local = L
static String REPLICATIONTYPE_Merge
          Merge = M
static 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, 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_Table_ID, COLUMNNAME_AD_Val_Rule_ID, COLUMNNAME_AD_Window_ID, COLUMNNAME_CopyColumnsFromTable, COLUMNNAME_Description, COLUMNNAME_EntityType, COLUMNNAME_Help, COLUMNNAME_ImportTable, COLUMNNAME_IsChangeLog, COLUMNNAME_IsDeleteable, COLUMNNAME_IsHighVolume, COLUMNNAME_IsSecurityEnabled, COLUMNNAME_IsView, COLUMNNAME_LoadSeq, COLUMNNAME_Name, COLUMNNAME_PO_Window_ID, COLUMNNAME_ReplicationType, COLUMNNAME_TableName, Model, Table_ID, Table_Name
 
Constructor Summary
X_AD_Table(Properties ctx, int AD_Table_ID, String trxName)
          Standard Constructor
X_AD_Table(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 String getAccessLevel()
          Get Data Access Level.
 int getAD_Table_ID()
          Get Table.
 int getAD_Val_Rule_ID()
          Get Dynamic Validation.
 I_AD_Val_Rule getAD_Val_Rule()
           
 int getAD_Window_ID()
          Get Window.
 I_AD_Window getAD_Window()
           
 String getCopyColumnsFromTable()
          Get Copy Columns From Table.
 String getDescription()
          Get Description.
 String getEntityType()
          Get Entity Type.
 String getHelp()
          Get Comment/Help.
 String getImportTable()
          Get Import Table.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getLoadSeq()
          Get Sequence.
 String getName()
          Get Name.
 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 Data
 boolean isChangeLog()
          Get Maintain Change Log.
 boolean isDeleteable()
          Get Records deleteable.
 boolean isHighVolume()
          Get High Volume.
 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_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 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 setIsChangeLog(boolean IsChangeLog)
          Set Maintain Change Log.
 void setIsDeleteable(boolean IsDeleteable)
          Set Records deleteable.
 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 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, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, 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_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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_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_All

public static final String ACCESSLEVEL_All
All = 7

See Also:
Constant Field Values

ACCESSLEVEL_SystemPlusClient

public static final String ACCESSLEVEL_SystemPlusClient
System+Client = 6

See Also:
Constant Field Values

ACCESSLEVEL_ClientOnly

public static final String ACCESSLEVEL_ClientOnly
Client only = 2

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

PO_WINDOW_ID_AD_Reference_ID

public static final int PO_WINDOW_ID_AD_Reference_ID
PO_Window_ID AD_Reference_ID=284

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_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 class PO
Returns:
4 - System

initPO

protected POInfo initPO(Properties ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
POInfo

toString

public String toString()
Description copied from class: PO
String representation

Overrides:
toString in class PO
Returns:
String representation

setAccessLevel

public void setAccessLevel(String AccessLevel)
Set Data Access Level.

Specified by:
setAccessLevel in interface I_AD_Table
Parameters:
AccessLevel - Access Level required

getAccessLevel

public String getAccessLevel()
Get Data Access Level.

Specified by:
getAccessLevel in interface I_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 interface I_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 interface I_AD_Table
Returns:
Database Table information

getAD_Val_Rule

public I_AD_Val_Rule getAD_Val_Rule()
                             throws Exception
Specified by:
getAD_Val_Rule in interface I_AD_Table
Throws:
Exception

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 interface I_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 interface I_AD_Table
Returns:
Dynamic Validation Rule

getAD_Window

public I_AD_Window getAD_Window()
                         throws Exception
Specified by:
getAD_Window in interface I_AD_Table
Throws:
Exception

setAD_Window_ID

public void setAD_Window_ID(int AD_Window_ID)
Set Window.

Specified by:
setAD_Window_ID in interface I_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 interface I_AD_Table
Returns:
Data entry or display window

setCopyColumnsFromTable

public void setCopyColumnsFromTable(String CopyColumnsFromTable)
Set Copy Columns From Table.

Specified by:
setCopyColumnsFromTable in interface I_AD_Table
Parameters:
CopyColumnsFromTable - Copy Columns From Table

getCopyColumnsFromTable

public String getCopyColumnsFromTable()
Get Copy Columns From Table.

Specified by:
getCopyColumnsFromTable in interface I_AD_Table
Returns:
Copy Columns From Table

setDescription

public void setDescription(String Description)
Set Description.

Specified by:
setDescription in interface I_AD_Table
Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Specified by:
getDescription in interface I_AD_Table
Returns:
Optional short description of the record

setEntityType

public void setEntityType(String EntityType)
Set Entity Type.

Specified by:
setEntityType in interface I_AD_Table
Parameters:
EntityType - Dictionary Entity Type; Determines ownership and synchronization

getEntityType

public String getEntityType()
Get Entity Type.

Specified by:
getEntityType in interface I_AD_Table
Returns:
Dictionary Entity Type; Determines ownership and synchronization

setHelp

public void setHelp(String Help)
Set Comment/Help.

Specified by:
setHelp in interface I_AD_Table
Parameters:
Help - Comment or Hint

getHelp

public String getHelp()
Get Comment/Help.

Specified by:
getHelp in interface I_AD_Table
Returns:
Comment or Hint

setImportTable

public void setImportTable(String ImportTable)
Set Import Table.

Specified by:
setImportTable in interface I_AD_Table
Parameters:
ImportTable - Import Table Columns from Database

getImportTable

public String getImportTable()
Get Import Table.

Specified by:
getImportTable in interface I_AD_Table
Returns:
Import Table Columns from Database

setIsChangeLog

public void setIsChangeLog(boolean IsChangeLog)
Set Maintain Change Log.

Specified by:
setIsChangeLog in interface I_AD_Table
Parameters:
IsChangeLog - Maintain a log of changes

isChangeLog

public boolean isChangeLog()
Get Maintain Change Log.

Specified by:
isChangeLog in interface I_AD_Table
Returns:
Maintain a log of changes

setIsDeleteable

public void setIsDeleteable(boolean IsDeleteable)
Set Records deleteable.

Specified by:
setIsDeleteable in interface I_AD_Table
Parameters:
IsDeleteable - Indicates if records can be deleted from the database

isDeleteable

public boolean isDeleteable()
Get Records deleteable.

Specified by:
isDeleteable in interface I_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 interface I_AD_Table
Parameters:
IsHighVolume - Use Search instead of Pick list

isHighVolume

public boolean isHighVolume()
Get High Volume.

Specified by:
isHighVolume in interface I_AD_Table
Returns:
Use Search instead of Pick list

setIsSecurityEnabled

public void setIsSecurityEnabled(boolean IsSecurityEnabled)
Set Security enabled.

Specified by:
setIsSecurityEnabled in interface I_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 interface I_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 interface I_AD_Table
Parameters:
IsView - This is a view

isView

public boolean isView()
Get View.

Specified by:
isView in interface I_AD_Table
Returns:
This is a view

setLoadSeq

public void setLoadSeq(int LoadSeq)
Set Sequence.

Specified by:
setLoadSeq in interface I_AD_Table
Parameters:
LoadSeq - Sequence

getLoadSeq

public int getLoadSeq()
Get Sequence.

Specified by:
getLoadSeq in interface I_AD_Table
Returns:
Sequence

setName

public void setName(String Name)
Set Name.

Specified by:
setName in interface I_AD_Table
Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Specified by:
getName in interface I_AD_Table
Returns:
Alphanumeric identifier of the entity

setPO_Window_ID

public void setPO_Window_ID(int PO_Window_ID)
Set PO Window.

Specified by:
setPO_Window_ID in interface I_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 interface I_AD_Table
Returns:
Purchase Order Window

setReplicationType

public void setReplicationType(String ReplicationType)
Set Replication Type.

Specified by:
setReplicationType in interface I_AD_Table
Parameters:
ReplicationType - Type of Data Replication

getReplicationType

public String getReplicationType()
Get Replication Type.

Specified by:
getReplicationType in interface I_AD_Table
Returns:
Type of Data Replication

setTableName

public void setTableName(String TableName)
Set DB Table Name.

Specified by:
setTableName in interface I_AD_Table
Parameters:
TableName - Name of the table in the database

getTableName

public String getTableName()
Get DB Table Name.

Specified by:
getTableName in interface I_AD_Table
Returns:
Name of the table in the database

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.