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 13 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intEntityType AD_Reference_ID=389static final intRole_Source AD_Reference_ID=53331static final StringInvoice = Invoicestatic final StringOrder = Orderstatic final intRole_Target AD_Reference_ID=53331static final StringInvoice = Invoicestatic final StringOrder = Orderstatic final intType AD_Reference_ID=53332static final StringExplicit = Estatic final StringImplicit = 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, m_attachment, m_idOld, m_IDs, m_KeyColumns, m_optimisticLockingColumns, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_IDFields 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
ConstructorsConstructorDescriptionX_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 intAccessLevelDeprecated.intGet Source Reference.Deprecated.intGet Target Reference.intGet 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 POInfoinitPO(Properties ctx) Load Meta DatabooleanGet Directed.voidsetAD_Reference_Source_ID(int AD_Reference_Source_ID) Set Source Reference.voidsetAD_Reference_Target_ID(int AD_Reference_Target_ID) Set Target Reference.voidsetAD_RelationType_ID(int AD_RelationType_ID) Set Relation Type.voidsetAD_RelationType_UU(String AD_RelationType_UU) Set AD_RelationType_UU.voidsetDescription(String Description) Set Description.voidsetEntityType(String EntityType) Set Entity Type.voidsetIsDirected(boolean IsDirected) Set Directed.voidSet Name.voidsetRole_Source(String Role_Source) Set Source Role.voidsetRole_Target(String Role_Target) Set Target Role.voidSet Type.toString()String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterInsertWithValues, afterSave, beforeDelete, beforeSave, buildInsertSQL, buildInsertSQL, buildUpdateSQL, buildUUIDSubquery, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, doOrganizationCheckForSave, doVerificationForDelete, doVerificationForSave, dump, dump, equals, firePostDeleteEvent, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_deleteStatement, get_deleteTranslationsSQL, get_deleteTreeSQL, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_QueryTimeout, get_Table_ID, get_TableAttribute, get_TableAttributeAsBoolean, get_TableAttributeAsInt, get_TableAttributes, 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_ColumnLoaded, is_hasCustomTree, is_Immutable, is_new, is_Partial, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isCrossTenantSafe, isLogSQLScript, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lobSave, lock, makeImmutable, postDelete, resetStateAfterDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, saveEx, saveEx, saveFinish, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnLoaded, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_DocumentNoForNewRecord, set_IDForNewRecord, set_OptimisticLockingColumns, set_Partial, set_QueryTimeout, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_UUIDForNewRecord, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueForNewRecord, 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, setupDeleteActionsForTransactionEvent, toInsertSQL, unlock, update_Tree, validForeignKeys, validForeignKeysExMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.compiere.model.I_AD_RelationType
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActiveMethods 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_AccessLevelin classPO- Returns:
- 7 - System - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:POString representation -
getAD_Reference_Source
Deprecated.- Specified by:
getAD_Reference_Sourcein 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_IDin 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_IDin interfaceI_AD_RelationType- Returns:
- Source Reference
-
getAD_Reference_Target
Deprecated.- Specified by:
getAD_Reference_Targetin 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_IDin 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_IDin 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_IDin interfaceI_AD_RelationType- Parameters:
AD_RelationType_ID- Relation Type
-
getAD_RelationType_ID
public int getAD_RelationType_ID()Get Relation Type.- Specified by:
getAD_RelationType_IDin interfaceI_AD_RelationType- Returns:
- Relation Type
-
setAD_RelationType_UU
Set AD_RelationType_UU.- Specified by:
setAD_RelationType_UUin interfaceI_AD_RelationType- Parameters:
AD_RelationType_UU- AD_RelationType_UU
-
getAD_RelationType_UU
Get AD_RelationType_UU.- Specified by:
getAD_RelationType_UUin interfaceI_AD_RelationType- Returns:
- AD_RelationType_UU
-
setDescription
Set Description.- Specified by:
setDescriptionin interfaceI_AD_RelationType- Parameters:
Description- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescriptionin interfaceI_AD_RelationType- Returns:
- Optional short description of the record
-
setEntityType
Set Entity Type.- Specified by:
setEntityTypein interfaceI_AD_RelationType- Parameters:
EntityType- Dictionary Entity Type; Determines ownership and synchronization
-
getEntityType
Get Entity Type.- Specified by:
getEntityTypein interfaceI_AD_RelationType- Returns:
- Dictionary Entity Type; Determines ownership and synchronization
-
setIsDirected
public void setIsDirected(boolean IsDirected) Set Directed.- Specified by:
setIsDirectedin 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:
isDirectedin 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:
setNamein interfaceI_AD_RelationType- Parameters:
Name- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getNamein 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_Sourcein 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_Sourcein 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_Targetin 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_Targetin 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:
setTypein interfaceI_AD_RelationType- Parameters:
Type- Type of Validation (SQL, Java Script, Java Language)
-
getType
Get Type.- Specified by:
getTypein interfaceI_AD_RelationType- Returns:
- Type of Validation (SQL, Java Script, Java Language)
-