Interface DistributionAddress.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
DistributionAddress.SimpleHolder
- Enclosing class:
- DistributionAddress
A class implementing this interface can hold attributes which contain the DICOM tag "Distribution Address" (see
DistributionAddress)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault DistributionAddressdefault voidRemoves the Distribution Address (seeDistributionAddressstatic DistributionAddress.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 Distribution Address (seeDistributionAddress)- Returns:
- A wrapper object implementing the
DistributionAddress.Holderinterface.
-
builder
- Returns:
- a
DistributionAddress.Holder.Builderto create Distribution Address Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theDistributionAddress.Holder.Builder.- Returns:
- a
DistributionAddress.Holder.Builderto create Distribution Address Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getDistributionAddress
- Returns:
- the Distribution Address (see
DistributionAddress)
-
containsDistributionAddress
default boolean containsDistributionAddress()- Returns:
- Whether it contains the Distribution Address (see
DistributionAddress)
-
removeDistributionAddress
default void removeDistributionAddress()Removes the Distribution Address (seeDistributionAddress
-