javax.print.attribute.standard

Class JobImpressionsCompleted

public final class JobImpressionsCompleted extends IntegerSyntax implements PrintJobAttribute

The 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.

See Also: JobMediaSheetsCompleted

Constructor Summary
JobImpressionsCompleted(int value)
Creates a JobImpressionsCompleted object.
Method Summary
booleanequals(Object obj)
Tests if the given object is equal to this object.
Class<? extends Attribute>getCategory()
Returns category of this class.
StringgetName()
Returns the name of this attribute.

Constructor Detail

JobImpressionsCompleted

public JobImpressionsCompleted(int value)
Creates a JobImpressionsCompleted object.

Parameters: value the number of completed impressions

Throws: IllegalArgumentException if value < 0

Method Detail

equals

public boolean equals(Object obj)
Tests if the given object is equal to this object.

Parameters: obj the object to test

Returns: true if both objects are equal, false otherwise.

getCategory

public Class<? extends Attribute> getCategory()
Returns category of this class.

Returns: The class JobImpressionsCompleted itself.

getName

public String getName()
Returns the name of this attribute.

Returns: The name "job-impressions-completed".