Interface Polarity.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
ImageBoxPixelPresentationModule
- All Known Implementing Classes:
BasicImageBoxIOD,Polarity.SimpleHolder
- Enclosing class:
- Polarity
A class implementing this interface can hold attributes which contain the DICOM tag "Polarity" (see
Polarity)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Polarity.Holder.Builderbuilder()static Polarity.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault Polaritydefault voidRemoves the Polarity (seePolaritystatic Polarity.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 Polarity (seePolarity)- Returns:
- A wrapper object implementing the
Polarity.Holderinterface.
-
builder
- Returns:
- a
Polarity.Holder.Builderto create Polarity Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by thePolarity.Holder.Builder.- Returns:
- a
Polarity.Holder.Builderto create Polarity Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPolarity
- Returns:
- the Polarity (see
Polarity)
-
containsPolarity
default boolean containsPolarity()- Returns:
- Whether it contains the Polarity (see
Polarity)
-
removePolarity
default void removePolarity()Removes the Polarity (seePolarity
-