Class X_AD_RelationType

    • Constructor Detail

      • X_AD_RelationType

        public X_AD_RelationType​(Properties ctx,
                                 int AD_RelationType_ID,
                                 String trxName)
        Standard Constructor
    • Method Detail

      • 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
      • 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
      • 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
      • 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
      • 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
      • setDescription

        public void setDescription​(String Description)
        Set Description.
        Specified by:
        setDescription in interface I_AD_RelationType
        Parameters:
        Description - 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
      • 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)