1 7 package javax.print.attribute.standard; 8 9 import java.util.Locale ; 10 11 import javax.print.attribute.Attribute ; 12 import javax.print.attribute.TextSyntax ; 13 import javax.print.attribute.PrintJobAttribute ; 14 15 36 public final class JobOriginatingUserName extends TextSyntax 37 implements PrintJobAttribute { 38 39 private static final long serialVersionUID = -8052537926362933477L; 40 41 53 public JobOriginatingUserName(String userName, Locale locale) { 54 super (userName, locale); 55 } 56 57 79 public boolean equals(Object object) { 80 return (super.equals (object) && 81 object instanceof JobOriginatingUserName ); 82 } 83 84 94 public final Class <? extends Attribute > getCategory() { 95 return JobOriginatingUserName .class; 96 } 97 98 107 public final String getName() { 108 return "job-originating-user-name"; 109 } 110 111 } 112 | Popular Tags |