Interface OtherPatientIDs.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
OtherPatientIDs.SimpleHolder
- Enclosing class:
- OtherPatientIDs
A class implementing this interface can hold attributes which contain the DICOM tag "Other Patient IDs" (see
OtherPatientIDs)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault OtherPatientIDsdefault voidRemoves the Other Patient IDs (seeOtherPatientIDsstatic OtherPatientIDs.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 Other Patient IDs (seeOtherPatientIDs)- Returns:
- A wrapper object implementing the
OtherPatientIDs.Holderinterface.
-
builder
- Returns:
- a
OtherPatientIDs.Holder.Builderto create Other Patient IDs Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theOtherPatientIDs.Holder.Builder.- Returns:
- a
OtherPatientIDs.Holder.Builderto create Other Patient IDs Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getOtherPatientIDs
- Returns:
- the Other Patient IDs (see
OtherPatientIDs)
-
containsOtherPatientIDs
default boolean containsOtherPatientIDs()- Returns:
- Whether it contains the Other Patient IDs (see
OtherPatientIDs)
-
removeOtherPatientIDs
default void removeOtherPatientIDs()Removes the Other Patient IDs (seeOtherPatientIDs
-