Interface CarrierID.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
CarrierID.SimpleHolder
- Enclosing class:
- CarrierID
A class implementing this interface can hold attributes which contain the DICOM tag "Carrier ID" (see
CarrierID)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CarrierID.Holder.Builderbuilder()static CarrierID.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes) default booleandefault CarrierIDdefault voidRemoves the Carrier ID (seeCarrierIDstatic CarrierID.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 Carrier ID (seeCarrierID)- Returns:
- A wrapper object implementing the
CarrierID.Holderinterface.
-
builder
- Returns:
- a
CarrierID.Holder.Builderto create Carrier ID Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theCarrierID.Holder.Builder.- Returns:
- a
CarrierID.Holder.Builderto create Carrier ID Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getCarrierID
- Returns:
- the Carrier ID (see
CarrierID)
-
containsCarrierID
default boolean containsCarrierID()- Returns:
- Whether it contains the Carrier ID (see
CarrierID)
-
removeCarrierID
default void removeCarrierID()Removes the Carrier ID (seeCarrierID
-