Class AbstractPaper

    • Constructor Detail

      • AbstractPaper

        public AbstractPaper​(String name,
                             String desc,
                             String identifier)
        Creates a new paper.
        Parameters:
        name - the name of the paper
        desc - the description of the paper
        identifier - the identifier
    • Method Detail

      • asSheetPaper

        public SheetPaper asSheetPaper()
        Description copied from interface: Paper
        Returns this Paper as a SheetPaper
        Specified by:
        asSheetPaper in interface Paper
        Returns:
        returns the SheetPaper
      • asTractorPaper

        public TractorPaper asTractorPaper()
        Description copied from interface: Paper
        Returns this Paper as a TractorPaper
        Specified by:
        asTractorPaper in interface Paper
        Returns:
        returns the TractorPaper
      • asRollPaper

        public RollPaper asRollPaper()
        Description copied from interface: Paper
        Returns this Paper as a RollPaper
        Specified by:
        asRollPaper in interface Paper
        Returns:
        returns the RollPaper