1 7 package javax.print.attribute.standard; 8 9 import javax.print.attribute.Attribute ; 10 import javax.print.attribute.IntegerSyntax ; 11 import javax.print.attribute.PrintServiceAttribute ; 12 13 25 public final class QueuedJobCount extends IntegerSyntax 26 implements PrintServiceAttribute { 27 28 private static final long serialVersionUID = 7499723077864047742L; 29 30 39 public QueuedJobCount(int value) { 40 super (value, 0, Integer.MAX_VALUE); 41 } 42 43 62 public boolean equals(Object object) { 63 return (super.equals (object) && 64 object instanceof QueuedJobCount ); 65 } 66 67 76 public final Class <? extends Attribute > getCategory() { 77 return QueuedJobCount .class; 78 } 79 80 89 public final String getName() { 90 return "queued-job-count"; 91 } 92 93 } 94 | Popular Tags |