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