Interface TypeOfInstances.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
InputInformationSequence.Item,OutputInformationSequence.Item,ReferencedPatientPhotoSequence.Item,ReferencedTextureSequence.Item,TypeOfInstances.SimpleHolder
- Enclosing class:
- TypeOfInstances
A class implementing this interface can hold attributes which contain the DICOM tag "Type of Instances" (see
TypeOfInstances)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault TypeOfInstancesdefault voidRemoves the Type of Instances (seeTypeOfInstancesstatic TypeOfInstances.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 Type of Instances (seeTypeOfInstances)- Returns:
- A wrapper object implementing the
TypeOfInstances.Holderinterface.
-
builder
- Returns:
- a
TypeOfInstances.Holder.Builderto create Type of Instances Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theTypeOfInstances.Holder.Builder.- Returns:
- a
TypeOfInstances.Holder.Builderto create Type of Instances Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getTypeOfInstances
- Returns:
- the Type of Instances (see
TypeOfInstances)
-
containsTypeOfInstances
default boolean containsTypeOfInstances()- Returns:
- Whether it contains the Type of Instances (see
TypeOfInstances)
-
removeTypeOfInstances
default void removeTypeOfInstances()Removes the Type of Instances (seeTypeOfInstances
-