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