Interface PresentationLUTContentSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- Enclosing class:
- PresentationLUTContentSequence
public static interface PresentationLUTContentSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Presentation LUT Content Sequence" (seePresentationLUTContentSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPresentationLUTContentSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static PresentationLUTContentSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Presentation LUT Content Sequence (seePresentationLUTContentSequence)- Returns:
- a wrapper object implementing the
PresentationLUTContentSequence.Holderinterface.
-
builder
static PresentationLUTContentSequence.Holder.Builder builder()
- Returns:
- a
PresentationLUTContentSequence.Holder.Builderto create Presentation LUT Content Sequence Items with a fluent API.
-
builder
static PresentationLUTContentSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by thePresentationLUTContentSequence.Holder.Builder.- Returns:
- a
PresentationLUTContentSequence.Holder.Builderto create Presentation LUT Content Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getPresentationLUTContentSequence
default PresentationLUTContentSequence getPresentationLUTContentSequence()
- Returns:
- the Presentation LUT Content Sequence (see
PresentationLUTContentSequence)
-
newPresentationLUTContentSequence
default PresentationLUTContentSequence newPresentationLUTContentSequence(int initialCapacity)
Adds a new Presentation LUT Content Sequence. (seePresentationLUTContentSequence)- Parameters:
initialCapacity- the initial capacity for the new Presentation LUT Content Sequence- Returns:
- the newly created PresentationLUTContentSequence.
-
ensurePresentationLUTContentSequence
default PresentationLUTContentSequence ensurePresentationLUTContentSequence(int initialCapacity)
Adds a new Presentation LUT Content Sequence (seePresentationLUTContentSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Presentation LUT Content Sequence is created.- Returns:
- either the already existing Presentation LUT Content Sequence (see
PresentationLUTContentSequence) or a new one with capacityinitialCapacity.
-
ensurePresentationLUTContentSequence
default PresentationLUTContentSequence ensurePresentationLUTContentSequence()
Adds a new Presentation LUT Content Sequence (seePresentationLUTContentSequence) with initial capacity 1 (seeensurePresentationLUTContentSequence(int)) if it does not already exist.- Returns:
- either the already existing Presentation LUT Content Sequence (see
PresentationLUTContentSequence) or a new one with capacity 1.
-
containsPresentationLUTContentSequence
default boolean containsPresentationLUTContentSequence()
- Returns:
- whether it contains the Presentation LUT Content Sequence (see
PresentationLUTContentSequence)
-
removePresentationLUTContentSequence
default void removePresentationLUTContentSequence()
Removes the Presentation LUT Content Sequence (seePresentationLUTContentSequence
-
-