Interface ASLSlabSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- Enclosing class:
- ASLSlabSequence
public static interface ASLSlabSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "ASL Slab Sequence" (seeASLSlabSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classASLSlabSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ASLSlabSequence.Holder.Builderbuilder()static ASLSlabSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsASLSlabSequence()default ASLSlabSequenceensureASLSlabSequence()Adds a new ASL Slab Sequence (seeASLSlabSequence) with initial capacity 1 (seeensureASLSlabSequence(int)) if it does not already exist.default ASLSlabSequenceensureASLSlabSequence(int initialCapacity)Adds a new ASL Slab Sequence (seeASLSlabSequence) if it does not already exist.default ASLSlabSequencegetASLSlabSequence()default ASLSlabSequencenewASLSlabSequence(int initialCapacity)Adds a new ASL Slab Sequence.default voidremoveASLSlabSequence()Removes the ASL Slab Sequence (seeASLSlabSequencestatic ASLSlabSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static ASLSlabSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the ASL Slab Sequence (seeASLSlabSequence)- Returns:
- a wrapper object implementing the
ASLSlabSequence.Holderinterface.
-
builder
static ASLSlabSequence.Holder.Builder builder()
- Returns:
- a
ASLSlabSequence.Holder.Builderto create ASL Slab Sequence Items with a fluent API.
-
builder
static ASLSlabSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theASLSlabSequence.Holder.Builder.- Returns:
- a
ASLSlabSequence.Holder.Builderto create ASL Slab Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getASLSlabSequence
default ASLSlabSequence getASLSlabSequence()
- Returns:
- the ASL Slab Sequence (see
ASLSlabSequence)
-
newASLSlabSequence
default ASLSlabSequence newASLSlabSequence(int initialCapacity)
Adds a new ASL Slab Sequence. (seeASLSlabSequence)- Parameters:
initialCapacity- the initial capacity for the new ASL Slab Sequence- Returns:
- the newly created ASLSlabSequence.
-
ensureASLSlabSequence
default ASLSlabSequence ensureASLSlabSequence(int initialCapacity)
Adds a new ASL Slab Sequence (seeASLSlabSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new ASL Slab Sequence is created.- Returns:
- either the already existing ASL Slab Sequence (see
ASLSlabSequence) or a new one with capacityinitialCapacity.
-
ensureASLSlabSequence
default ASLSlabSequence ensureASLSlabSequence()
Adds a new ASL Slab Sequence (seeASLSlabSequence) with initial capacity 1 (seeensureASLSlabSequence(int)) if it does not already exist.- Returns:
- either the already existing ASL Slab Sequence (see
ASLSlabSequence) or a new one with capacity 1.
-
containsASLSlabSequence
default boolean containsASLSlabSequence()
- Returns:
- whether it contains the ASL Slab Sequence (see
ASLSlabSequence)
-
removeASLSlabSequence
default void removeASLSlabSequence()
Removes the ASL Slab Sequence (seeASLSlabSequence
-
-