Interface DataType.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
DataFrameAssignmentSequence.Item,DataType.SimpleHolder,ImageDataTypeSequence.Item
- Enclosing class:
- DataType
A class implementing this interface can hold attributes which contain the DICOM tag "Data Type" (see
DataType)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DataType.Holder.Builderbuilder()static DataType.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault DataTypedefault voidRemoves the Data Type (seeDataTypestatic DataType.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 Data Type (seeDataType)- Returns:
- A wrapper object implementing the
DataType.Holderinterface.
-
builder
- Returns:
- a
DataType.Holder.Builderto create Data Type Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theDataType.Holder.Builder.- Returns:
- a
DataType.Holder.Builderto create Data Type Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getDataType
- Returns:
- the Data Type (see
DataType)
-
containsDataType
default boolean containsDataType()- Returns:
- Whether it contains the Data Type (see
DataType)
-
removeDataType
default void removeDataType()Removes the Data Type (seeDataType
-