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
Generated Model for AD_RelationType
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
EntityType AD_Reference_ID=389static final int
Role_Source AD_Reference_ID=53331static final String
Invoice = Invoicestatic final String
Order = Orderstatic final int
Role_Target AD_Reference_ID=53331static final String
Invoice = Invoicestatic final String
Order = Orderstatic final int
Type AD_Reference_ID=53332static final String
Explicit = Estatic final String
Implicit = IFields 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, UUID_NEW_RECORD, 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
ConstructorDescriptionX_AD_RelationType
(Properties ctx, int AD_RelationType_ID, String trxName) Standard ConstructorX_AD_RelationType
(Properties ctx, int AD_RelationType_ID, String trxName, String... virtualColumns) Standard ConstructorX_AD_RelationType
(Properties ctx, String AD_RelationType_UU, String trxName) Standard ConstructorX_AD_RelationType
(Properties ctx, String AD_RelationType_UU, String trxName, String... virtualColumns) Standard ConstructorX_AD_RelationType
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Source Reference.int
Get Target Reference.int
Get Relation Type.Get AD_RelationType_UU.Get Description.Get Entity Type.Get Record ID/ColumnNamegetName()
Get Name.Get Source Role.Get Target Role.getType()
Get Type.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
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
Set Name.void
setRole_Source
(String Role_Source) Set Source Role.void
setRole_Target
(String Role_Target) Set Target Role.void
Set Type.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, 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_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, 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, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, 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, toInsertSQL, 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 Details
-
ENTITYTYPE_AD_Reference_ID
public static final int ENTITYTYPE_AD_Reference_IDEntityType AD_Reference_ID=389- See Also:
-
ROLE_SOURCE_AD_Reference_ID
public static final int ROLE_SOURCE_AD_Reference_IDRole_Source AD_Reference_ID=53331- See Also:
-
ROLE_SOURCE_Invoice
Invoice = Invoice- See Also:
-
ROLE_SOURCE_Order
Order = Order- See Also:
-
ROLE_TARGET_AD_Reference_ID
public static final int ROLE_TARGET_AD_Reference_IDRole_Target AD_Reference_ID=53331- See Also:
-
ROLE_TARGET_Invoice
Invoice = Invoice- See Also:
-
ROLE_TARGET_Order
Order = Order- See Also:
-
TYPE_AD_Reference_ID
public static final int TYPE_AD_Reference_IDType AD_Reference_ID=53332- See Also:
-
TYPE_Explicit
Explicit = E- See Also:
-
TYPE_Implicit
Implicit = I- See Also:
-
-
Constructor Details
-
X_AD_RelationType
Standard Constructor -
X_AD_RelationType
public X_AD_RelationType(Properties ctx, int AD_RelationType_ID, String trxName, String... virtualColumns) Standard Constructor -
X_AD_RelationType
Standard Constructor -
X_AD_RelationType
public X_AD_RelationType(Properties ctx, String AD_RelationType_UU, String trxName, String... virtualColumns) Standard Constructor -
X_AD_RelationType
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 7 - System - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getAD_Reference_Source
- 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
- 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
Set AD_RelationType_UU.- Specified by:
setAD_RelationType_UU
in interfaceI_AD_RelationType
- Parameters:
AD_RelationType_UU
- AD_RelationType_UU
-
getAD_RelationType_UU
Get AD_RelationType_UU.- Specified by:
getAD_RelationType_UU
in interfaceI_AD_RelationType
- Returns:
- AD_RelationType_UU
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_AD_RelationType
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_AD_RelationType
- Returns:
- Optional short description of the record
-
setEntityType
Set Entity Type.- Specified by:
setEntityType
in interfaceI_AD_RelationType
- Parameters:
EntityType
- Dictionary Entity Type; Determines ownership and synchronization
-
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
Set Name.- Specified by:
setName
in interfaceI_AD_RelationType
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_AD_RelationType
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setRole_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
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
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
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
Set Type.- Specified by:
setType
in interfaceI_AD_RelationType
- Parameters:
Type
- Type of Validation (SQL, Java Script, Java Language)
-
getType
Get Type.- Specified by:
getType
in interfaceI_AD_RelationType
- Returns:
- Type of Validation (SQL, Java Script, Java Language)
-