Package org.compiere.model
Class X_AD_RelationType
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_AD_RelationType
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_RelationType
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MRelationType
public class X_AD_RelationType extends PO implements I_AD_RelationType, I_Persistent
Generated Model for AD_RelationType- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
ENTITYTYPE_AD_Reference_ID
EntityType AD_Reference_ID=389static int
ROLE_SOURCE_AD_Reference_ID
Role_Source AD_Reference_ID=53331static String
ROLE_SOURCE_Invoice
Invoice = Invoicestatic String
ROLE_SOURCE_Order
Order = Orderstatic int
ROLE_TARGET_AD_Reference_ID
Role_Target AD_Reference_ID=53331static String
ROLE_TARGET_Invoice
Invoice = Invoicestatic String
ROLE_TARGET_Order
Order = Orderstatic int
TYPE_AD_Reference_ID
Type AD_Reference_ID=53332static String
TYPE_Explicit
Explicit = Estatic String
TYPE_Implicit
Implicit = I-
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_RelationType
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_Reference_Source_ID, COLUMNNAME_AD_Reference_Target_ID, COLUMNNAME_AD_RelationType_ID, COLUMNNAME_AD_RelationType_UU, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_EntityType, COLUMNNAME_IsActive, COLUMNNAME_IsDirected, COLUMNNAME_Name, COLUMNNAME_Role_Source, COLUMNNAME_Role_Target, COLUMNNAME_Type, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_AD_RelationType(Properties ctx, int AD_RelationType_ID, String trxName)
Standard ConstructorX_AD_RelationType(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()
AccessLevelI_AD_Reference
getAD_Reference_Source()
int
getAD_Reference_Source_ID()
Get Source Reference.I_AD_Reference
getAD_Reference_Target()
int
getAD_Reference_Target_ID()
Get Target Reference.int
getAD_RelationType_ID()
Get Relation Type.String
getAD_RelationType_UU()
Get AD_RelationType_UU.String
getDescription()
Get Description.String
getEntityType()
Get Entity Type.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getName()
Get Name.String
getRole_Source()
Get Source Role.String
getRole_Target()
Get Target Role.String
getType()
Get Type.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isDirected()
Get Directed.void
setAD_Reference_Source_ID(int AD_Reference_Source_ID)
Set Source Reference.void
setAD_Reference_Target_ID(int AD_Reference_Target_ID)
Set Target Reference.void
setAD_RelationType_ID(int AD_RelationType_ID)
Set Relation Type.void
setAD_RelationType_UU(String AD_RelationType_UU)
Set AD_RelationType_UU.void
setDescription(String Description)
Set Description.void
setEntityType(String EntityType)
Set Entity Type.void
setIsDirected(boolean IsDirected)
Set Directed.void
setName(String Name)
Set Name.void
setRole_Source(String Role_Source)
Set Source Role.void
setRole_Target(String Role_Target)
Set Target Role.void
setType(String Type)
Set Type.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_RelationType
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
-
ENTITYTYPE_AD_Reference_ID
public static final int ENTITYTYPE_AD_Reference_ID
EntityType AD_Reference_ID=389- See Also:
- Constant Field Values
-
ROLE_SOURCE_AD_Reference_ID
public static final int ROLE_SOURCE_AD_Reference_ID
Role_Source AD_Reference_ID=53331- See Also:
- Constant Field Values
-
ROLE_SOURCE_Invoice
public static final String ROLE_SOURCE_Invoice
Invoice = Invoice- See Also:
- Constant Field Values
-
ROLE_SOURCE_Order
public static final String ROLE_SOURCE_Order
Order = Order- See Also:
- Constant Field Values
-
ROLE_TARGET_AD_Reference_ID
public static final int ROLE_TARGET_AD_Reference_ID
Role_Target AD_Reference_ID=53331- See Also:
- Constant Field Values
-
ROLE_TARGET_Invoice
public static final String ROLE_TARGET_Invoice
Invoice = Invoice- See Also:
- Constant Field Values
-
ROLE_TARGET_Order
public static final String ROLE_TARGET_Order
Order = Order- See Also:
- Constant Field Values
-
TYPE_AD_Reference_ID
public static final int TYPE_AD_Reference_ID
Type AD_Reference_ID=53332- See Also:
- Constant Field Values
-
TYPE_Explicit
public static final String TYPE_Explicit
Explicit = E- See Also:
- Constant Field Values
-
TYPE_Implicit
public static final String TYPE_Implicit
Implicit = I- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_AD_RelationType
public X_AD_RelationType(Properties ctx, int AD_RelationType_ID, String trxName)
Standard Constructor
-
X_AD_RelationType
public X_AD_RelationType(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 7 - System - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getAD_Reference_Source
public I_AD_Reference getAD_Reference_Source() throws RuntimeException
- Specified by:
getAD_Reference_Source
in interfaceI_AD_RelationType
- Throws:
RuntimeException
-
setAD_Reference_Source_ID
public void setAD_Reference_Source_ID(int AD_Reference_Source_ID)
Set Source Reference.- Specified by:
setAD_Reference_Source_ID
in interfaceI_AD_RelationType
- Parameters:
AD_Reference_Source_ID
- Source Reference
-
getAD_Reference_Source_ID
public int getAD_Reference_Source_ID()
Get Source Reference.- Specified by:
getAD_Reference_Source_ID
in interfaceI_AD_RelationType
- Returns:
- Source Reference
-
getAD_Reference_Target
public I_AD_Reference getAD_Reference_Target() throws RuntimeException
- Specified by:
getAD_Reference_Target
in interfaceI_AD_RelationType
- Throws:
RuntimeException
-
setAD_Reference_Target_ID
public void setAD_Reference_Target_ID(int AD_Reference_Target_ID)
Set Target Reference.- Specified by:
setAD_Reference_Target_ID
in interfaceI_AD_RelationType
- Parameters:
AD_Reference_Target_ID
- Target Reference
-
getAD_Reference_Target_ID
public int getAD_Reference_Target_ID()
Get Target Reference.- Specified by:
getAD_Reference_Target_ID
in interfaceI_AD_RelationType
- Returns:
- Target Reference
-
setAD_RelationType_ID
public void setAD_RelationType_ID(int AD_RelationType_ID)
Set Relation Type.- Specified by:
setAD_RelationType_ID
in interfaceI_AD_RelationType
- Parameters:
AD_RelationType_ID
- Relation Type
-
getAD_RelationType_ID
public int getAD_RelationType_ID()
Get Relation Type.- Specified by:
getAD_RelationType_ID
in interfaceI_AD_RelationType
- Returns:
- Relation Type
-
setAD_RelationType_UU
public void setAD_RelationType_UU(String AD_RelationType_UU)
Set AD_RelationType_UU.- Specified by:
setAD_RelationType_UU
in interfaceI_AD_RelationType
- Parameters:
AD_RelationType_UU
- AD_RelationType_UU
-
getAD_RelationType_UU
public String getAD_RelationType_UU()
Get AD_RelationType_UU.- Specified by:
getAD_RelationType_UU
in interfaceI_AD_RelationType
- Returns:
- AD_RelationType_UU
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_AD_RelationType
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_AD_RelationType
- Returns:
- Optional short description of the record
-
setEntityType
public void setEntityType(String EntityType)
Set Entity Type.- Specified by:
setEntityType
in interfaceI_AD_RelationType
- Parameters:
EntityType
- Dictionary Entity Type; Determines ownership and synchronization
-
getEntityType
public String getEntityType()
Get Entity Type.- Specified by:
getEntityType
in interfaceI_AD_RelationType
- Returns:
- Dictionary Entity Type; Determines ownership and synchronization
-
setIsDirected
public void setIsDirected(boolean IsDirected)
Set Directed.- Specified by:
setIsDirected
in interfaceI_AD_RelationType
- Parameters:
IsDirected
- Tells whether one "sees" the other end of the relation from each end or just from the source
-
isDirected
public boolean isDirected()
Get Directed.- Specified by:
isDirected
in interfaceI_AD_RelationType
- Returns:
- Tells whether one "sees" the other end of the relation from each end or just from the source
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_AD_RelationType
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_AD_RelationType
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setRole_Source
public void setRole_Source(String Role_Source)
Set Source Role.- Specified by:
setRole_Source
in interfaceI_AD_RelationType
- Parameters:
Role_Source
- If set, this role will be used as label for the zoom destination instead of the destinations's window name
-
getRole_Source
public String getRole_Source()
Get Source Role.- Specified by:
getRole_Source
in interfaceI_AD_RelationType
- Returns:
- If set, this role will be used as label for the zoom destination instead of the destinations's window name
-
setRole_Target
public void setRole_Target(String Role_Target)
Set Target Role.- Specified by:
setRole_Target
in interfaceI_AD_RelationType
- Parameters:
Role_Target
- If set, this role will be used as label for the zoom destination instead of the destinations's window name
-
getRole_Target
public String getRole_Target()
Get Target Role.- Specified by:
getRole_Target
in interfaceI_AD_RelationType
- Returns:
- If set, this role will be used as label for the zoom destination instead of the destinations's window name
-
setType
public void setType(String Type)
Set Type.- Specified by:
setType
in interfaceI_AD_RelationType
- Parameters:
Type
- Type of Validation (SQL, Java Script, Java Language)
-
getType
public String getType()
Get Type.- Specified by:
getType
in interfaceI_AD_RelationType
- Returns:
- Type of Validation (SQL, Java Script, Java Language)
-
-