Interface TemplateIdentifier.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ContentTemplateSequence.Item,TemplateIdentifier.SimpleHolder
- Enclosing class:
- TemplateIdentifier
A class implementing this interface can hold attributes which contain the DICOM tag "Template Identifier" (see
TemplateIdentifier)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault TemplateIdentifierdefault voidRemoves the Template Identifier (seeTemplateIdentifierstatic TemplateIdentifier.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 Identifier (seeTemplateIdentifier)- Returns:
- A wrapper object implementing the
TemplateIdentifier.Holderinterface.
-
builder
- Returns:
- a
TemplateIdentifier.Holder.Builderto create Template Identifier Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theTemplateIdentifier.Holder.Builder.- Returns:
- a
TemplateIdentifier.Holder.Builderto create Template Identifier Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTemplateIdentifier
- Returns:
- the Template Identifier (see
TemplateIdentifier)
-
containsTemplateIdentifier
default boolean containsTemplateIdentifier()- Returns:
- Whether it contains the Template Identifier (see
TemplateIdentifier)
-
removeTemplateIdentifier
default void removeTemplateIdentifier()Removes the Template Identifier (seeTemplateIdentifier
-