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