Interface SpecimenShortDescription.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
SpecimenDescriptionSequence.Item,SpecimenShortDescription.SimpleHolder
- Enclosing class:
- SpecimenShortDescription
A class implementing this interface can hold attributes which contain the DICOM tag "Specimen Short Description" (see
SpecimenShortDescription)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault SpecimenShortDescriptiondefault voidRemoves the Specimen Short Description (seeSpecimenShortDescriptionwrap(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 Specimen Short Description (seeSpecimenShortDescription)- Returns:
- A wrapper object implementing the
SpecimenShortDescription.Holderinterface.
-
builder
- Returns:
- a
SpecimenShortDescription.Holder.Builderto create Specimen Short Description Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theSpecimenShortDescription.Holder.Builder.- Returns:
- a
SpecimenShortDescription.Holder.Builderto create Specimen Short Description Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getSpecimenShortDescription
- Returns:
- the Specimen Short Description (see
SpecimenShortDescription)
-
containsSpecimenShortDescription
default boolean containsSpecimenShortDescription()- Returns:
- Whether it contains the Specimen Short Description (see
SpecimenShortDescription)
-
removeSpecimenShortDescription
default void removeSpecimenShortDescription()Removes the Specimen Short Description (seeSpecimenShortDescription
-