Interface MechanicalIndex.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
EnhancedUSImageModule,USImageModule
- All Known Implementing Classes:
EnhancedUSImageModule.SimpleWrapper,EnhancedUSVolumeIOD,USImageIOD,USImageModule.SimpleWrapper,USMultiFrameImageIOD
- Enclosing class:
- MechanicalIndex
public static interface MechanicalIndex.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Mechanical Index" (seeMechanicalIndex)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMechanicalIndex.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static MechanicalIndex.Holder.Builderbuilder()static MechanicalIndex.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsMechanicalIndex()default MechanicalIndexgetMechanicalIndex()default voidremoveMechanicalIndex()Removes the Mechanical Index (seeMechanicalIndexstatic MechanicalIndex.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static MechanicalIndex.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Mechanical Index (seeMechanicalIndex)- Returns:
- a wrapper object implementing the
MechanicalIndex.Holderinterface.
-
builder
static MechanicalIndex.Holder.Builder builder()
- Returns:
- a
MechanicalIndex.Holder.Builderto create Mechanical Index Items with a fluent API.
-
builder
static MechanicalIndex.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theMechanicalIndex.Holder.Builder.- Returns:
- a
MechanicalIndex.Holder.Builderto create Mechanical Index Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getMechanicalIndex
default MechanicalIndex getMechanicalIndex()
- Returns:
- the Mechanical Index (see
MechanicalIndex)
-
containsMechanicalIndex
default boolean containsMechanicalIndex()
- Returns:
- whether it contains the Mechanical Index (see
MechanicalIndex)
-
removeMechanicalIndex
default void removeMechanicalIndex()
Removes the Mechanical Index (seeMechanicalIndex
-
-