Interface PrinterStatus.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
PrinterModule
- All Known Implementing Classes:
PrinterConfigurationIOD,PrinterIOD,PrinterStatus.SimpleHolder
- Enclosing class:
- PrinterStatus
A class implementing this interface can hold attributes which contain the DICOM tag "Printer Status" (see
PrinterStatus)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic PrinterStatus.Holder.Builderbuilder()static PrinterStatus.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault PrinterStatusdefault voidRemoves the Printer Status (seePrinterStatusstatic PrinterStatus.Holderwrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Printer Status (seePrinterStatus)- Returns:
- A wrapper object implementing the
PrinterStatus.Holderinterface.
-
builder
- Returns:
- a
PrinterStatus.Holder.Builderto create Printer Status Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by thePrinterStatus.Holder.Builder.- Returns:
- a
PrinterStatus.Holder.Builderto create Printer Status Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPrinterStatus
- Returns:
- the Printer Status (see
PrinterStatus)
-
containsPrinterStatus
default boolean containsPrinterStatus()- Returns:
- Whether it contains the Printer Status (see
PrinterStatus)
-
removePrinterStatus
default void removePrinterStatus()Removes the Printer Status (seePrinterStatus
-