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 26 public final class NumberOfInterveningJobs extends IntegerSyntax 27 implements PrintJobAttribute { 28 29 private static final long serialVersionUID = 2568141124844982746L; 30 31 40 public NumberOfInterveningJobs(int value) { 41 super(value, 0, Integer.MAX_VALUE); 42 } 43 44 63 public boolean equals(Object object) { 64 return (super.equals (object) && 65 object instanceof NumberOfInterveningJobs ); 66 } 67 68 78 public final Class <? extends Attribute > getCategory() { 79 return NumberOfInterveningJobs .class; 80 } 81 82 91 public final String getName() { 92 return "number-of-intervening-jobs"; 93 } 94 95 } 96 | Popular Tags |