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 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Field Details

    • ENTITYTYPE_AD_Reference_ID

      public static final int ENTITYTYPE_AD_Reference_ID
      EntityType AD_Reference_ID=389
      See Also:
    • ROLE_SOURCE_AD_Reference_ID

      public static final int ROLE_SOURCE_AD_Reference_ID
      Role_Source AD_Reference_ID=53331
      See Also:
    • ROLE_SOURCE_Invoice

      public static final String ROLE_SOURCE_Invoice
      Invoice = Invoice
      See Also:
    • ROLE_SOURCE_Order

      public static final String ROLE_SOURCE_Order
      Order = Order
      See Also:
    • ROLE_TARGET_AD_Reference_ID

      public static final int ROLE_TARGET_AD_Reference_ID
      Role_Target AD_Reference_ID=53331
      See Also:
    • ROLE_TARGET_Invoice

      public static final String ROLE_TARGET_Invoice
      Invoice = Invoice
      See Also:
    • ROLE_TARGET_Order

      public static final String ROLE_TARGET_Order
      Order = Order
      See Also:
    • TYPE_AD_Reference_ID

      public static final int TYPE_AD_Reference_ID
      Type AD_Reference_ID=53332
      See Also:
    • TYPE_Explicit

      public static final String TYPE_Explicit
      Explicit = E
      See Also:
    • TYPE_Implicit

      public static final String TYPE_Implicit
      Implicit = I
      See Also:
  • Constructor Details

    • 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, int AD_RelationType_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_AD_RelationType

      public X_AD_RelationType(Properties ctx, String AD_RelationType_UU, String trxName)
      Standard Constructor
    • X_AD_RelationType

      public X_AD_RelationType(Properties ctx, String AD_RelationType_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_AD_RelationType

      public X_AD_RelationType(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
  • Method Details

    • get_AccessLevel

      protected int get_AccessLevel()
      AccessLevel
      Specified by:
      get_AccessLevel in class PO
      Returns:
      7 - System - Client - Org
    • 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_Reference_Source

      public I_AD_Reference getAD_Reference_Source() throws RuntimeException
      Specified by:
      getAD_Reference_Source in interface I_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 interface I_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 interface I_AD_RelationType
      Returns:
      Source Reference
    • getAD_Reference_Target

      public I_AD_Reference getAD_Reference_Target() throws RuntimeException
      Specified by:
      getAD_Reference_Target in interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_AD_RelationType
      Returns:
      AD_RelationType_UU
    • setDescription

      public void setDescription(String Description)
      Set Description.
      Specified by:
      setDescription in interface I_AD_RelationType
      Parameters:
      Description - Optional short description of the record
    • getDescription

      public String getDescription()
      Get Description.
      Specified by:
      getDescription in interface I_AD_RelationType
      Returns:
      Optional short description of the record
    • setEntityType

      public void setEntityType(String EntityType)
      Set Entity Type.
      Specified by:
      setEntityType in interface I_AD_RelationType
      Parameters:
      EntityType - Dictionary Entity Type; Determines ownership and synchronization
    • getEntityType

      public String getEntityType()
      Get Entity Type.
      Specified by:
      getEntityType in interface I_AD_RelationType
      Returns:
      Dictionary Entity Type; Determines ownership and synchronization
    • setIsDirected

      public void setIsDirected(boolean IsDirected)
      Set Directed.
      Specified by:
      setIsDirected in interface I_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 interface I_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 interface I_AD_RelationType
      Parameters:
      Name - Alphanumeric identifier of the entity
    • getName

      public String getName()
      Get Name.
      Specified by:
      getName in interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_AD_RelationType
      Parameters:
      Type - Type of Validation (SQL, Java Script, Java Language)
    • getType

      public String getType()
      Get Type.
      Specified by:
      getType in interface I_AD_RelationType
      Returns:
      Type of Validation (SQL, Java Script, Java Language)