Class UserPrinterEntity

    • Constructor Detail

      • UserPrinterEntity

        public UserPrinterEntity()
    • Method Detail

      • getOrder

        public Long getOrder()
        Gets value for attribute order
      • setOrder

        public void setOrder​(Long order)
        Sets value for attribute order
      • getPrinter

        public PrinterEntity getPrinter()
        Gets value for attribute printer
      • setPrinter

        public void setPrinter​(PrinterEntity printer)
        Sets value for attribute printer
      • getUser

        public UserEntity getUser()
        Gets value for attribute user
      • setUser

        public void setUser​(UserEntity user)
        Sets value for attribute user
      • getId

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

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

        public abstract boolean isAllowed​(String permission)
        Operation isAllowed Returns true if the permission on this object is granted
        Parameters:
        permission -
        Returns:
      • equals

        public boolean equals​(Object object)
        Returns true if the argument is an UserPrinterEntity instance and all identifiers for this entity equal the identifiers of the argument entity. Returns false otherwise.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Returns a hash code based on this entity's identifiers.
        Overrides:
        hashCode in class Object