All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.qsy7.print.model.Printer Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
// Generated by delombok at Mon Dec 16 17:07:56 EST 2019
package io.github.qsy7.print.model;

import io.github.qsy7.datastore.api.model.entity.AbstractNamedEntity;
import io.github.qsy7.print.enumeration.PrinterType;
import javax.persistence.*;
// @PersistenceCapable
@Entity
public class Printer extends AbstractNamedEntity {
  @ManyToOne
  @JoinColumn
  protected Location location;
  @Column(unique = true)
  protected String uri;
  @Enumerated(EnumType.STRING)
  @Column
  protected PrinterType printerType;

  public Printer(String name, String description, Location location, String uri, PrinterType printerType) {
    super(name, description);
    this.location = location;
    this.uri = uri;
    this.printerType = printerType;
  }

  @java.lang.SuppressWarnings("all")
  public Location getLocation() {
    return this.location;
  }

  @java.lang.SuppressWarnings("all")
  public String getUri() {
    return this.uri;
  }

  @java.lang.SuppressWarnings("all")
  public PrinterType getPrinterType() {
    return this.printerType;
  }

  @java.lang.SuppressWarnings("all")
  public void setLocation(final Location location) {
    this.location = location;
  }

  @java.lang.SuppressWarnings("all")
  public void setUri(final String uri) {
    this.uri = uri;
  }

  @java.lang.SuppressWarnings("all")
  public void setPrinterType(final PrinterType printerType) {
    this.printerType = printerType;
  }

  @java.lang.SuppressWarnings("all")
  public Printer() {
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy