Interface BlockType.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
BlockSequence.Item,IonBlockSequence.Item
- Enclosing class:
- BlockType
A class implementing this interface can hold attributes which contain the DICOM tag "Block Type" (see
BlockType)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockType.Holder.Builderbuilder()static BlockType.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault BlockTypedefault voidRemoves the Block Type (seeBlockTypestatic BlockType.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 Block Type (seeBlockType)- Returns:
- A wrapper object implementing the
BlockType.Holderinterface.
-
builder
- Returns:
- a
BlockType.Holder.Builderto create Block Type Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theBlockType.Holder.Builder.- Returns:
- a
BlockType.Holder.Builderto create Block Type Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getBlockType
- Returns:
- the Block Type (see
BlockType)
-
containsBlockType
default boolean containsBlockType()- Returns:
- Whether it contains the Block Type (see
BlockType)
-
removeBlockType
default void removeBlockType()Removes the Block Type (seeBlockType
-