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.PrintRequestAttribute ; 12 import javax.print.attribute.PrintJobAttribute ; 13 14 59 public final class JobImpressions extends IntegerSyntax 60 implements PrintRequestAttribute , PrintJobAttribute { 61 62 private static final long serialVersionUID = 8225537206784322464L; 63 64 65 73 public JobImpressions(int value) { 74 super(value, 0, Integer.MAX_VALUE); 75 } 76 77 96 public boolean equals(Object object) { 97 return super.equals (object) && object instanceof JobImpressions ; 98 } 99 100 109 public final Class <? extends Attribute > getCategory() { 110 return JobImpressions .class; 111 } 112 113 122 public final String getName() { 123 return "job-impressions"; 124 } 125 126 } 127 | Popular Tags |