Interface MediumType.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
BasicFilmSessionPresentationModule
- All Known Implementing Classes:
FilmConsumptionSequence.Item,FilmSessionIOD,MediaInstalledSequence.Item,MediumType.SimpleHolder,OtherMediaAvailableSequence.Item
- Enclosing class:
- MediumType
A class implementing this interface can hold attributes which contain the DICOM tag "Medium Type" (see
MediumType)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic MediumType.Holder.Builderbuilder()static MediumType.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault MediumTypedefault voidRemoves the Medium Type (seeMediumTypestatic MediumType.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 Medium Type (seeMediumType)- Returns:
- A wrapper object implementing the
MediumType.Holderinterface.
-
builder
- Returns:
- a
MediumType.Holder.Builderto create Medium Type Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theMediumType.Holder.Builder.- Returns:
- a
MediumType.Holder.Builderto create Medium Type Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getMediumType
- Returns:
- the Medium Type (see
MediumType)
-
containsMediumType
default boolean containsMediumType()- Returns:
- Whether it contains the Medium Type (see
MediumType)
-
removeMediumType
default void removeMediumType()Removes the Medium Type (seeMediumType
-