Interface ExtendedCodeMeaning.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ExtendedCodeMeaning.SimpleHolder
- Enclosing class:
- ExtendedCodeMeaning
A class implementing this interface can hold attributes which contain the DICOM tag "Extended Code Meaning" (see
ExtendedCodeMeaning)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault ExtendedCodeMeaningdefault voidRemoves the Extended Code Meaning (seeExtendedCodeMeaningstatic ExtendedCodeMeaning.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 Extended Code Meaning (seeExtendedCodeMeaning)- Returns:
- A wrapper object implementing the
ExtendedCodeMeaning.Holderinterface.
-
builder
- Returns:
- a
ExtendedCodeMeaning.Holder.Builderto create Extended Code Meaning Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theExtendedCodeMeaning.Holder.Builder.- Returns:
- a
ExtendedCodeMeaning.Holder.Builderto create Extended Code Meaning Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getExtendedCodeMeaning
- Returns:
- the Extended Code Meaning (see
ExtendedCodeMeaning)
-
containsExtendedCodeMeaning
default boolean containsExtendedCodeMeaning()- Returns:
- Whether it contains the Extended Code Meaning (see
ExtendedCodeMeaning)
-
removeExtendedCodeMeaning
default void removeExtendedCodeMeaning()Removes the Extended Code Meaning (seeExtendedCodeMeaning
-