Compiere 3.1

org.compiere.model
Class X_AD_Table

java.lang.Object
  extended by org.compiere.framework.PO
      extended by org.compiere.model.X_AD_Table
All Implemented Interfaces:
Serializable, Cloneable, Comparator<PO>, Evaluatee
Direct Known Subclasses:
MTable

public class X_AD_Table
extends PO

Generated Model for AD_Table

Version:
Release 3.1.0 - $Id$
Author:
Jorg Janke (generated)
See Also:
Serialized Form

Field Summary
protected  BigDecimal accessLevel
           
static int ACCESSLEVEL_AD_Reference_ID
          AccessLevel AD_Reference_ID=5
static String ACCESSLEVEL_All
          All = 7
static String ACCESSLEVEL_Organization
          Organization = 1
static String ACCESSLEVEL_SystemOnly
          System only = 4
static String ACCESSLEVEL_SystemPlusTenant
          System+Tenant = 6
static String ACCESSLEVEL_TenantOnly
          Tenant only = 2
static String ACCESSLEVEL_TenantPlusOrganization
          Tenant+Organization = 3
static int BASE_TABLE_ID_AD_Reference_ID
          Base_Table_ID AD_Reference_ID=415
static int DATECOLUMN_ID_AD_Reference_ID
          DateColumn_ID AD_Reference_ID=448
static int ENTITYTYPE_AD_Reference_ID
          EntityType AD_Reference_ID=389
protected static KeyNamePair Model
           
static int PO_WINDOW_ID_AD_Reference_ID
          PO_Window_ID AD_Reference_ID=284
static int REFERENCED_TABLE_ID_AD_Reference_ID
          Referenced_Table_ID AD_Reference_ID=415
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
static int SUBTABLETYPE_AD_Reference_ID
          SubTableType AD_Reference_ID=447
static String SUBTABLETYPE_Delta_System
          Delta - System = S
static String SUBTABLETYPE_Delta_User
          Delta - User = U
static String SUBTABLETYPE_History_Daily
          History - Daily = D
static String SUBTABLETYPE_History_Each
          History - Each = E
static int Table_ID
          AD_Table_ID=100
static String Table_Name
          TableName=AD_Table
static long updatedMS
          Last Updated Timestamp 2008-07-07 11:39:45.0
 
Fields inherited from class org.compiere.framework.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Constructor Summary
X_AD_Table(Ctx ctx, int AD_Table_ID, String trxName)
          Standard Constructor
X_AD_Table(Ctx 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.
 int getAD_Window_ID()
          Get Window.
 int getBase_Table_ID()
          Get Base Table.
 String getConstraintName()
          Get Constraint Name.
 int getDateColumn_ID()
          Get Date Column.
 String getDescription()
          Get Description.
 String getEntityType()
          Get Entity Type.
 String getExportView()
          Get Export View.
 String getHelp()
          Get Comment.
 String getImportTable()
          Get Import Table.
 String getImportView()
          Get Import View.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getLoadSeq()
          Get Sequence.
 String getName()
          Get Name.
 int getPO_Window_ID()
          Get PO Window.
 int getReferenced_Table_ID()
          Get Referenced Table.
 String getReplicationType()
          Get Replication Type.
 String getSubTableType()
          Get Sub Table Type.
 String getTableName()
          Get DB Table Name.
protected  POInfo initPO(Ctx ctx)
          Load Meta Data
 boolean isAccessLevelValid(String test)
          Is test a valid value.
 boolean isChangeLog()
          Get Maintain Change Log.
 boolean isDeleteable()
          Get Records deletable.
 boolean isHighVolume()
          Get High Volume.
 boolean isReplicationTypeValid(String test)
          Is test a valid value.
 boolean isSecurityEnabled()
          Get Security enabled.
 boolean isSubTableTypeValid(String test)
          Is test a valid value.
 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 setBase_Table_ID(int Base_Table_ID)
          Set Base Table.
 void setConstraintName(String ConstraintName)
          Set Constraint Name.
 void setDateColumn_ID(int DateColumn_ID)
          Set Date Column.
 void setDescription(String Description)
          Set Description.
 void setEntityType(String EntityType)
          Set Entity Type.
 void setExportView(String ExportView)
          Set Export View.
 void setHelp(String Help)
          Set Comment.
 void setImportTable(String ImportTable)
          Set Import Table.
 void setImportView(String ImportView)
          Set Import View.
 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 setReferenced_Table_ID(int Referenced_Table_ID)
          Set Referenced Table.
 void setReplicationType(String ReplicationType)
          Set Replication Type.
 void setSubTableType(String SubTableType)
          Set Sub Table Type.
 void setTableName(String TableName)
          Set DB Table Name.
 String toString()
          Info
 
Methods inherited from class org.compiere.framework.PO
addAttachment, addAttachment, addError, afterDelete, afterSave, beforeDelete, beforeSave, compare, convertToBigDecimal, convertToBoolean, convertToInt, convertToTimestamp, copy, copyValues, copyValues, createAttachment, delete_Accounting, delete, delete, dump, dump, equals, get_ChangeVO, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_EntityType, get_HashMap, get_ID, get_IDOld, get_Info, get_KeyColumns, get_Logger, get_Table_ID, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_ValuesAsString, get_WhereClause, get_xmlDocument, get_xmlString, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getVO, hashCode, insert_Accounting, is_Changed, is_KeyColumn, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveNew_getID, saveNewInsertSQL, saveNewSpecial, saveUpdate, set_ChangeVO, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueString, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setContext, setCtx, setDocWorkflowMgr, setIsActive, setStandardDefaults, setUpdateable, setUpdatedBy, toStringX, unlock, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

updatedMS

public static final long updatedMS
Last Updated Timestamp 2008-07-07 11:39:45.0

See Also:
Constant Field Values

Table_ID

public static final int Table_ID
AD_Table_ID=100

See Also:
Constant Field Values

Table_Name

public static final String Table_Name
TableName=AD_Table

See Also:
Constant Field Values

Model

protected static KeyNamePair Model

accessLevel

protected BigDecimal accessLevel

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_TenantOnly

public static final String ACCESSLEVEL_TenantOnly
Tenant only = 2

See Also:
Constant Field Values

ACCESSLEVEL_TenantPlusOrganization

public static final String ACCESSLEVEL_TenantPlusOrganization
Tenant+Organization = 3

See Also:
Constant Field Values

ACCESSLEVEL_SystemOnly

public static final String ACCESSLEVEL_SystemOnly
System only = 4

See Also:
Constant Field Values

ACCESSLEVEL_SystemPlusTenant

public static final String ACCESSLEVEL_SystemPlusTenant
System+Tenant = 6

See Also:
Constant Field Values

ACCESSLEVEL_All

public static final String ACCESSLEVEL_All
All = 7

See Also:
Constant Field Values

BASE_TABLE_ID_AD_Reference_ID

public static final int BASE_TABLE_ID_AD_Reference_ID
Base_Table_ID AD_Reference_ID=415

See Also:
Constant Field Values

DATECOLUMN_ID_AD_Reference_ID

public static final int DATECOLUMN_ID_AD_Reference_ID
DateColumn_ID AD_Reference_ID=448

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

REFERENCED_TABLE_ID_AD_Reference_ID

public static final int REFERENCED_TABLE_ID_AD_Reference_ID
Referenced_Table_ID AD_Reference_ID=415

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

SUBTABLETYPE_AD_Reference_ID

public static final int SUBTABLETYPE_AD_Reference_ID
SubTableType AD_Reference_ID=447

See Also:
Constant Field Values

SUBTABLETYPE_History_Daily

public static final String SUBTABLETYPE_History_Daily
History - Daily = D

See Also:
Constant Field Values

SUBTABLETYPE_History_Each

public static final String SUBTABLETYPE_History_Each
History - Each = E

See Also:
Constant Field Values

SUBTABLETYPE_Delta_System

public static final String SUBTABLETYPE_Delta_System
Delta - System = S

See Also:
Constant Field Values

SUBTABLETYPE_Delta_User

public static final String SUBTABLETYPE_Delta_User
Delta - User = U

See Also:
Constant Field Values
Constructor Detail

X_AD_Table

public X_AD_Table(Ctx ctx,
                  int AD_Table_ID,
                  String trxName)
Standard Constructor

Parameters:
ctx - context
AD_Table_ID - id
trxName - transaction

X_AD_Table

public X_AD_Table(Ctx ctx,
                  ResultSet rs,
                  String trxName)
Load Constructor

Parameters:
ctx - context
rs - result set
trxName - transaction
Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

Specified by:
get_AccessLevel in class PO
Returns:
4 - System

initPO

protected POInfo initPO(Ctx ctx)
Load Meta Data

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

toString

public String toString()
Info

Overrides:
toString in class PO
Returns:
info

setAD_Table_ID

public void setAD_Table_ID(int AD_Table_ID)
Set Table.

Parameters:
AD_Table_ID - Database Table information

getAD_Table_ID

public int getAD_Table_ID()
Get Table.

Returns:
Database Table information

setAD_Val_Rule_ID

public void setAD_Val_Rule_ID(int AD_Val_Rule_ID)
Set Dynamic Validation.

Parameters:
AD_Val_Rule_ID - Dynamic Validation Rule

getAD_Val_Rule_ID

public int getAD_Val_Rule_ID()
Get Dynamic Validation.

Returns:
Dynamic Validation Rule

setAD_Window_ID

public void setAD_Window_ID(int AD_Window_ID)
Set Window.

Parameters:
AD_Window_ID - Data entry or display window

getAD_Window_ID

public int getAD_Window_ID()
Get Window.

Returns:
Data entry or display window

isAccessLevelValid

public boolean isAccessLevelValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setAccessLevel

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

Parameters:
AccessLevel - Access Level required

getAccessLevel

public String getAccessLevel()
Get Data Access Level.

Returns:
Access Level required

setBase_Table_ID

public void setBase_Table_ID(int Base_Table_ID)
Set Base Table.

Parameters:
Base_Table_ID - Base Table for Sub-Tables

getBase_Table_ID

public int getBase_Table_ID()
Get Base Table.

Returns:
Base Table for Sub-Tables

setConstraintName

public void setConstraintName(String ConstraintName)
Set Constraint Name.

Parameters:
ConstraintName - Constraint Name

getConstraintName

public String getConstraintName()
Get Constraint Name.

Returns:
Constraint Name

setDateColumn_ID

public void setDateColumn_ID(int DateColumn_ID)
Set Date Column.

Parameters:
DateColumn_ID - Date Column in the table

getDateColumn_ID

public int getDateColumn_ID()
Get Date Column.

Returns:
Date Column in the table

setDescription

public void setDescription(String Description)
Set Description.

Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Returns:
Optional short description of the record

setEntityType

public void setEntityType(String EntityType)
Set Entity Type.

Parameters:
EntityType - Dictionary Entity Type; Determines ownership and synchronization

getEntityType

public String getEntityType()
Get Entity Type.

Returns:
Dictionary Entity Type; Determines ownership and synchronization

setExportView

public void setExportView(String ExportView)
Set Export View.

Parameters:
ExportView - Create this view in the database

getExportView

public String getExportView()
Get Export View.

Returns:
Create this view in the database

setHelp

public void setHelp(String Help)
Set Comment.

Parameters:
Help - Comment, Help or Hint

getHelp

public String getHelp()
Get Comment.

Returns:
Comment, Help or Hint

setImportTable

public void setImportTable(String ImportTable)
Set Import Table.

Parameters:
ImportTable - Import Table Columns from Database

getImportTable

public String getImportTable()
Get Import Table.

Returns:
Import Table Columns from Database

setImportView

public void setImportView(String ImportView)
Set Import View.

Parameters:
ImportView - Import this view from a SQL file

getImportView

public String getImportView()
Get Import View.

Returns:
Import this view from a SQL file

setIsChangeLog

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

Parameters:
IsChangeLog - Maintain a log of changes

isChangeLog

public boolean isChangeLog()
Get Maintain Change Log.

Returns:
Maintain a log of changes

setIsDeleteable

public void setIsDeleteable(boolean IsDeleteable)
Set Records deletable.

Parameters:
IsDeleteable - Indicates if records can be deleted from the database

isDeleteable

public boolean isDeleteable()
Get Records deletable.

Returns:
Indicates if records can be deleted from the database

setIsHighVolume

public void setIsHighVolume(boolean IsHighVolume)
Set High Volume.

Parameters:
IsHighVolume - Use Search instead of Pick list

isHighVolume

public boolean isHighVolume()
Get High Volume.

Returns:
Use Search instead of Pick list

setIsSecurityEnabled

public void setIsSecurityEnabled(boolean IsSecurityEnabled)
Set Security enabled.

Parameters:
IsSecurityEnabled - If security is enabled, user access to data can be restricted via Roles

isSecurityEnabled

public boolean isSecurityEnabled()
Get Security enabled.

Returns:
If security is enabled, user access to data can be restricted via Roles

setIsView

public void setIsView(boolean IsView)
Set View.

Parameters:
IsView - This is a view

isView

public boolean isView()
Get View.

Returns:
This is a view

setLoadSeq

public void setLoadSeq(int LoadSeq)
Set Sequence.

Parameters:
LoadSeq - Sequence

getLoadSeq

public int getLoadSeq()
Get Sequence.

Returns:
Sequence

setName

public void setName(String Name)
Set Name.

Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Returns:
Alphanumeric identifier of the entity

setPO_Window_ID

public void setPO_Window_ID(int PO_Window_ID)
Set PO Window.

Parameters:
PO_Window_ID - Purchase Order Window

getPO_Window_ID

public int getPO_Window_ID()
Get PO Window.

Returns:
Purchase Order Window

setReferenced_Table_ID

public void setReferenced_Table_ID(int Referenced_Table_ID)
Set Referenced Table.

Parameters:
Referenced_Table_ID - Referenced Table

getReferenced_Table_ID

public int getReferenced_Table_ID()
Get Referenced Table.

Returns:
Referenced Table

isReplicationTypeValid

public boolean isReplicationTypeValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setReplicationType

public void setReplicationType(String ReplicationType)
Set Replication Type.

Parameters:
ReplicationType - Type of Data Replication

getReplicationType

public String getReplicationType()
Get Replication Type.

Returns:
Type of Data Replication

isSubTableTypeValid

public boolean isSubTableTypeValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setSubTableType

public void setSubTableType(String SubTableType)
Set Sub Table Type.

Parameters:
SubTableType - Type of Sub-Table

getSubTableType

public String getSubTableType()
Get Sub Table Type.

Returns:
Type of Sub-Table

setTableName

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

Parameters:
TableName - Name of the table in the database

getTableName

public String getTableName()
Get DB Table Name.

Returns:
Name of the table in the database

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.