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.SupportedValuesAttribute ; 12 13 33 public final class JobPrioritySupported extends IntegerSyntax 34 implements SupportedValuesAttribute { 35 36 private static final long serialVersionUID = 2564840378013555894L; 37 38 39 49 public JobPrioritySupported(int value) { 50 super (value, 1, 100); 51 } 52 53 72 public boolean equals (Object object) { 73 74 return (super.equals(object) && 75 object instanceof JobPrioritySupported ); 76 } 77 78 79 89 public final Class <? extends Attribute > getCategory() { 90 return JobPrioritySupported .class; 91 } 92 93 102 public final String getName() { 103 return "job-priority-supported"; 104 } 105 106 } 107 | Popular Tags |