Interface EmptyValueMatchingSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
EmptyValueMatchingSequence.SimpleHolder,ScopeOfInventorySequence.Item
- Enclosing class:
- EmptyValueMatchingSequence
public static interface EmptyValueMatchingSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Empty Value Matching Sequence" (seeEmptyValueMatchingSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classEmptyValueMatchingSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static EmptyValueMatchingSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Empty Value Matching Sequence (seeEmptyValueMatchingSequence)- Returns:
- a wrapper object implementing the
EmptyValueMatchingSequence.Holderinterface.
-
builder
static EmptyValueMatchingSequence.Holder.Builder builder()
- Returns:
- a
EmptyValueMatchingSequence.Holder.Builderto create Empty Value Matching Sequence Items with a fluent API.
-
builder
static EmptyValueMatchingSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theEmptyValueMatchingSequence.Holder.Builder.- Returns:
- a
EmptyValueMatchingSequence.Holder.Builderto create Empty Value Matching Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getEmptyValueMatchingSequence
default EmptyValueMatchingSequence getEmptyValueMatchingSequence()
- Returns:
- the Empty Value Matching Sequence (see
EmptyValueMatchingSequence)
-
newEmptyValueMatchingSequence
default EmptyValueMatchingSequence newEmptyValueMatchingSequence(int initialCapacity)
Adds a new Empty Value Matching Sequence. (seeEmptyValueMatchingSequence)- Parameters:
initialCapacity- the initial capacity for the new Empty Value Matching Sequence- Returns:
- the newly created EmptyValueMatchingSequence.
-
ensureEmptyValueMatchingSequence
default EmptyValueMatchingSequence ensureEmptyValueMatchingSequence(int initialCapacity)
Adds a new Empty Value Matching Sequence (seeEmptyValueMatchingSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Empty Value Matching Sequence is created.- Returns:
- either the already existing Empty Value Matching Sequence (see
EmptyValueMatchingSequence) or a new one with capacityinitialCapacity.
-
ensureEmptyValueMatchingSequence
default EmptyValueMatchingSequence ensureEmptyValueMatchingSequence()
Adds a new Empty Value Matching Sequence (seeEmptyValueMatchingSequence) with initial capacity 1 (seeensureEmptyValueMatchingSequence(int)) if it does not already exist.- Returns:
- either the already existing Empty Value Matching Sequence (see
EmptyValueMatchingSequence) or a new one with capacity 1.
-
containsEmptyValueMatchingSequence
default boolean containsEmptyValueMatchingSequence()
- Returns:
- whether it contains the Empty Value Matching Sequence (see
EmptyValueMatchingSequence)
-
removeEmptyValueMatchingSequence
default void removeEmptyValueMatchingSequence()
Removes the Empty Value Matching Sequence (seeEmptyValueMatchingSequence
-
-