Interface SourceDescription.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
SourceDescription.SimpleHolder,SourceSequence.Item
- Enclosing class:
- SourceDescription
A class implementing this interface can hold attributes which contain the DICOM tag "Source Description" (see
SourceDescription)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault SourceDescriptiondefault voidRemoves the Source Description (seeSourceDescriptionstatic SourceDescription.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 Source Description (seeSourceDescription)- Returns:
- A wrapper object implementing the
SourceDescription.Holderinterface.
-
builder
- Returns:
- a
SourceDescription.Holder.Builderto create Source Description Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theSourceDescription.Holder.Builder.- Returns:
- a
SourceDescription.Holder.Builderto create Source Description Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSourceDescription
- Returns:
- the Source Description (see
SourceDescription)
-
containsSourceDescription
default boolean containsSourceDescription()- Returns:
- Whether it contains the Source Description (see
SourceDescription)
-
removeSourceDescription
default void removeSourceDescription()Removes the Source Description (seeSourceDescription
-