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