public final class JobOriginatingUserName extends TextSyntax implements PrintJobAttribute
JobOriginatingUserName
attribute specifies the name of
the user which submitted the print job.
IPP Compatibility: JobOriginatingUserName is an IPP 1.1 attribute.
Constructor and Description |
---|
JobOriginatingUserName(String userName,
Locale locale)
Creates a
JobOriginatingUserName object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Tests if the given object is equal to this object.
|
Class<? extends Attribute> |
getCategory()
Returns category of this class.
|
String |
getName()
Returns the name of this attribute.
|
getLocale, getValue, hashCode, toString
public JobOriginatingUserName(String userName, Locale locale)
JobOriginatingUserName
object.userName
- the user namelocale
- the locale to use, if null
the default
locale is used.NullPointerException
- if userName is null
.public boolean equals(Object obj)
equals
in class TextSyntax
obj
- the object to testtrue
if both objects are equal,
false
otherwise.Object.hashCode()
public Class<? extends Attribute> getCategory()
getCategory
in interface Attribute
JobOriginatingUserName
itself.