Interface TemplateName.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ApplicationSetupSequence.Item,TreatmentSessionApplicationSetupSequence.Item
- Enclosing class:
- TemplateName
A class implementing this interface can hold attributes which contain the DICOM tag "Template Name" (see
TemplateName)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TemplateName.Holder.Builderbuilder()static TemplateName.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault TemplateNamedefault voidRemoves the Template Name (seeTemplateNamestatic TemplateName.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 Template Name (seeTemplateName)- Returns:
- A wrapper object implementing the
TemplateName.Holderinterface.
-
builder
- Returns:
- a
TemplateName.Holder.Builderto create Template Name Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theTemplateName.Holder.Builder.- Returns:
- a
TemplateName.Holder.Builderto create Template Name Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTemplateName
- Returns:
- the Template Name (see
TemplateName)
-
containsTemplateName
default boolean containsTemplateName()- Returns:
- Whether it contains the Template Name (see
TemplateName)
-
removeTemplateName
default void removeTemplateName()Removes the Template Name (seeTemplateName
-