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 41 public final class JobMediaSheetsCompleted extends IntegerSyntax 42 implements PrintJobAttribute { 43 44 45 private static final long serialVersionUID = 1739595973810840475L; 46 47 56 public JobMediaSheetsCompleted(int value) { 57 super (value, 0, Integer.MAX_VALUE); 58 } 59 60 79 public boolean equals(Object object) { 80 return (super.equals (object) && 81 object instanceof JobMediaSheetsCompleted ); 82 } 83 84 94 public final Class <? extends Attribute > getCategory() { 95 return JobMediaSheetsCompleted .class; 96 } 97 98 107 public final String getName() { 108 return "job-media-sheets-completed"; 109 } 110 } 111 | Popular Tags |