javax.print.attribute.standard
Class NumberOfInterveningJobs

java.lang.Object
  extended by javax.print.attribute.IntegerSyntax
      extended by javax.print.attribute.standard.NumberOfInterveningJobs
All Implemented Interfaces:
Serializable, Cloneable, Attribute, PrintJobAttribute

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.

See Also:
Serialized Form

Constructor Summary
NumberOfInterveningJobs(int value)
          Creates a NumberOfInterveningJobs object.
 
Method Summary
 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.
 
Methods inherited from class javax.print.attribute.IntegerSyntax
getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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.

Overrides:
equals in class IntegerSyntax
Parameters:
obj - the object to test
Returns:
true if both objects are equal, false otherwise.
See Also:
Object.hashCode()

getCategory

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

Specified by:
getCategory in interface Attribute
Returns:
The class NumberOfInterveningJobs itself.

getName

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

Specified by:
getName in interface Attribute
Returns:
The name "number-of-intervening-jobs".