Class MElement

    • Constructor Detail

      • MElement

        public MElement​(Properties ctx,
                        int C_Element_ID,
                        String trxName)
        Standard Constructor
        Parameters:
        ctx - context
        C_Element_ID - id
        trxName - transaction
      • MElement

        public MElement​(Properties ctx,
                        ResultSet rs,
                        String trxName)
        Load Constructor
        Parameters:
        ctx - context
        rs - result set
        trxName - transaction
      • MElement

        public MElement​(MClient client,
                        String Name,
                        String ElementType,
                        int AD_Tree_ID)
        Full Constructor
        Parameters:
        client - client
        Name - name
        ElementType - type
        AD_Tree_ID - tree
    • Method Detail

      • getTree

        public X_AD_Tree getTree()
        Get Tree
        Returns:
        tree
      • beforeSave

        protected boolean beforeSave​(boolean newRecord)
        Before Save
        Overrides:
        beforeSave in class PO
        Parameters:
        newRecord - new
        Returns:
        true