Interface TemplateLocalVersion.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
TemplateLocalVersion.SimpleHolder
- Enclosing class:
- TemplateLocalVersion
A class implementing this interface can hold attributes which contain the DICOM tag "Template Local Version" (see
TemplateLocalVersion)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault TemplateLocalVersiondefault voidRemoves the Template Local Version (seeTemplateLocalVersionstatic TemplateLocalVersion.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 Local Version (seeTemplateLocalVersion)- Returns:
- A wrapper object implementing the
TemplateLocalVersion.Holderinterface.
-
builder
- Returns:
- a
TemplateLocalVersion.Holder.Builderto create Template Local Version Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theTemplateLocalVersion.Holder.Builder.- Returns:
- a
TemplateLocalVersion.Holder.Builderto create Template Local Version Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTemplateLocalVersion
- Returns:
- the Template Local Version (see
TemplateLocalVersion)
-
containsTemplateLocalVersion
default boolean containsTemplateLocalVersion()- Returns:
- Whether it contains the Template Local Version (see
TemplateLocalVersion)
-
removeTemplateLocalVersion
default void removeTemplateLocalVersion()Removes the Template Local Version (seeTemplateLocalVersion
-