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.PrintJobAttribute ; 12 13 53 public final class JobKOctetsProcessed extends IntegerSyntax 54 implements PrintJobAttribute { 55 56 private static final long serialVersionUID = -6265238509657881806L; 57 58 67 public JobKOctetsProcessed(int value) { 68 super (value, 0, Integer.MAX_VALUE); 69 } 70 71 90 public boolean equals(Object object) { 91 return(super.equals (object) && 92 object instanceof JobKOctetsProcessed ); 93 } 94 95 105 public final Class <? extends Attribute > getCategory() { 106 return JobKOctetsProcessed .class; 107 } 108 109 118 public final String getName() { 119 return "job-k-octets-processed"; 120 } 121 122 } 123 | Popular Tags |