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