public final class JobImpressionsCompleted extends IntegerSyntax implements PrintJobAttribute
JobImpressionsCompleted
printing attribute reports
the number of impressions already processed.
An impression is specified by the IPP specification as the image imposed onto a single media sheet. This attribute will not include a multiplication factor from the number of copies.
This attribute belongs to a group of job progress attributes which are reporting on the progress of a print job.
IPP Compatibility: JobImpressionsCompleted is an IPP 1.1 attribute.
Constructor and Description |
---|
JobImpressionsCompleted(int value)
Creates a
JobImpressionsCompleted 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.
|
getValue, hashCode, toString
public JobImpressionsCompleted(int value)
JobImpressionsCompleted
object.value
- the number of completed impressionsIllegalArgumentException
- if value < 0public boolean equals(Object obj)
equals
in class IntegerSyntax
obj
- the object to testtrue
if both objects are equal,
false
otherwise.Object.hashCode()
public Class<? extends Attribute> getCategory()
getCategory
in interface Attribute
JobImpressionsCompleted
itself.