Interface DataSetSubtype.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
DataSetSubtype.SimpleHolder
- Enclosing class:
- DataSetSubtype
A class implementing this interface can hold attributes which contain the DICOM tag "Data Set Subtype" (see
DataSetSubtype)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault DataSetSubtypedefault voidRemoves the Data Set Subtype (seeDataSetSubtypestatic DataSetSubtype.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 Set Subtype (seeDataSetSubtype)- Returns:
- A wrapper object implementing the
DataSetSubtype.Holderinterface.
-
builder
- Returns:
- a
DataSetSubtype.Holder.Builderto create Data Set Subtype Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theDataSetSubtype.Holder.Builder.- Returns:
- a
DataSetSubtype.Holder.Builderto create Data Set Subtype Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getDataSetSubtype
- Returns:
- the Data Set Subtype (see
DataSetSubtype)
-
containsDataSetSubtype
default boolean containsDataSetSubtype()- Returns:
- Whether it contains the Data Set Subtype (see
DataSetSubtype)
-
removeDataSetSubtype
default void removeDataSetSubtype()Removes the Data Set Subtype (seeDataSetSubtype
-