Class PrintInfo


  • public class PrintInfo
    extends Object
    Print Info
    Version:
    $Id: PrintInfo.java,v 1.3 2006/07/30 00:58:37 jjanke Exp $
    Author:
    Jorg Janke
    • Constructor Detail

      • PrintInfo

        public PrintInfo​(ProcessInfo pi)
        Process Archive Info
        Parameters:
        pi - process info
      • PrintInfo

        public PrintInfo​(String Name,
                         int AD_Table_ID,
                         int Record_ID,
                         int C_BPartner_ID)
        Document Archive Info
        Parameters:
        Name - name
        AD_Table_ID - table
        Record_ID - record
        C_BPartner_ID - bpartner
      • PrintInfo

        public PrintInfo​(String Name,
                         int AD_Table_ID,
                         int Record_ID)
        Report Archive Info
        Parameters:
        Name - name
        AD_Table_ID - table
        Record_ID - record
    • Method Detail

      • isReport

        public boolean isReport()
        Is this a Report
        Returns:
        true if report
      • isDocument

        public boolean isDocument()
        Is this a Document
        Returns:
        true if BPartner defined
      • getCopies

        public int getCopies()
        Returns:
        Returns the copies.
      • setCopies

        public void setCopies​(int copies)
        Parameters:
        copies - The copies to set.
      • getPrinterName

        public String getPrinterName()
        Returns:
        Returns the printerName.
      • setPrinterName

        public void setPrinterName​(String printerName)
        Parameters:
        printerName - The printerName to set.
      • isWithDialog

        public boolean isWithDialog()
        Returns:
        Returns the withDialog.
      • setWithDialog

        public void setWithDialog​(boolean withDialog)
        Parameters:
        withDialog - The withDialog to set.
      • setDocumentCopy

        public void setDocumentCopy​(boolean isDocumentCopy)
        Parameters:
        isDocumentCopy - The isDocument to set.
      • isDocumentCopy

        public boolean isDocumentCopy()
        Document Copy
        Returns:
        true if copy
      • getAD_Process_ID

        public int getAD_Process_ID()
        Returns:
        Returns the aD_Process_ID.
      • setAD_Process_ID

        public void setAD_Process_ID​(int process_ID)
        Parameters:
        process_ID - The aD_Process_ID to set.
      • getAD_Table_ID

        public int getAD_Table_ID()
        Returns:
        Returns the aD_Table_ID.
      • setAD_Table_ID

        public void setAD_Table_ID​(int table_ID)
        Parameters:
        table_ID - The aD_Table_ID to set.
      • getC_BPartner_ID

        public int getC_BPartner_ID()
        Returns:
        Returns the c_BPartner_ID.
      • setC_BPartner_ID

        public void setC_BPartner_ID​(int partner_ID)
        Parameters:
        partner_ID - The c_BPartner_ID to set.
      • getDescription

        public String getDescription()
        Returns:
        Returns the description.
      • setDescription

        public void setDescription​(String description)
        Parameters:
        description - The description to set.
      • getHelp

        public String getHelp()
        Returns:
        Returns the help.
      • setHelp

        public void setHelp​(String help)
        Parameters:
        help - The help to set.
      • getName

        public String getName()
        Returns:
        Returns the name.
      • setName

        public void setName​(String name)
        Parameters:
        name - The name to set.
      • getRecord_ID

        public int getRecord_ID()
        Returns:
        Returns the record_ID.
      • setRecord_ID

        public void setRecord_ID​(int record_ID)
        Parameters:
        record_ID - The record_ID to set.
      • toString

        public String toString()
        String Representation
        Overrides:
        toString in class Object
        Returns:
        info