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 111 public final class JobKOctets extends IntegerSyntax 112 implements PrintRequestAttribute , PrintJobAttribute { 113 114 private static final long serialVersionUID = -8959710146498202869L; 115 116 124 public JobKOctets(int value) { 125 super (value, 0, Integer.MAX_VALUE); 126 } 127 128 147 public boolean equals(Object object) { 148 return super.equals(object) && object instanceof JobKOctets ; 149 } 150 151 160 public final Class <? extends Attribute > getCategory() { 161 return JobKOctets .class; 162 } 163 164 172 public final String getName() { 173 return "job-k-octets"; 174 } 175 176 } 177 | Popular Tags |