javax.print.attribute.standard

Class NumberOfInterveningJobs

public final class NumberOfInterveningJobs extends IntegerSyntax implements PrintJobAttribute

The NumberOfInterveningJobs printing attribute provides the number of jobs ahead in the print service queue before the requested job.

IPP Compatibility: NumberOfInterveningJobs is an IPP 1.1 attribute.

Constructor Summary
NumberOfInterveningJobs(int value)
Creates a NumberOfInterveningJobs 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

NumberOfInterveningJobs

public NumberOfInterveningJobs(int value)
Creates a NumberOfInterveningJobs object.

Parameters: value the number of intervening jobs

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 NumberOfInterveningJobs itself.

getName

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

Returns: The name "number-of-intervening-jobs".