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