Adempiere 3.5.2a

org.compiere.model
Class X_C_AcctSchema_Element

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_C_AcctSchema_Element
All Implemented Interfaces:
Serializable, Comparator, I_C_AcctSchema_Element, I_Persistent, Evaluatee
Direct Known Subclasses:
MAcctSchemaElement

public class X_C_AcctSchema_Element
extends PO
implements I_C_AcctSchema_Element, I_Persistent

Generated Model for C_AcctSchema_Element

Version:
Release 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static String ELEMENTTYPE_Account
          Account = AC
static String ELEMENTTYPE_Activity
          Activity = AY
static int ELEMENTTYPE_AD_Reference_ID
          ElementType AD_Reference_ID=181
static String ELEMENTTYPE_BPartner
          BPartner = BP
static String ELEMENTTYPE_Campaign
          Campaign = MC
static String ELEMENTTYPE_LocationFrom
          Location From = LF
static String ELEMENTTYPE_LocationTo
          Location To = LT
static String ELEMENTTYPE_Organization
          Organization = OO
static String ELEMENTTYPE_OrgTrx
          Org Trx = OT
static String ELEMENTTYPE_Product
          Product = PR
static String ELEMENTTYPE_Project
          Project = PJ
static String ELEMENTTYPE_SalesRegion
          Sales Region = SR
static String ELEMENTTYPE_SubAccount
          Sub Account = SA
static String ELEMENTTYPE_UserElement1
          User Element 1 = X1
static String ELEMENTTYPE_UserElement2
          User Element 2 = X2
static String ELEMENTTYPE_UserList1
          User List 1 = U1
static String ELEMENTTYPE_UserList2
          User List 2 = U2
static int ORG_ID_AD_Reference_ID
          Org_ID AD_Reference_ID=130
 
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_C_AcctSchema_Element
accessLevel, COLUMNNAME_AD_Column_ID, COLUMNNAME_C_AcctSchema_Element_ID, COLUMNNAME_C_AcctSchema_ID, COLUMNNAME_C_Activity_ID, COLUMNNAME_C_BPartner_ID, COLUMNNAME_C_Campaign_ID, COLUMNNAME_C_Element_ID, COLUMNNAME_C_ElementValue_ID, COLUMNNAME_C_Location_ID, COLUMNNAME_C_Project_ID, COLUMNNAME_C_SalesRegion_ID, COLUMNNAME_ElementType, COLUMNNAME_IsBalanced, COLUMNNAME_IsMandatory, COLUMNNAME_M_Product_ID, COLUMNNAME_Name, COLUMNNAME_Org_ID, COLUMNNAME_SeqNo, Model, Table_ID, Table_Name
 
Constructor Summary
X_C_AcctSchema_Element(Properties ctx, int C_AcctSchema_Element_ID, String trxName)
          Standard Constructor
X_C_AcctSchema_Element(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getAD_Column_ID()
          Get Column.
 I_AD_Column getAD_Column()
           
 int getC_AcctSchema_Element_ID()
          Get Acct.Schema Element.
 int getC_AcctSchema_ID()
          Get Accounting Schema.
 I_C_AcctSchema getC_AcctSchema()
           
 int getC_Activity_ID()
          Get Activity.
 I_C_Activity getC_Activity()
           
 int getC_BPartner_ID()
          Get Business Partner .
 I_C_BPartner getC_BPartner()
           
 int getC_Campaign_ID()
          Get Campaign.
 I_C_Campaign getC_Campaign()
           
 int getC_Element_ID()
          Get Element.
 I_C_Element getC_Element()
           
 int getC_ElementValue_ID()
          Get Account Element.
 I_C_ElementValue getC_ElementValue()
           
 int getC_Location_ID()
          Get Address.
 int getC_Project_ID()
          Get Project.
 I_C_Project getC_Project()
           
 int getC_SalesRegion_ID()
          Get Sales Region.
 I_C_SalesRegion getC_SalesRegion()
           
 String getElementType()
          Get Type.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getM_Product_ID()
          Get Product.
 I_M_Product getM_Product()
           
 String getName()
          Get Name.
 int getOrg_ID()
          Get Organization.
 int getSeqNo()
          Get Sequence.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isBalanced()
          Get Balanced.
 boolean isMandatory()
          Get Mandatory.
 void setAD_Column_ID(int AD_Column_ID)
          Set Column.
 void setC_AcctSchema_Element_ID(int C_AcctSchema_Element_ID)
          Set Acct.Schema Element.
 void setC_AcctSchema_ID(int C_AcctSchema_ID)
          Set Accounting Schema.
 void setC_Activity_ID(int C_Activity_ID)
          Set Activity.
 void setC_BPartner_ID(int C_BPartner_ID)
          Set Business Partner .
 void setC_Campaign_ID(int C_Campaign_ID)
          Set Campaign.
 void setC_Element_ID(int C_Element_ID)
          Set Element.
 void setC_ElementValue_ID(int C_ElementValue_ID)
          Set Account Element.
 void setC_Location_ID(int C_Location_ID)
          Set Address.
 void setC_Project_ID(int C_Project_ID)
          Set Project.
 void setC_SalesRegion_ID(int C_SalesRegion_ID)
          Set Sales Region.
 void setElementType(String ElementType)
          Set Type.
 void setIsBalanced(boolean IsBalanced)
          Set Balanced.
 void setIsMandatory(boolean IsMandatory)
          Set Mandatory.
 void setM_Product_ID(int M_Product_ID)
          Set Product.
 void setName(String Name)
          Set Name.
 void setOrg_ID(int Org_ID)
          Set Organization.
 void setSeqNo(int SeqNo)
          Set Sequence.
 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

ELEMENTTYPE_AD_Reference_ID

public static final int ELEMENTTYPE_AD_Reference_ID
ElementType AD_Reference_ID=181

See Also:
Constant Field Values

ELEMENTTYPE_Organization

public static final String ELEMENTTYPE_Organization
Organization = OO

See Also:
Constant Field Values

ELEMENTTYPE_Account

public static final String ELEMENTTYPE_Account
Account = AC

See Also:
Constant Field Values

ELEMENTTYPE_Product

public static final String ELEMENTTYPE_Product
Product = PR

See Also:
Constant Field Values

ELEMENTTYPE_BPartner

public static final String ELEMENTTYPE_BPartner
BPartner = BP

See Also:
Constant Field Values

ELEMENTTYPE_OrgTrx

public static final String ELEMENTTYPE_OrgTrx
Org Trx = OT

See Also:
Constant Field Values

ELEMENTTYPE_LocationFrom

public static final String ELEMENTTYPE_LocationFrom
Location From = LF

See Also:
Constant Field Values

ELEMENTTYPE_LocationTo

public static final String ELEMENTTYPE_LocationTo
Location To = LT

See Also:
Constant Field Values

ELEMENTTYPE_SalesRegion

public static final String ELEMENTTYPE_SalesRegion
Sales Region = SR

See Also:
Constant Field Values

ELEMENTTYPE_Project

public static final String ELEMENTTYPE_Project
Project = PJ

See Also:
Constant Field Values

ELEMENTTYPE_Campaign

public static final String ELEMENTTYPE_Campaign
Campaign = MC

See Also:
Constant Field Values

ELEMENTTYPE_UserList1

public static final String ELEMENTTYPE_UserList1
User List 1 = U1

See Also:
Constant Field Values

ELEMENTTYPE_UserList2

public static final String ELEMENTTYPE_UserList2
User List 2 = U2

See Also:
Constant Field Values

ELEMENTTYPE_Activity

public static final String ELEMENTTYPE_Activity
Activity = AY

See Also:
Constant Field Values

ELEMENTTYPE_SubAccount

public static final String ELEMENTTYPE_SubAccount
Sub Account = SA

See Also:
Constant Field Values

ELEMENTTYPE_UserElement1

public static final String ELEMENTTYPE_UserElement1
User Element 1 = X1

See Also:
Constant Field Values

ELEMENTTYPE_UserElement2

public static final String ELEMENTTYPE_UserElement2
User Element 2 = X2

See Also:
Constant Field Values

ORG_ID_AD_Reference_ID

public static final int ORG_ID_AD_Reference_ID
Org_ID AD_Reference_ID=130

See Also:
Constant Field Values
Constructor Detail

X_C_AcctSchema_Element

public X_C_AcctSchema_Element(Properties ctx,
                              int C_AcctSchema_Element_ID,
                              String trxName)
Standard Constructor


X_C_AcctSchema_Element

public X_C_AcctSchema_Element(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:
2 - Client

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

getAD_Column

public I_AD_Column getAD_Column()
                         throws Exception
Specified by:
getAD_Column in interface I_C_AcctSchema_Element
Throws:
Exception

setAD_Column_ID

public void setAD_Column_ID(int AD_Column_ID)
Set Column.

Specified by:
setAD_Column_ID in interface I_C_AcctSchema_Element
Parameters:
AD_Column_ID - Column in the table

getAD_Column_ID

public int getAD_Column_ID()
Get Column.

Specified by:
getAD_Column_ID in interface I_C_AcctSchema_Element
Returns:
Column in the table

setC_AcctSchema_Element_ID

public void setC_AcctSchema_Element_ID(int C_AcctSchema_Element_ID)
Set Acct.Schema Element.

Specified by:
setC_AcctSchema_Element_ID in interface I_C_AcctSchema_Element
Parameters:
C_AcctSchema_Element_ID - Acct.Schema Element

getC_AcctSchema_Element_ID

public int getC_AcctSchema_Element_ID()
Get Acct.Schema Element.

Specified by:
getC_AcctSchema_Element_ID in interface I_C_AcctSchema_Element
Returns:
Acct.Schema Element

getC_AcctSchema

public I_C_AcctSchema getC_AcctSchema()
                               throws Exception
Specified by:
getC_AcctSchema in interface I_C_AcctSchema_Element
Throws:
Exception

setC_AcctSchema_ID

public void setC_AcctSchema_ID(int C_AcctSchema_ID)
Set Accounting Schema.

Specified by:
setC_AcctSchema_ID in interface I_C_AcctSchema_Element
Parameters:
C_AcctSchema_ID - Rules for accounting

getC_AcctSchema_ID

public int getC_AcctSchema_ID()
Get Accounting Schema.

Specified by:
getC_AcctSchema_ID in interface I_C_AcctSchema_Element
Returns:
Rules for accounting

getC_Activity

public I_C_Activity getC_Activity()
                           throws Exception
Specified by:
getC_Activity in interface I_C_AcctSchema_Element
Throws:
Exception

setC_Activity_ID

public void setC_Activity_ID(int C_Activity_ID)
Set Activity.

Specified by:
setC_Activity_ID in interface I_C_AcctSchema_Element
Parameters:
C_Activity_ID - Business Activity

getC_Activity_ID

public int getC_Activity_ID()
Get Activity.

Specified by:
getC_Activity_ID in interface I_C_AcctSchema_Element
Returns:
Business Activity

getC_BPartner

public I_C_BPartner getC_BPartner()
                           throws Exception
Specified by:
getC_BPartner in interface I_C_AcctSchema_Element
Throws:
Exception

setC_BPartner_ID

public void setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner .

Specified by:
setC_BPartner_ID in interface I_C_AcctSchema_Element
Parameters:
C_BPartner_ID - Identifies a Business Partner

getC_BPartner_ID

public int getC_BPartner_ID()
Get Business Partner .

Specified by:
getC_BPartner_ID in interface I_C_AcctSchema_Element
Returns:
Identifies a Business Partner

getC_Campaign

public I_C_Campaign getC_Campaign()
                           throws Exception
Specified by:
getC_Campaign in interface I_C_AcctSchema_Element
Throws:
Exception

setC_Campaign_ID

public void setC_Campaign_ID(int C_Campaign_ID)
Set Campaign.

Specified by:
setC_Campaign_ID in interface I_C_AcctSchema_Element
Parameters:
C_Campaign_ID - Marketing Campaign

getC_Campaign_ID

public int getC_Campaign_ID()
Get Campaign.

Specified by:
getC_Campaign_ID in interface I_C_AcctSchema_Element
Returns:
Marketing Campaign

getC_Element

public I_C_Element getC_Element()
                         throws Exception
Specified by:
getC_Element in interface I_C_AcctSchema_Element
Throws:
Exception

setC_Element_ID

public void setC_Element_ID(int C_Element_ID)
Set Element.

Specified by:
setC_Element_ID in interface I_C_AcctSchema_Element
Parameters:
C_Element_ID - Accounting Element

getC_Element_ID

public int getC_Element_ID()
Get Element.

Specified by:
getC_Element_ID in interface I_C_AcctSchema_Element
Returns:
Accounting Element

getC_ElementValue

public I_C_ElementValue getC_ElementValue()
                                   throws Exception
Specified by:
getC_ElementValue in interface I_C_AcctSchema_Element
Throws:
Exception

setC_ElementValue_ID

public void setC_ElementValue_ID(int C_ElementValue_ID)
Set Account Element.

Specified by:
setC_ElementValue_ID in interface I_C_AcctSchema_Element
Parameters:
C_ElementValue_ID - Account Element

getC_ElementValue_ID

public int getC_ElementValue_ID()
Get Account Element.

Specified by:
getC_ElementValue_ID in interface I_C_AcctSchema_Element
Returns:
Account Element

setC_Location_ID

public void setC_Location_ID(int C_Location_ID)
Set Address.

Specified by:
setC_Location_ID in interface I_C_AcctSchema_Element
Parameters:
C_Location_ID - Location or Address

getC_Location_ID

public int getC_Location_ID()
Get Address.

Specified by:
getC_Location_ID in interface I_C_AcctSchema_Element
Returns:
Location or Address

getC_Project

public I_C_Project getC_Project()
                         throws Exception
Specified by:
getC_Project in interface I_C_AcctSchema_Element
Throws:
Exception

setC_Project_ID

public void setC_Project_ID(int C_Project_ID)
Set Project.

Specified by:
setC_Project_ID in interface I_C_AcctSchema_Element
Parameters:
C_Project_ID - Financial Project

getC_Project_ID

public int getC_Project_ID()
Get Project.

Specified by:
getC_Project_ID in interface I_C_AcctSchema_Element
Returns:
Financial Project

getC_SalesRegion

public I_C_SalesRegion getC_SalesRegion()
                                 throws Exception
Specified by:
getC_SalesRegion in interface I_C_AcctSchema_Element
Throws:
Exception

setC_SalesRegion_ID

public void setC_SalesRegion_ID(int C_SalesRegion_ID)
Set Sales Region.

Specified by:
setC_SalesRegion_ID in interface I_C_AcctSchema_Element
Parameters:
C_SalesRegion_ID - Sales coverage region

getC_SalesRegion_ID

public int getC_SalesRegion_ID()
Get Sales Region.

Specified by:
getC_SalesRegion_ID in interface I_C_AcctSchema_Element
Returns:
Sales coverage region

setElementType

public void setElementType(String ElementType)
Set Type.

Specified by:
setElementType in interface I_C_AcctSchema_Element
Parameters:
ElementType - Element Type (account or user defined)

getElementType

public String getElementType()
Get Type.

Specified by:
getElementType in interface I_C_AcctSchema_Element
Returns:
Element Type (account or user defined)

setIsBalanced

public void setIsBalanced(boolean IsBalanced)
Set Balanced.

Specified by:
setIsBalanced in interface I_C_AcctSchema_Element
Parameters:
IsBalanced - Balanced

isBalanced

public boolean isBalanced()
Get Balanced.

Specified by:
isBalanced in interface I_C_AcctSchema_Element
Returns:
Balanced

setIsMandatory

public void setIsMandatory(boolean IsMandatory)
Set Mandatory.

Specified by:
setIsMandatory in interface I_C_AcctSchema_Element
Parameters:
IsMandatory - Data entry is required in this column

isMandatory

public boolean isMandatory()
Get Mandatory.

Specified by:
isMandatory in interface I_C_AcctSchema_Element
Returns:
Data entry is required in this column

getM_Product

public I_M_Product getM_Product()
                         throws Exception
Specified by:
getM_Product in interface I_C_AcctSchema_Element
Throws:
Exception

setM_Product_ID

public void setM_Product_ID(int M_Product_ID)
Set Product.

Specified by:
setM_Product_ID in interface I_C_AcctSchema_Element
Parameters:
M_Product_ID - Product, Service, Item

getM_Product_ID

public int getM_Product_ID()
Get Product.

Specified by:
getM_Product_ID in interface I_C_AcctSchema_Element
Returns:
Product, Service, Item

setName

public void setName(String Name)
Set Name.

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

getName

public String getName()
Get Name.

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

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setOrg_ID

public void setOrg_ID(int Org_ID)
Set Organization.

Specified by:
setOrg_ID in interface I_C_AcctSchema_Element
Parameters:
Org_ID - Organizational entity within client

getOrg_ID

public int getOrg_ID()
Get Organization.

Specified by:
getOrg_ID in interface I_C_AcctSchema_Element
Returns:
Organizational entity within client

setSeqNo

public void setSeqNo(int SeqNo)
Set Sequence.

Specified by:
setSeqNo in interface I_C_AcctSchema_Element
Parameters:
SeqNo - Method of ordering records; lowest number comes first

getSeqNo

public int getSeqNo()
Get Sequence.

Specified by:
getSeqNo in interface I_C_AcctSchema_Element
Returns:
Method of ordering records; lowest number comes first

Adempiere 3.5.2a

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