Class Printer

    • Method Detail

      • getModel

        public String getModel()
        Gets value for attribute model
      • setModel

        public void setModel​(String model)
        Sets value for attribute model
      • getName

        public String getName()
        Gets value for attribute name
      • setName

        public void setName​(String name)
        Sets value for attribute name
      • getCode

        public String getCode()
        Gets value for attribute name
      • setCode

        public void setCode​(String name)
        Sets value for attribute name
      • getDescription

        public String getDescription()
        Gets value for attribute description
      • setDescription

        public void setDescription​(String description)
        Sets value for attribute description
      • getHostName

        public String getHostName()
        Gets value for attribute hostName
      • setHostName

        public void setHostName​(String hostName)
        Sets value for attribute hostName
      • getLocal

        public Boolean getLocal()
        Gets value for attribute local
      • setLocal

        public void setLocal​(Boolean local)
        Sets value for attribute local
      • getId

        public Long getId()
        Gets value for attribute id
      • setId

        public void setId​(Long id)
        Sets value for attribute id
      • getUsers

        public List<String> getUsers()
        Gets value for attribute users
      • setUsers

        public void setUsers​(List<String> users)
        Sets value for attribute users
      • getGroups

        public List<String> getGroups()
        Gets value for attribute groups
      • setGroups

        public void setGroups​(List<String> groups)
        Sets value for attribute groups
      • toString

        public String toString()
        Returns a string representation of the value object.
        Overrides:
        toString in class Object
      • toPrinter

        public static Printer toPrinter​(Impressora vo)
        Creates a Printer value object based on a Impressora object.
      • toPrinterArray

        public static Printer[] toPrinterArray​(Impressora[] source)
        Creates a Printer array on a Impressora array.
      • toPrinter

        public static void toPrinter​(Impressora source,
                                     Printer target)
        Updates a Printer value object based on a Impressora object.