Interface ExcludedIntervalsSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
ExcludedIntervalsModule
- All Known Implementing Classes:
EnhancedUSVolumeIOD,ExcludedIntervalsSequence.SimpleHolder
- Enclosing class:
- ExcludedIntervalsSequence
public static interface ExcludedIntervalsSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Excluded Intervals Sequence" (seeExcludedIntervalsSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classExcludedIntervalsSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static ExcludedIntervalsSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Excluded Intervals Sequence (seeExcludedIntervalsSequence)- Returns:
- a wrapper object implementing the
ExcludedIntervalsSequence.Holderinterface.
-
builder
static ExcludedIntervalsSequence.Holder.Builder builder()
- Returns:
- a
ExcludedIntervalsSequence.Holder.Builderto create Excluded Intervals Sequence Items with a fluent API.
-
builder
static ExcludedIntervalsSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theExcludedIntervalsSequence.Holder.Builder.- Returns:
- a
ExcludedIntervalsSequence.Holder.Builderto create Excluded Intervals Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getExcludedIntervalsSequence
default ExcludedIntervalsSequence getExcludedIntervalsSequence()
- Returns:
- the Excluded Intervals Sequence (see
ExcludedIntervalsSequence)
-
newExcludedIntervalsSequence
default ExcludedIntervalsSequence newExcludedIntervalsSequence(int initialCapacity)
Adds a new Excluded Intervals Sequence. (seeExcludedIntervalsSequence)- Parameters:
initialCapacity- the initial capacity for the new Excluded Intervals Sequence- Returns:
- the newly created ExcludedIntervalsSequence.
-
ensureExcludedIntervalsSequence
default ExcludedIntervalsSequence ensureExcludedIntervalsSequence(int initialCapacity)
Adds a new Excluded Intervals Sequence (seeExcludedIntervalsSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Excluded Intervals Sequence is created.- Returns:
- either the already existing Excluded Intervals Sequence (see
ExcludedIntervalsSequence) or a new one with capacityinitialCapacity.
-
ensureExcludedIntervalsSequence
default ExcludedIntervalsSequence ensureExcludedIntervalsSequence()
Adds a new Excluded Intervals Sequence (seeExcludedIntervalsSequence) with initial capacity 1 (seeensureExcludedIntervalsSequence(int)) if it does not already exist.- Returns:
- either the already existing Excluded Intervals Sequence (see
ExcludedIntervalsSequence) or a new one with capacity 1.
-
containsExcludedIntervalsSequence
default boolean containsExcludedIntervalsSequence()
- Returns:
- whether it contains the Excluded Intervals Sequence (see
ExcludedIntervalsSequence)
-
removeExcludedIntervalsSequence
default void removeExcludedIntervalsSequence()
Removes the Excluded Intervals Sequence (seeExcludedIntervalsSequence
-
-