public final class PagesPerMinuteColor extends IntegerSyntax implements PrintServiceAttribute
PagesPerMinuteColor
printing attribute specifies
the nominal number of pages per minute which may be printed in
color by the printer.
IPP Compatibility: PagesPerMinuteColor is an IPP 1.1 attribute.
Constructor and Description |
---|
PagesPerMinuteColor(int value)
Creates a
PagesPerMinuteColor 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 PagesPerMinuteColor(int value)
PagesPerMinuteColor
object.value
- the number of pages per minute in colorIllegalArgumentException
- 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
PagesPerMinuteColor
itself.